Hello, in a venv install , after the database migration is complete i run the followign collectstatic compress compilemessages
for a package install, i run the following
ython3 manage.py collectstatic
You have requested to collect static files at the destination
location as specified in your settings:
/var/lib/mailman3/web/static
This will overwrite existing files!
Are you sure you want to do this?
Type 'yes' to continue, or 'no' to cancel: no
CommandError: Collecting static files cancelled.
on venv i did not get this msg -
venv output 406 static files copied to /opt/mailman/web/static
is it safe to overwrite these files? also before i run this do i need the mailman services down? thaniks
On 9/26/22 11:47, tflatley@gmail.com wrote:
is it safe to overwrite these files? also before i run this do i need the mailman services down?
Yes, it is safe. All the Django admin commands only affect the web UI. It is good to stop whatever service (uWSGI, gunicorn, Apache mod_wsgi, ???) supports the web UI while doing these updates or at least restart after.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
tflatley@gmail.com