os:linux:powerdns-admin_update
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
os:linux:powerdns-admin_update [2021-01-08 15:46] – Manuel Frei | os:linux:powerdns-admin_update [2024-02-05 20:49] (current) – Manuel Frei | ||
---|---|---|---|
Line 33: | Line 33: | ||
Get the latest update. | Get the latest update. | ||
< | < | ||
- | git pull --rebase | + | sudo -u www-data |
</ | </ | ||
Line 44: | Line 44: | ||
< | < | ||
pip install -Ur requirements.txt | pip install -Ur requirements.txt | ||
+ | </ | ||
+ | |||
+ | Rebuild JavaScript components. | ||
+ | < | ||
+ | yarn install --pure-lockfile | ||
</ | </ | ||
Line 52: | Line 57: | ||
flask assets build | flask assets build | ||
flask db upgrade | flask db upgrade | ||
- | </ | ||
- | |||
- | Rebuild JavaScript components. | ||
- | < | ||
- | yarn install --pure-lockfile | ||
</ | </ | ||
Correct permissions. | Correct permissions. | ||
< | < | ||
- | chown -R httpd:httpd / | + | chown -R www-data:www-data |
</ | </ | ||
Line 68: | Line 68: | ||
systemctl start uwsgi@powerdns-admin.service | systemctl start uwsgi@powerdns-admin.service | ||
</ | </ | ||
+ | |||
+ | <WRAP left round important 60%> | ||
+ | In case the website isn't working, try to clear the cache/ | ||
+ | </ | ||
+ |
os/linux/powerdns-admin_update.1610117219.txt.gz · Last modified: 2021-01-08 15:46 by Manuel Frei