You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just did an do-release-upgrade to upgrade Ubuntu 20.04 to Ubuntu 22.04.
After that the Passbolt-server was giving me a 502 Gateway-Error message.
First thought was that i need to change the apt-repository from focal to jammy - but that wasn't the case since a jammy repository doesn't exist.
The healthcheck sudo -H -u www-data bash -c "/usr/share/php/passbolt/bin/cake passbolt healthcheck" said that it couldn't reach the service but wasn't pointing me in the right direction.
[FAIL] Could not reach the /healthcheck/status with the url specified in App.fullBaseUrl
Then i tried to reconfigure the instance via sudo dpkg-reconfigure passbolt-ce-server - that didn't do it either.
It took some time to figure out that in nginx-passbolt.conf there was a hard reference to php7.4 that needed to be changed to php8.1:
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
It seems that nginx-passbolt.conf will never be rewritten even on a complete reinstall, once it exists:
if [ -d "$NGINX_SITES_AVAILABLE" ] && [ -d "$NGINX_SITES_ENABLED" ] && [ ! -f "$NGINX_CONF" ]; then
^--
I think it might be useful to regenerate nginx-passbolt.conf during dpkg-reconfigure.
Or to use the link to the currently installed version /run/php/php-fpm.sock (That's what i did now - but I'm not sure if it exists in all distributions).
The text was updated successfully, but these errors were encountered:
I just did an
do-release-upgrade
to upgrade Ubuntu 20.04 to Ubuntu 22.04.After that the Passbolt-server was giving me a 502 Gateway-Error message.
First thought was that i need to change the apt-repository from focal to jammy - but that wasn't the case since a jammy repository doesn't exist.
The healthcheck
sudo -H -u www-data bash -c "/usr/share/php/passbolt/bin/cake passbolt healthcheck"
said that it couldn't reach the service but wasn't pointing me in the right direction.Then i tried to reconfigure the instance via
sudo dpkg-reconfigure passbolt-ce-server
- that didn't do it either.It took some time to figure out that in nginx-passbolt.conf there was a hard reference to php7.4 that needed to be changed to php8.1:
It seems that nginx-passbolt.conf will never be rewritten even on a complete reinstall, once it exists:
I think it might be useful to regenerate nginx-passbolt.conf during
dpkg-reconfigure
.Or to use the link to the currently installed version
/run/php/php-fpm.sock
(That's what i did now - but I'm not sure if it exists in all distributions).The text was updated successfully, but these errors were encountered: