dansan / spring-replay-site

Website to upload, comment and download replays from/for the SpringRTS engine
http://replays.springrts.com/
GNU General Public License v3.0
11 stars 1 forks source link

syntax error from daily cron job #128

Closed abma closed 4 years ago

abma commented 4 years ago

/etc/cron.daily/backup-dump-mysql: File "/var/www/servers/replays.springrts.com/spring-replay-site/manage.py", line 16 ) from exc

dansan commented 4 years ago

Fixed the cronjob. The Python 2 executable /var/www/servers/replays-test.springrts.com/virtenv/bin/python was still used. But the replay sites now runs on Python 3.8 and the new virtual env is /home/replays/venv/.

dansan commented 4 years ago

There were still errors. I didn't see the users crontab before. Fixed it now with sudo -u replays crontab -e