Error after installation on ubuntu 20.04

502 error after installing passbolt on ubuntu 20.04 how i can solve this issue.
o upstream, client: 10.10.1.216, server: --------, request: “GET /login HTTP/2.0”, upstream: “fastcgi://unix:/run/php/7.4-fpm.sock:”, host: “---------------”
2024/06/21 21:38:28 [crit] 109422#109422: *31 connect() to unix:/run/php/7.4-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 10.10.1.216, server: -------------, request: “GET /auth HTTP/2.0”, upstream: “fastcgi://unix:/run/php/7.4-fpm.sock:”, host: “---------------”

Hey @hirenruhi welcome to the forum!

Could you explain what steps you followed for the installation?

Hi i have done fresh installation on ubuntu 24.04 server but 500 error comes.what will be the issue?I have installed passbolt through passbolt api .but after done all the setup for hosting passbolt 500 or page not found error comes.

24.04 or 20.04?

Considering that you have a PHP7.4 (which is EOL) I would say 20.04

Could it be possible to consider 24.04 like required in the docs: Install Passbolt on Ubuntu 24.04 | Passbolt documentation.

Thanks @hirenruhi

I have used this document for passbolt installation on 24.04

try on both 20.04 and 24.04 server but same error i am getting after fresh installation.please give me the solution for that .i want to migrate data from old server to new server so database and gpgkeys are already copied from old server.

i have used php7.4 on server 20.04 .when i was trying to check the php-fpm socket service already running but error was on that side .how i can solve this problem

when i was trying to install passbolt through 24.04 installation Document as you have shared but i could not see any passbolt folder after installation passbolt-ce-server so how i can give path in conf file for the document root.can you share me the solution for that

Thanks for the precision, are you following that guide to migrate to a new server: Migrate to a new Ubuntu Server | Passbolt documentation.

it is a bit difficult to follow what you have done step by step.

context: you have a running server somewhere and you want to perform a migration to a new server while keeping your server key and your database.

The link that I shared is enough for you:

  1. you backup your actual data: Backup | Passbolt documentation.
  2. you install passbolt using the script + package installation
  3. you migrate the data

passbolt installation page url is not open after successfully installation passbolt on the server .I have install passbolt on cd/var/www path successfully install after done 3 step which is mentioned on the document for server 24.04 .after successfully installation please open this usrl also comes and jwt key also successfully generated .but when i am tring to open URL .it’s could not be open.what will be the possibility for this ?apache2 error log not found ssl works ok .but url could not open for setup.

I am confused here because if you used the package to install passbolt the installation folder is /usr/share/php/passbolt and the web server is nginx and not apache2

So, without the exact guide you are following it will be very hard to assist you here

ok i will share full procedure which i have followed from my end.

Thanks for the support

1 Like