Not sure whether this is off topic, bit I think I have had a bit of a failed update (initialised from the Django interface) due to network issues. So now i get a 504 gateway timeout error when trying to access via my browser. At least I think it's that.
So I can ssh into the pi still and can see fermentrack python, circus processes running in top.
I looked at the fermentrack-stderr.log file and have got an error of (tail):
Debugged import:
- 'fermentrack_django' found in '/home/fermentrack/fermentrack/fermentrack_django/__init__.py'.
- 'fermentrack_django.wsgi' not found.
I also checked the upgrade.log (tail)
ile "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/fermentrack/fermentrack/fermentrack_django/settings.py", line 11, in <module>
import environ
ModuleNotFoundError: No module named 'environ'
ok
ok
So I think something has gone wrong somewhere but can't poke my finger at exactly what. Ideally I don't want to do a clean reinstall. So wondering whether there was a command line fix/upgrade option?
More details can be provided.
Cheers,
Martin
Yep, there is.
Log into your pi, and run the following:
sudo su fermentrack
cd ~/fermentrack
source ~/venv/bin/activate
utils/upgrade3.sh -f -b "dev"
That forces a re-upgrade on the dev branch.