#5526 (Public demo sites on LF are not updating automatically)
by Luc Saffre · in Hosting (system administration) · assigned to Luc Saffre
Kurzbeschreibung
Kinder
- #5598 (Source timestamps in About window are wrong) (by Luc Saffre in Developers)
Kommentare
- 1 Jahr, 8 Monate ago von Luc Saffre about #5526 (Public demo sites on LF are not updating automatically) : The pull_demos.sh on LF was still failing with "AttributeError: 'Plugin' object has no attribute 'style'" although this has been fixed yesterday. Why? Aha: the shared virtualenv was using the pypi version of react. I said "pip uninstall lino_react; go react; pip install -e ."
- 2 Jahre, 5 Monate ago von Luc Saffre about #5526 (Public demo sites on LF are not updating automatically) (1 Antwort) : /usr/local/bin/pull_demos.sh is running beautifully every morning, as the /var/log/lino/pull_demos.log file witnesses. But the source timestamps in the [url cosi1e.lino-framework.org/#/api/about/About?rs=195059477 About window] are suspiciously old:
Server timestamp : 16/11/2023 at 15:33 lino_react ... - 2 Jahre, 6 Monate ago von Luc Saffre about #5526 (Public demo sites on LF are not updating automatically) : NB this problem became visible only now because #5323 (Add a cron job on LF to run pull.sh every morning at 4am) had been marked as closed too early, it was actually *not* done.
- 2 Jahre, 7 Monate ago von Luc Saffre about #5526 (Public demo sites on LF are not updating automatically) : It now ends (as expected with /usr/local/lino/shared/env/master/bin/pull.sh: line 94: foobar: command not found /usr/local/lino/shared/env/master/bin/pull.sh: line 94: foobar: command not found), BUT Hannes and I don't receive a daily notification about the failure. To do.
- 2 Jahre, 7 Monate ago von Luc Saffre about #5526 (Public demo sites on LF are not updating automatically) : The linoupdate script ends with Exception: sphinx-build -b html -T . /usr/local/lino/lino_local/cosi1e/media/cache/help ended with return code 2 I deactivated makehelp in the pull.sh as a quick workaround.
- 2 Jahre, 7 Monate ago von Luc Saffre about #5526 (Public demo sites on LF are not updating automatically) : I noticed that there were two make_snapshot scripts in cron.daily. I removed them. The pull.sh still pulled the commondata subrepos (be, ee and eg), which are now obsolete.
- 2 Jahre, 7 Monate ago von Luc Saffre about #5526 (Public demo sites on LF are not updating automatically) : For example [url cosi1e.lino-framework.org/#/api/about/About?rs=295408833 Site --> About in cosi1e] reports the following source timestamps:
Server timestamp : 16/11/2023 at 15:33 lino_react : 21/05/2021 at 22:11 django : 26/12/2022 at 08:57 lino : 15/02/2024 at 05:01 lino_xl : 15/02/... - 2 Jahre, 7 Monate ago von Luc Saffre about #5526 (Public demo sites on LF are not updating automatically) : Created new Ticket #5526 (Public demo sites are not updating automatically).