#5885 (How to restore virtualenvs after a system upgrade)
by Luc Saffre · in Hosting (system administration) · assigned to Luc Saffre
Kurzbeschreibung
Kinder
Kommentare
- 1 Jahr, 8 Monate ago von Luc Saffre about #5885 (How to restore virtualenvs after a system upgrade) : I made a few optimizations to the pull.sh script but I didn't let it run again now because it takes quite long to run and because the daily cron job will soon start it automatically.
- 1 Jahr, 8 Monate ago von Luc Saffre about #5885 (How to restore virtualenvs after a system upgrade) : The pull.sh failed two more times: once because num2words wasn't installed, then because channels wasn't installed. It's a bit silly that these problems become visible only so late. Maybe pull.sh should run "pm install"?
- 1 Jahr, 8 Monate ago von Luc Saffre about #5885 (How to restore virtualenvs after a system upgrade) : The pull.sh failed because "pip install mysqlclient" failed, because this requires "apt install pkg-config". Started pull.sh again.
- 1 Jahr, 8 Monate ago von Luc Saffre about #5885 (How to restore virtualenvs after a system upgrade) : Oops I discovered only now that we have gone through all this before and that we have documented everything: [url hosting.lino-framework.org/topics/distupgrade/]. I started the pull.sh in the master venv on LF.
- 1 Jahr, 8 Monate ago von Luc Saffre about #5885 (How to restore virtualenvs after a system upgrade) : Another idea is to have on each server a list of all virtualenvs installed on this server. Maybe something for getlino.
- 1 Jahr, 8 Monate ago von Luc Saffre about #5885 (How to restore virtualenvs after a system upgrade) (1 Antwort) : Basically we have to re-create all virtualenvs after a system upgrade because the Python version has changed. The easiest way is probable to use the freeze.log file in the virtualenv's home directory. This file is created and update by pull.sh. Unfortunately it needs manual editing because pull.sh j...
- 1 Jahr, 8 Monate ago von Luc Saffre about #5885 (How to restore virtualenvs after a system upgrade) : Created new Ticket #5885 (How to restore virtualenvs after a system upgrade).