La ricerca ha restituito 2 risultati

di iutlps-informatique
25 ottobre 2018 - 14:19
Forum: Server WAPT
Oggetto: [RISOLTO] Transizione da 1.3.13 a 1.6
Risposte: 6
Visualizzazioni: 5488

Re: [RISOLTO] Aggiornamento da 1.3.13 a 1.6

L'ho trovato, ho dovuto eliminare questa riga nel file /opt/wapt/waptserver/upgrade.py!

Codice: Seleziona tutto

 data = subprocess.check_output('mongoexport -d wapt -c hosts --jsonArray --dbpath=%s' % mongo_datadir,shell=True)
        else:
di iutlps-informatique
25 ottobre 2018 - 12:37
Forum: Server WAPT
Oggetto: [RISOLTO] Transizione da 1.3.13 a 1.6
Risposte: 6
Visualizzazioni: 5488

Re: [RISOLTO] Aggiornamento da 1.3.13 a 1.6

Ciao,

anch'io ho riscontrato un problema durante la migrazione del database utilizzando lo script postconf.sh.

Ho quindi provato il comando che hai indicato, ovvero:
`sudo -u wapt PYTHONPATH=/opt/wapt PYTHONHOME=/opt/wapt /opt/wapt/bin/python /opt/wapt/waptserver/upgrade.py upgrade2postgres -c ...`