sysPassv3 is not working
I installed sysPass v3 beta but it's not working. The installation guide for Centos is not updated with the files structure of this version so performed the command on the folders and files that looked logical but I might did something wrong.
Getting http 500 error:

- OS: CentOS Linux release 7.5.1804 (Core)
- Browser Chrome
Hey, v3 will require some additional steps when deploying, but the doc isn't ready yet. You could take a look to this gist https://gist.github.com/vmario89/196ba73708b5ea77235aeb1d2bac1f77 written down by @vmario89
Hi,
i got some problem now too. I updated from the version from 2018.07.21 to 2018.07.31 + updating from php7.1 to php7.2 on an odroid Ubuntu 18 LTS and getting the error

I already reinstalled syspass completely with new database and also reinstalled freshly with composer 1.7.0 and cleared caches before. i also tried different browsers and cleared their caches too.
The /app/config/syspass.log says: 2018-08-06 21:30:43 [EXCEPTION] [N/A] Oops, it looks like this content doesn't exist... #0 [internal function]: SP\Bootstrap->SP{closure}(Object(Klein\Request), Object(Klein\Response), Object(Klein\ServiceProvider), Object(Klein\App), Object(Klein\Klein), Object(Klein\DataCollection\RouteCollection), Array) #1 /var/www/vhosts/pw.thedomain.de/vendor/klein/klein/src/Klein/Klein.php(886): call_user_func(Object(Closure), Object(Klein\Request), Object(Klein\Response), Object(Klein\ServiceProvider), Object(Klein\App), Object(Klein\Klein), Object(Klein\DataCollection\RouteCollection), Array) #2 /var/www/vhosts/pw.thedomain.de/vendor/klein/klein/src/Klein/Klein.php(588): Klein\Klein->handleRouteCallback(Object(Klein\Route), Object(Klein\DataCollection\RouteCollection), Array) #3 /var/www/vhosts/pw.thedomain.de/lib/SP/Bootstrap.php(426): Klein\Klein->dispatch(Object(Klein\Request)) #4 /var/www/vhosts/pw.thedomain.de/lib/Base.php(72): SP\Bootstrap::run(Object(DI\Container)) #5 /var/www/vhosts/pw.thedomain.de/index.php(28): require('/var/www/vhosts...') #6 {main}
The only menus which are working are

and

