# INstall on Debian 11 (on google cloud) just brings up Nginx welcome page

**URL:** <https://community.passbolt.com/t/install-on-debian-11-on-google-cloud-just-brings-up-nginx-welcome-page/7328>\
**Category:** Installation Issues\
**Created:** [May 8, 2023, 4:18pm UTC](https://community.passbolt.com/t/install-on-debian-11-on-google-cloud-just-brings-up-nginx-welcome-page/7328 "2023-05-08T16:18:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hughsheehy](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/hughsheehy/32/2314_2.png) [@hughsheehy](https://community.passbolt.com/u/hughsheehy)\
**Post date:** [May 8, 2023, 4:18pm UTC](https://community.passbolt.com/t/install-on-debian-11-on-google-cloud-just-brings-up-nginx-welcome-page/7328/1 "2023-05-08T16:18:47Z")

</div>

**Checklist**  
[x] I have read intro post: [https://community.passbolt.com/t/about-the-installation-issues-category/12](https://community.passbolt.com/t/about-the-installation-issues-category/12)  
[x] I have read the tutorials, help and searched for similar issues  
[x] I provide relevant information about my server (component names and versions, etc.)  
[x] I provide a copy of my logs and healthcheck  
[x] I describe the steps I have taken to trouble shoot the problem  
[x] I describe the steps on how to reproduce the issue

New VM on GCP. New IP address. New domain.

Followed the install instructions on [https://help.passbolt.com/hosting/install/ce/debian/debian.html](https://help.passbolt.com/hosting/install/ce/debian/debian.html)  
Auto install Let’s Encrypt certs.  
No errors at any stage - other than wget not being already installed on Debian 11.

But when Im finished and then browse to the domain or the IP address of the server, I just get the “Welcome to Nginx” screen. No config options for Passbolt.

If I run sudo -H -u www-data bash -c “/usr/share/php/passbolt/bin/cake passbolt healthcheck” then I get this message.

```auto
______  ____  
/ __\____  _________ / /_ ____ / / /_ 

```

/ /_/ / \_\_ `/ / / \_\_ / \_\_ / / \_/  
/ **/ // (** | ) // / // / / /  
// ,/ **/** \*\*/. \*\*/_\*\* _/_/\_\_/

## Open source password manager for teams

Healthcheck shell…Warning Error: file\_get\_contents(/etc/passbolt/gpg/serverkey.asc): failed to open stream: No such file or directory  
In [/usr/share/php/passbolt/src/Utility/Healthchecks/GpgHealthchecks.php, line 456]

2023-05-08 16:04:07 warning: Warning (2): file\_get\_contents(/etc/passbolt/gpg/serverkey.asc): failed to open stream: No such file or directory in [/usr/share/php/passbolt/src/Utility/Healthchecks/GpgHealthchecks.php, line 456]  
Warning Error: file\_get\_contents(/etc/passbolt/gpg/serverkey\_private.asc): failed to open stream: No such file or directory  
In [/usr/share/php/passbolt/src/Utility/Healthchecks/GpgHealthchecks.php, line 458]

2023-05-08 16:04:07 warning: Warning (2): file\_get\_contents(/etc/passbolt/gpg/serverkey\_private.asc): failed to open stream: No such file or directory in [/usr/share/php/passbolt/src/Utility/Healthchecks/GpgHealthchecks.php, line 458]  
.Exception: strpos() expects parameter 1 to be string, bool given  
In [/usr/share/php/passbolt/src/Utility/Healthchecks.php, line 92]

---

<div class="post-metadata">

**Author:** ![hughsheehy](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/hughsheehy/32/2314_2.png) [@hughsheehy](https://community.passbolt.com/u/hughsheehy)\
**Post date:** [May 8, 2023, 4:27pm UTC](https://community.passbolt.com/t/install-on-debian-11-on-google-cloud-just-brings-up-nginx-welcome-page/7328/2 "2023-05-08T16:27:10Z")

</div>

There’s also nothing in /etc/passbolt/passbolt.php

And nothing in the /etc/nginx/conf.d directory

---

<div class="post-metadata">

**Author:** ![hughsheehy](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/hughsheehy/32/2314_2.png) [@hughsheehy](https://community.passbolt.com/u/hughsheehy)\
**Post date:** [May 8, 2023, 6:01pm UTC](https://community.passbolt.com/t/install-on-debian-11-on-google-cloud-just-brings-up-nginx-welcome-page/7328/3 "2023-05-08T18:01:23Z")

</div>

Install works perfectly on CentOS. Not on Debian11.

---

<div class="post-metadata">

**Author:** ![diego](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/diego/32/16_2.png) [@diego](https://community.passbolt.com/u/diego)\
**Post date:** [May 8, 2023, 6:59pm UTC](https://community.passbolt.com/t/install-on-debian-11-on-google-cloud-just-brings-up-nginx-welcome-page/7328/4 "2023-05-08T18:59:05Z")

</div>

It could be that the file /etc/nginx/sites-enabled/default or /etc/nginx/sites-enabled/default.conf is taking over the passbolt nginx config. In that case you should remove the default nginx configuration and restart nginx.

---

<div class="post-metadata">

**Author:** ![hughsheehy](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/hughsheehy/32/2314_2.png) [@hughsheehy](https://community.passbolt.com/u/hughsheehy)\
**Post date:** [May 9, 2023, 9:55am UTC](https://community.passbolt.com/t/install-on-debian-11-on-google-cloud-just-brings-up-nginx-welcome-page/7328/5 "2023-05-09T09:55:59Z")

</div>

I’ve installed it on CentOS instead. Worked perfectly.

On Debian, I followed the instructions to the letter. Just wanted to report the issue.

---

<div class="post-metadata">

**Author:** ![SupaMic](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/supamic/32/3574_2.png) [@SupaMic](https://community.passbolt.com/u/SupaMic)\
**Post date:** [January 11, 2024, 8:32pm UTC](https://community.passbolt.com/t/install-on-debian-11-on-google-cloud-just-brings-up-nginx-welcome-page/7328/6 "2024-01-11T20:32:14Z")

</div>

I ran into the exact same issue on GCP on new Debian 12 (Bookworm) instance, I was able to resolve with these steps after successfully installing and getting Nginx Welcome screen.

1. in SSH interface I ran everything as root by starting with cmd  
`sudo su`
2. To stop using nginx default config  
`mv /etc/nginx/sites-enabled/default /etc/nginx/default.bck`
3. in the file `/etc/nginx/sites-enabled/nginx-passbolt.conf `  
modfied first instance of the line  
`server_name _;` to `server_name mysub.mydomain.com;`
4. ran `dpkg-reconfigure passbolt-ce-server` and enter all the same settings as first install (I used auto ssl)
5. Configuration got a confirmation

> Successfully deployed certificate for [mysub.mydomain.com](http://mysub.mydomain.com) to **/etc/nginx/sites-enabled/nginx-passbolt.conf**

1. Restart Nginx with `systemctl reload nginx`
2. Visit [https://mysub.mydomain.com](https://mysub.mydomain.com) and complete installation using the previously used config accounts, variables and passwords
