Page 1 of 1

[SOLVED] Tried 0.6.0 rc2

Posted: 25 Apr 2018, 10:46
by speedychris
i have upgraded my current 0.5.4 to 0.6.0 rc2 with command with

Code: Select all

pip install pyplanet==0.6.0-rc2
- this overwrites my config files, to Prevent this in future i need

Code: Select all

pip install pyplanet==0.6.0-rc2 --upgrade
right?
- after starting i have 2 python processes
  • 327 ? Ss 0:00 python3 /var/www/vhosts/speed-fun-driver.de/.pyenv/versions/3.6.1/envs/srv_x_train/lib/python3.6/site-packages/pyplanet/conf/project_template/manage.py start --detach --pid-file=pyplanet_srv_x_train.pid
    329 ? Sl 0:02 \_ python3 /var/www/vhosts/speed-fun-driver.de/.pyenv/versions/3.6.1/envs/srv_x_train/lib/python3.6/site-packages/pyplanet/conf/project_template/manage.py start --detach --pid-file=pyplanet_srv_x_train.pid
In the pid-file there is 327, if i use kill -SIGTERM 327 nothing happens. With kill -SIGTERMN 329 both processes stops.

- i tried the new music Server app but the song list is empty, my list in base.py is like that:

Code: Select all

SONGS = {
	'default': [
    'http://mydomain/Song 1.ogg'
    'http://mydomain/Song 2.ogg']
whats wrong?

Re: Tried 0.6.0 rc2

Posted: 25 Apr 2018, 20:25
by toffe
Hey Speedychris,

Did the installation overwrite your configuration files? What files exactly? This is normally not possible without issueing the init_project command.
The --upgrade will upgrade the current installation, if you don't provide it it won't install the new version, but just ignore your command.

The pid file starting method will be investigated, issue: https://github.com/PyPlanet/PyPlanet/issues/651
The songlist issue is known, we got an exception which matches exactly your issue, it's here: https://github.com/PyPlanet/PyPlanet/issues/649

Thanks, we will work on the next update and try to fix the bugs ;-)

Re: Tried 0.6.0 rc2

Posted: 26 Apr 2018, 11:27
by speedychris
yes the base.py and apps.py has been replaced by the 0.6.0 default ones (i changed only this files after install of 0.5.4).

Re: Tried 0.6.0 rc2

Posted: 26 Apr 2018, 11:32
by toffe
That's very weird, did you do any other command like the init_project command? It should never touch your local installation.
How is your setup looking? Did you use init_project in the start of your setup?

Re: Tried 0.6.0 rc2

Posted: 26 Apr 2018, 14:44
by speedychris
My steps in detail:
1:
current running 0.5.4, stopped with kill
2:

Code: Select all

pyenv activate myserver
3:

Code: Select all

pip install pyplanet==0.6.0-rc2
-> Result are overwritten files. But i think if i have used additionally --upgrade this has not been happened.

Re: Tried 0.6.0 rc2

Posted: 28 Apr 2018, 14:44
by toffe
Indeed, you should use the --upgrade argument.
The bugs (the PID/closing and the music server) have been fixed, and will be included in the next rc or release vesion.

Thanks for reporting.

Re: [SOLVED] Tried 0.6.0 rc2

Posted: 07 May 2018, 09:40
by speedychris
Yesterday i have done the final 0.6.0 upgrade with command "pip install -r requirements.txt --upgrade" and my config-files (base.py and apps.py ) have been overwritten again, very strange.

For musicserver i have to insert a "," between each song, after this it works.