what i did also
- i also checked the apache config. i did not find some setting which may cause this.
- run apt-get update, upgrade, dist-upgrade
do you have some idea?
Hello @vmario89 !
that's weird, since it's working fine on demo site running on PHP 7.2: http://demo-beta.syspass.org:10082/index.php?r=index
Did you run php composer.phar update after switching to 7.2?
Hi @nuxsmin, yes i first removed php7.1, then i installed php7.2, then i enabled 7.2 in apache modules, after that i ran apt-get upate/upgrade; then i removed caches from composer / deleted it; downloaded 1.7.0 and composed everything again; i also tried with 1.6.5 ... no idea :-O
Hi @nuxsmin, i made some upgrade documentation because i pushed to version from yesterday to my server: https://gist.github.com/vmario89/966356c629b7af28d18f97575479d69b
BUT exactly same situation as before :-( Anyone an idea? regards, Mario
Hi @vmario89 ,
what about some lines above 2018-08-06 21:30:43 [EXCEPTION] [N/A] Oops, it looks like this content doesn't exist...? It should log the requested action.
It seems that JSON data is not being parsed by Javascript. It could be an HTTP response header issue.
Regards
Hey @nuxsmin,
damn it! i just forgot to remove browser cache this time! now it works perfectly :-D
Great!
I've just pushed some important changes. Please update ;)
Hi all, I have the issue on Debian9
Archivo no encontrado (/var/www/sysPass/app/cache/icons.cache)
Installation :
apt-get install apache2 apache2-utils mariadb-server
apt-get install libapache2-mod-php php php-cli php-common php-json php-opcache php-readline php-curl php-mysqlnd php-curl php-gd php-json php-ldap php-mbstring php-xml
apt-get install libsodium18 php-libsodium
mkdir /var/www; wget https://github.com/nuxsmin/sysPass/archive/3.0.0.18080701-beta.tar.gz
tar -xzf 3.0.0.18080701-beta.tar.gz
mv sysPass-3.0.0.18080701-beta/ sysPass
cd sysPass/
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === 544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer.phar install
cd ..
chown -R 33.33 sysPass/
chmod 750 sysPass/app/config/
The appache error logs :
[Wed Aug 08 15:43:54.619109 2018] [:error] [pid 30269] [client 192.168.77.108:60911] [DEBUG] [SP\\Config\\Config::initialize] Config loaded
[Wed Aug 08 15:43:54.625879 2018] [:error] [pid 30269] [client 192.168.77.108:60911] [DEBUG] [SP\\Bootstrap::run] ------------
[Wed Aug 08 15:43:54.625998 2018] [:error] [pid 30269] [client 192.168.77.108:60911] [DEBUG] [SP\\Bootstrap::run] Boostrap:web
[Wed Aug 08 15:43:54.630731 2018] [:error] [pid 30269] [client 192.168.77.108:60911] [DEBUG] [SP\\Bootstrap::initializeCommon] initializeCommon
[Wed Aug 08 15:43:54.638378 2018] [:error] [pid 30269] [client 192.168.77.108:60911] [INFO] [SP\\Core\\PhpExtensionChecker::checkMandatory] Extensions checked
[Wed Aug 08 15:43:54.638635 2018] [:error] [pid 30269] [client 192.168.77.108:60911] [ERROR] [SP\\Core\\Language::setLocales] Could not set locale
[Wed Aug 08 15:43:54.638753 2018] [:error] [pid 30269] [client 192.168.77.108:60911] [DEBUG] [SP\\Core\\Language::setLocales] Domain path: /var/www/sysPass/app/locales
[Wed Aug 08 15:43:54.649873 2018] [:error] [pid 30269] [client 192.168.77.108:60911] [DEBUG] [SP\\Modules\\Web\\Init::initialize] SP\\Modules\\Web\\Init::initialize
[Wed Aug 08 15:43:54.650257 2018] [:error] [pid 30269] [client 192.168.77.108:60911] [DEBUG] [SP\\Core\\Language::setLocales] Locale set to: fr_FR.utf8
[Wed Aug 08 15:43:54.651811 2018] [:error] [pid 30269] [client 192.168.77.108:60911] [EXCEPTION] [N/A] Archivo no encontrado (/var/www/sysPass/app/cache/icons.cache)\n#0 /var/www/sysPass/lib/SP/Storage/File/FileCache.php(104): SP\\Storage\\File\\FileHandler->checkFileExists()\n#1 /var/www/sysPass/lib/SP/Core/UI/Theme.php(165): SP\\Storage\\File\\FileCache->isExpired('/var/www/sysPas...', 86400)\n#2 /var/www/sysPass/lib/SP/Core/UI/Theme.php(116): SP\\Core\\UI\\Theme->initIcons()\n#3 /var/www/sysPass/app/modules/web/Init.php(128): SP\\Core\\UI\\Theme->initialize()\n#4 /var/www/sysPass/lib/SP/Bootstrap.php(209): SP\\Modules\\Web\\Init->initialize('install')\n#5 [internal function]: SP\\Bootstrap->SP\\{closure}(Object(Klein\\Request), Object(Klein\\Response), Object(Klein\\ServiceProvider), Object(Klein\\App), Object(Klein\\Klein), Object(Klein\\DataCollection\\RouteCollection), Array)\n#6 /var/www/sysPass/vendor/klein/klein/src/Klein/Klein.php(886): call_user_func(Object(Closure), Object(Klein\\Request), Object(Klein\\Response), Object(Klein\\ServiceProvider), Object(Klein\\App), Object(Klein\\Klein), Object(Klein\\DataCollection\\RouteCollection), Array)\n#7 /var/www/sysPass/vendor/klein/klein/src/Klein/Klein.php(588): Klein\\Klein->handleRouteCallback(Object(Klein\\Route), Object(Klein\\DataCollection\\RouteCollection), Array)\n#8 /var/www/sysPass/lib/SP/Bootstrap.php(429): Klein\\Klein->dispatch(Object(Klein\\Request))\n#9 /var/www/sysPass/lib/Base.php(72): SP\\Bootstrap::run(Object(DI\\Container))\n#10 /var/www/sysPass/index.php(28): require('/var/www/sysPas...')\n#11 {main}
Hi @OnoTime
The last commit implements additional checks for used files, so this error should be managed by the application itself, since this file doesn't exist until the first run.
I'll fix it shortly (I don't know if creating an empty file would solve the issue).
Sorry for the inconvenience.
@OnoTime it should be solved in the latest commit.