# After installation, I can't login as user

**URL:** https://forum.yunohost.org/t/after-installation-i-cant-login-as-user/32474
**Category:** Support
**Tags:** english
**Created:** [December 11, 2024, 9:34am UTC](https://forum.yunohost.org/t/after-installation-i-cant-login-as-user/32474 "2024-12-11T09:34:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![lux](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/8c91f0/32.png) [@lux](https://forum.yunohost.org/u/lux)
#### Post date: [December 11, 2024, 9:34am UTC](https://forum.yunohost.org/t/after-installation-i-cant-login-as-user/32474/1 "2024-12-11T09:34:37Z")

</div>

**What type of hardware are you using** : Internet Cube with VPN  
**What YunoHost version are you running** : 12.0.8.2  
**How are you able to access your server** : The webadmin  
SSH  
Direct access via physical keyboard/screen

### Describe your issue

Hi everyone,  
I recently installed Yunohost 12.0.8.2 on my newly bought LIME 2 server. I use it as an Internet Cube with a VPN, so I used the post-installation tool from [GitHub - labriqueinternet/install: New all-in-one interface to install an internet cube](https://github.com/labriqueinternet/install/) (\*). After installation and post-installation, I can login :

- as root via SSH (from the local network)
- as Yunohost first user via the webadmin

but with the same account, I can’t login as user, neither via SSH nor on the user portal.  
Via SSH, my credentials are denied. On the user portal I get a 504 error with message : [POST] “https://[domain\_name].nohost.me/yunohost/portalapi/login”: 504

I tried to create another user via the webadmin and got the same issue.  
The diagnosis and journalctl show no issue with the yunohost-portal-api service. Please let me know what logs could be relevant to diagnose this.

Thanks !

EDIT 11/12/24 10h35 : forgot to mention that it looks like this issue : [504 error at SSO login - #5 by roundnround](https://forum.yunohost.org/t/504-error-at-sso-login/31824/5), which unfortunately didn’t get a solution yet.

EDIT 11/12/24 10h39 : formatting

EDIT 11/12/21 10h42 : (\*) sorry I forgot to explain that, because the internet cube tool doesn’t handle the backup password for the domain, I first used a dummy domain, then manually created the yunohost domain afterwards, following theses instructions : [https://doc.yunohost.org/en/dns\_nohost\_me#adding-a-nohost-me-noho-s](https://doc.yunohost.org/en/dns_nohost_me#adding-a-nohost-me-noho-s)

### Share relevant logs or error messages

[POST] “https://[domain\_name].nohost.me/yunohost/portalapi/login”: 504

---

<div class="post-metadata">

### Author: ![lux](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/8c91f0/32.png) [@lux](https://forum.yunohost.org/u/lux)
#### Post date: [December 13, 2024, 12:49pm UTC](https://forum.yunohost.org/t/after-installation-i-cant-login-as-user/32474/2 "2024-12-13T12:49:12Z")

</div>

Update : after changing the password to a shorter one, I can now use it to login via SSH and sudo. But the 504 error on the user portal remains.

---

<div class="post-metadata">

### Author: ![lux](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/l/8c91f0/32.png) [@lux](https://forum.yunohost.org/u/lux)
#### Post date: [December 14, 2024, 11:59pm UTC](https://forum.yunohost.org/t/after-installation-i-cant-login-as-user/32474/3 "2024-12-14T23:59:42Z")

</div>

I managed to make this works by changing proxy\_read\_timeout from 5s to 30s for location /yunohost/portalapi/ in /etc/nginx/conf.d/yunohost\_api.conf.inc. But I suppose it is not normal that it takes so long.

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [January 14, 2025, 12:00am UTC](https://forum.yunohost.org/t/after-installation-i-cant-login-as-user/32474/4 "2025-01-14T00:00:03Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
