Hi,
$ docker-compose rm -f mailman-web $ docker-compose up -d mailman-web
This will basically create a new container for Mailman-web, but, since the state of mailman-web is stored completely in database (database container), I am not sure how to reset *just* mailman-web without dropping mailman-core related tables too (they share the same database but have their own separate tables). The above command will get you a fresh copy of code running.
You can potentially get the list of tables and drop them, or maybe Diango has some way to reset it's state from Django shell (python manage.py shell, from inside mailman-web will get you shell). I may have to look it up.
Also, just by looking at the traceback, I am not sure about the exact error. I may have to debug more to arrive at a better conclusion, which I won't able to do until after this weekend.
Thanks, Abhilash
On October 18, 2017 1:27:21 PM PDT, Dmitry Makovey <dmakovey@stanford.edu> wrote:
On 10/18/2017 12:28 PM, Mark Sapiro wrote:
On 10/18/2017 09:00 AM, Dmitry Makovey wrote:
It seems like mailman-core is still operating properly, but for some reason mailman-web is not. Can I reset mailman-web somehow to
re-initiate?
I'm not very well versed in the docker images, but I think mailman-web uses uWsgi and sending the uwsgi process a SIGHUP should do it.
I think I didn't express myself clearly - I want to reset any saved state for mailman-web - not just in-memory stuff. I've restarted my setup several times with mailman-web having exact same problem every time.
-- Sr System and DevOps Engineer SoM IRT
-- Sent from my Android device with K-9 Mail. Please excuse my brevity.