The search returned 2 results

by iutlps-informatique
October 25, 2018 - 2:19 PM
Forum: WAPT Server
Subject: [SOLVED] Transition from 1.3.13 to 1.6
Answers: 6
Views : 5543

Re: [SOLVED] Upgrading from 1.3.13 to 1.6

I found it, I had to delete this line in the /opt/wapt/waptserver/upgrade.py file!

Code: Select all

 data = subprocess.check_output('mongoexport -d wapt -c hosts --jsonArray --dbpath=%s' % mongo_datadir,shell=True)
        else:
by iutlps-informatique
October 25, 2018 - 12:37
Forum: WAPT Server
Subject: [SOLVED] Transition from 1.3.13 to 1.6
Answers: 6
Views : 5543

Re: [SOLVED] Upgrading from 1.3.13 to 1.6

Hello,

I also encountered a problem during the database migration using the postconf.sh script.

I therefore tried the command you indicated, namely:
`sudo -u wapt PYTHONPATH=/opt/wapt PYTHONHOME=/opt/wapt /opt/wapt/bin/python /opt/wapt/waptserver/upgrade.py upgrade2postgres -c ...`