sysPass Version
3.0 (300.18122601)
Describe the question
Platform (please complete the following information):
has the same "issue" like yours, cant find out how to minor upgrade :(
Hello
How do I do a minor upgrade from 3.0.0 to 3.0.4?
You need to update the source code by replacing the old one, and then it will generate an upgrade key. After that, point your browser to sysPass URL and the upgrade process will ask for the upgrade key.
Regards
Hello
How do I do a minor upgrade from 3.0.0 to 3.0.4?
You need to update the source code by replacing the old one, and then it will generate an upgrade key. After that, point your browser to sysPass URL and the upgrade process will ask for the upgrade key.
Regards
Hi, sry for answering instead of the topic owner; if I had replaced the source code; it won't generate update code, just insert the
Hi @hoboristi
if you're running a version greater than 300.18111901 it won't require any DB upgrade, just replacing the code will do the trick.
Hi @hoboristi
if you're running a version greater than 300.18111901 it won't require any DB upgrade, just replacing the code will do the trick.
Thanks for the answer, @nuxsmin :) :+1:
Hi @nuxsmin,
I'm not really sure if I got you right. Just by replacing the source code I will obviously not get an upgrade key.
So this is how I do understand the procedure. Please correct me if I'm wrong or confirm it:
chown apache -R /var/www/html/syspasschmod 750 /var/www/html/syspass/app/config /var/www/html/syspass/app/backupphp composer.phar install --no-devThanks for your help.
@cRaZy-bisCuiT Hi, the 4 step isn't needed. sysPass will generate the upgrade key automatically, since it will detect is any upgrade is needed. Be aware that only database upgrades need the key.
Thanks, I guess now I got you right! :)
@nuxsmin Actually I did the upgrade process as described. Unfortunately I could not access SysPass after the update. The directory...
/syspass/vendor
...was missing.
So my question is: Which directories do I need to restore from my backup after extracting the new source code and change the groups and permissions?
Or am I still missing a step for a minor version upgrade from version 300.18111901 to the recent one?
I have updated from 3.0.4 to 3.0.5.
Now i have this versions.
3.0 (305.19020701)
Config: 304.19012601
App: 304.19012601
DB: 304.19012601
Is that ok or does i have missed something ?
Heya...
So finally I did the update! What I did was extracting the source and copying it over to the original installation, replacing existing files and changing permissions afterwards:
Stop apache2.service and mariadb.service
copy over the files
cp ./NEW_SOURCODE/* ./syspass -R
change the permissions (insert the user which should one the files
chown www-data /var/www/html/syspass/app/config /var/www/html/syspass/app/backup /var/www/html/syspass/app/cache
chown -R www-data /var/www/html/syspass/app/config /var/www/html/syspass/app/backup /var/www/html/syspass/app/cache
Start apache2.service
Thanks for your help!
@alexebner that's ok, since version numbers will bump whenever an upgrade is performed but upgrading the code doesn't mean that the data structures need to be upgraded.
Most helpful comment
@cRaZy-bisCuiT Hi, the 4 step isn't needed. sysPass will generate the upgrade key automatically, since it will detect is any upgrade is needed. Be aware that only database upgrades need the key.