# 403 Forbidden (NGINX) several apps effected

**URL:** https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431
**Category:** Support
**Tags:** fittrackee, nginx, bug, deutsch, english
**Created:** [April 11, 2025, 11:37am UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431 "2025-04-11T11:37:08Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![barep](https://forum.yunohost.org/user_avatar/forum.yunohost.org/barep/32/11344_2.png) [@barep](https://forum.yunohost.org/u/barep)
#### Post date: [April 11, 2025, 11:37am UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/1 "2025-04-11T11:37:09Z")

</div>

**What type of hardware are you using** : Old laptop or computer  
**What YunoHost version are you running** : 11.1.4 testing  
**How are you able to access your server** : SSH

### Describe your issue

Hi there wizzards;)  
I cant acces several apps and i dont know when that started. All I get is a white page with 403 Forbidden (nginx).  
There are a few topics like this on the forum but none of these solutions worked for me.  
Is that a problem with the beta version or is there another reason?

Thanks for any help!!

greetings

### Share relevant logs or error messages

nginx log: [hastebin](https://paste.yunohost.org/fujawuhono)  
app log (fittrakee): [hastebin](https://paste.yunohost.org/gokiyusuti)

---

<div class="post-metadata">

### Author: ![guy4092](https://forum.yunohost.org/user_avatar/forum.yunohost.org/guy4092/32/10081_2.png) [@guy4092](https://forum.yunohost.org/u/guy4092)
#### Post date: [April 11, 2025, 5:03pm UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/2 "2025-04-11T17:03:54Z")

</div>

What are the other apps? Could you provide logs of those? What steps have you already taken (I need an account from you, not a _maybe_ forum thread. / knowing which solutions **didn’t** work is pretty important.)?

It looks like the error fittrakee is giving means that a different application is already using the port that fittrakee is trying to use. Because fittrakee can not use that port, it’s throwing its hands in the air and giving up.

Possible solutions:

Have you tried restarting your machine?  
What apps have you installed since last seeing fittrakee work? Try uninstalling them?  
bind fittrakee to a different port than 5000 (not sure how exactly you would do that)

---

<div class="post-metadata">

### Author: ![barep](https://forum.yunohost.org/user_avatar/forum.yunohost.org/barep/32/11344_2.png) [@barep](https://forum.yunohost.org/u/barep)
#### Post date: [April 12, 2025, 2:00pm UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/3 "2025-04-12T14:00:08Z")

</div>

Hi Guy4092,  
thanks for replying!

- I tried that: [quote=“metyun, post:7, topic:30741”]  
Vérifie que ta clé est toujours valide avec `apt-key list` et mets la à jour si ce n’est pas le cas avec `apt install debsuryorg-archive-keyring`  
[/quote]

- also to uninstall/reinstall eg. Kanboard (also effected)

- restore from app backups

- restarting the machine (like a good IT noob that was the first attempt 🙂 )

all not fixing the problem.

As i said i dont know when it started becaus i try many apps sometimes. I just started the server and test some applications if they fit my needs.

Logs from not working apps (a selection):

- GeoQuest: [hastebin](https://paste.yunohost.org/afunuvulof)
- Glances: [hastebin](https://paste.yunohost.org/izewuluxes)
- Scrutiny: [hastebin](https://paste.yunohost.org/hucapujefu)

Apps that work (maybe that helpes?!) :

- Opencloud (i just saw errors in the log -.-) : [hastebin](https://paste.yunohost.org/ekireliqif)
- Crabfit: [hastebin](https://paste.yunohost.org/omewenijak)

The Log from nginx: [hastebin](https://paste.yunohost.org/muzitezama)

and i just saw that nftables is failing. in my understanding, wich is not deep, that has nothing to do with the frontend of the apps?! but here is the log: [hastebin](https://paste.yunohost.org/utaqopuzik)  
It also says “failing for more than 55 years”

The diagnosis for the ports looks fine, and i couldnt find an port conflict.

Sorry for the pile of logs but yunohost says i should not reinstall. Its better to resaerch the coming problems^^ so here we are \<3

thanks again for investigating!!!

---

<div class="post-metadata">

### Author: ![guy4092](https://forum.yunohost.org/user_avatar/forum.yunohost.org/guy4092/32/10081_2.png) [@guy4092](https://forum.yunohost.org/u/guy4092)
#### Post date: [April 14, 2025, 7:10pm UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/4 "2025-04-14T19:10:52Z")

</div>

Thank you for the information!

Sorry for taking so long to reply, and sorry in advanced for being unhelpful. If anyone else knows the answer, please take this over. I’m not sure I’m going to be qualified enough to help.

Can I first ask if these apps have worked for you in the past?

Secondly, are the apps that give you a 403 all hosted on the same `m00s.domain.tld`?  
I have no idea why you’re getting 403s, but the above domain is the only place I could see them in your nginx log. 403 is a permissions error. Do you remember ever `sudo chmod -R 700`-ing a folder?

There could be a few causes of this issue, but I’m far too barbaric to think of a proper & safe way to fix it. My solution: don’t use that domain, and continue using subdomains like `pool.m00s.domain.tld`

That’s the important stuff, everything below is on an app-to-app basis, and doesn’t matter if the above advice was good enough.

Scrutiny looks fine in that log? P.S. the maintainer (ewilly) is an absolute god.

Geoquest says that you need to use `--host` to expose it to the network… Otherwise it should only be accessible from the host machine itself. Did it come configured like that? That’s really strange. Is NGINX supposed to be a workaround for that? Personally, I’ve never been able to get around exposing those. Literally adding `--host` to a line somewhere would fix this, but I have never used geoquest. I see that this app is on its first ever yunohost package with no revisions; has it ever worked? Let me spin up a VM to test my hypothesis.

Glances is also having issues with ports, or it’s having issues with the ports plugin. again, not a lot of info provided.  
`sudo journalctl -xeu glances.service`

The opencloud log looks perfectly fine, what it’s reporting isn’t a problem as long as you don’t notice a problem. EOF is End Of File, which just means it’s done reading the data.

NGINX logs: I see a lot of OSCP errors, which is expected since [OSCP is dead.](https://letsencrypt.org/2024/12/05/ending-ocsp/)  
Not sure if this could cause an issue. If your SSL certificates aren’t renewing, this could be a cause.  
I’m looking at my NGINX logs to compare to yours, and I have no OSCP warnings (I do have a guy trying to brute force me `154.83.103.115`).  
Is your issue connecting ever something like “This server uses HSTS, you can not connect”?

NFTables: unlikely the issue; it is a firewall, but it shouldn’t be filling the ports, just blocking them. Failing for more than 55 years is fine. That brings us to 1970, the unix epoch. Forgive me if you know this, but 1970 is when the unix clock starts, so this just means the date is corrupted/missing so it was reset to 0. The logs here also did not give me a lot to work with. `sudo journalctl -xeu nftables.service`

Honestly, all of these logs seemed to include journalCTL anyways, so I’m grasping at straws. Hoping that the -x changes the output really. Since the SSH commands are not censored like yunopastes are, if the outputs look largely the same, just let me know instead of sending them.

And I 100% agree that solving these issues is better than reinstalling. We get experience, knowledge, and satisfaction from working on these ourself… Even if it’s a ‘little’ contrarian to yunohost’s goal of becoming user-friendly. Maybe the real solutions are the friends you make along the way?

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [April 15, 2025, 2:55am UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/5 "2025-04-15T02:55:50Z")

</div>

Hi,  
It’s quite hard to find meaningful info.  
Let’s try for geoquest app:  
Is there any non running service in webadmin–\>Tools–\>Services  
Could you paste `systemctl status geoquest`, `sudo lsof -i :4173`, nginx geoquest conf file and error log for :  
[play.m00s.nohost.me](http://play.m00s.nohost.me)

Does this subdomain not have an SSL certificate?

---

<div class="post-metadata">

### Author: ![barep](https://forum.yunohost.org/user_avatar/forum.yunohost.org/barep/32/11344_2.png) [@barep](https://forum.yunohost.org/u/barep)
#### Post date: [April 17, 2025, 10:23am UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/6 "2025-04-17T10:23:56Z")

</div>

Hi guy4092 and otm33

Sorry for taking some time to answer, my 2nd child was born 🙂 I had other priorities.

1. All apps had worked in the past
2. yes all my apps are on a subdomain of m00s.nohost domain. I boght alreaddy a domain but im running in some trubbles to set that up propperly (but that is another storry for another day^^). My router (Fritzbox) and yunohost combination killed somehow the bonjur protocoll for app.local domains, but i suggest that this is also another topic.
3. I’m sure that i never used `sudo chmod -R 700`

to avoid the m00s.nohost domain would safe me maybe for some time but maybe the problem strikes again for another domain?! I really don’t want to buy two domains a year to use yunohost 😃

- Scrutiny don’t work ether.
- Geoquest worked fine initialy and i didn’t manipulated anything, so I would say it came like it is.

I am really to much of a noob in linux things so I am just use the admin web pannel as long as nothing is broken. I looked for solves and tryied them in the CLI but me on my own do not tinkering on that system.

→ The result of `sudo journalctl -xeu glances.service`:

 ![grafik](https://forum.yunohost.org/uploads/default/original/2X/b/b40d773fd3def41d3a2743fc2e1b5b0a59e1b598.png)

- [quote=“guy4092, post:4, topic:36431”]  
Is your issue connecting ever something like “This server uses HSTS, you can not connect”?  
[/quote]  
I never saw that.

→ The result of `sudo journalctl -xeu nftables.service`

 ![grafik](https://forum.yunohost.org/uploads/default/original/2X/6/68902c9c148c67f4521d82575c348b359f07c199.png)

Now to the suggestion of otm33

- after the resstart of nftables everything is running. Diagnostic says all good.  
 → result of `systemctl status geoquest`  
 ![grafik](https://forum.yunohost.org/uploads/default/original/2X/6/6daff25b13cf663313e8f468e6a8f14727657673.png)

→ result of `sudo lsof -i :4173`  
 ![grafik](https://forum.yunohost.org/uploads/default/original/2X/5/51ecc9ada71172c7167e2ba6a26c476dea5fc000.png)

→ Log of the conf

 ![grafik](https://forum.yunohost.org/uploads/default/original/2X/1/159a47f9b0af8efaa2629da500b7a6ecd68cd315.png)  
 ![grafik](https://forum.yunohost.org/uploads/default/original/2X/d/d822422a5348d821a14c4402a5e184e93148d43a.png)  
 ![grafik](https://forum.yunohost.org/uploads/default/original/2X/f/f1182bcfa8a31582ed0499b6a4bcd04a960367af.png)

the domain has a letsencrypt certificate. After ur question i renewed it to check if it helps. it doesnt…

I hope that helps 😉  
its by the way really just the frontend, the app part of Paperless workes fine.

greeting and thnanks for looking into it \<3

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [April 17, 2025, 11:48am UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/7 "2025-04-17T11:48:26Z")

</div>

Hi barep,  
First of all, congratulations on the birth of your child.

> [@otm33](#):
>
> nginx geoquest conf file

By “nginx geoquest conf file” I meant geoquest.conf in folder _etc/nginx/conf.d/play…d/ **geoquest.conf** _ with the proxy\_pass params.

---

<div class="post-metadata">

### Author: ![barep](https://forum.yunohost.org/user_avatar/forum.yunohost.org/barep/32/11344_2.png) [@barep](https://forum.yunohost.org/u/barep)
#### Post date: [April 17, 2025, 12:59pm UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/8 "2025-04-17T12:59:04Z")

</div>

thanks for the congrats 🙂

I see that conf file is alot shorter^^

 ![grafik](https://forum.yunohost.org/uploads/default/original/2X/8/86f94db185bfd0f27a0b2ba1697c3fd1f2ad21d4.png)

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [April 17, 2025, 1:32pm UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/9 "2025-04-17T13:32:03Z")

</div>

Everything seems normal afaik…  
I’m having trouble understanding why accessing your yunoHost **main domain** doesn’t show the SSO login page as expected — instead, I get a 403 Forbidden error. Did you modify SSO settings ?

Could you share the output of the following command : `sudo yunohost tools regen-conf nginx --dry-run --with-diff `?

---

<div class="post-metadata">

### Author: ![barep](https://forum.yunohost.org/user_avatar/forum.yunohost.org/barep/32/11344_2.png) [@barep](https://forum.yunohost.org/u/barep)
#### Post date: [April 17, 2025, 1:50pm UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/11 "2025-04-17T13:50:25Z")

</div>

It took a minute but no output and nothing changes.

but with `dryrun` it should change anything^^ should i try without?  
I have backups and that system is like it is not usable anyways…

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [April 17, 2025, 2:49pm UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/12 "2025-04-17T14:49:59Z")

</div>

Any change ever made in /etc/ssowat/conf.json ? You could run `yunohost app ssowatconf` to regenerate the SSOwat configuration.

---

<div class="post-metadata">

### Author: ![barep](https://forum.yunohost.org/user_avatar/forum.yunohost.org/barep/32/11344_2.png) [@barep](https://forum.yunohost.org/u/barep)
#### Post date: [April 17, 2025, 3:22pm UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/13 "2025-04-17T15:22:56Z")

</div>

exactly that command? or with `regen-conf`? Without it doesn’t solves the 403 problem.  
I’ve never changed anything in the cli.

---

<div class="post-metadata">

### Author: ![guy4092](https://forum.yunohost.org/user_avatar/forum.yunohost.org/guy4092/32/10081_2.png) [@guy4092](https://forum.yunohost.org/u/guy4092)
#### Post date: [April 17, 2025, 9:14pm UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/14 "2025-04-17T21:14:10Z")

</div>

Congratulations! (you responded plenty quickly)

I really thought I was onto something there. It seems that this is beyond my know-how, so I’ll have to bow out and let otm33 take over.

Thank you for providing me with the output of those commands, even though they were just about exactly what you had already provided.

Well, I wish you the best of luck!

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [April 18, 2025, 12:17am UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/15 "2025-04-18T00:17:25Z")

</div>

> [@otm33](#):
>
> yunohost app ssowatconf

exactly this command, without regen-conf.  
What issues are reported by the webadmin’s diagnostic tool?

---

<div class="post-metadata">

### Author: ![barep](https://forum.yunohost.org/user_avatar/forum.yunohost.org/barep/32/11344_2.png) [@barep](https://forum.yunohost.org/u/barep)
#### Post date: [April 18, 2025, 9:28am UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/16 "2025-04-18T09:28:33Z")

</div>

nice profile pic^^ and exactly what it was yesterday for me 😃

Diagnostics:

- Base system: warning because beta branch

- internet connectivity: all good

- DNS records: warnings because my not propper set up for a bought domain. And a problem with “.local” _(Domain go.local is based on a special-use top-level domain (TLD) such as .local or .test and is therefore not expected to have actual DNS records.)_

- ports exposure: some ports are not reachable from outsite (ports: 22, 25, 587, 993). Thats since the beginning and has not changed

- Web: all good

- Email: Nothing is setup so alot of red x’es

- Services status check: After every restart nftables stopped working

- System resources: all good

- Sys conf: all good

- Apps: all good

I have another problem (guess it has nothing to do with 403): I cant update crystal (installed 1.15.0-1+1.2, pending update is 1.16.0-1+1.1).  
Paperless also refuses to update.

I now try to build a yunohost instance in KVM on my Openmediavault server to have at leased a running one^^ so i dont need to reinstall the defected machine. Maybe someone finds a fix 😉

---

<div class="post-metadata">

### Author: ![barep](https://forum.yunohost.org/user_avatar/forum.yunohost.org/barep/32/11344_2.png) [@barep](https://forum.yunohost.org/u/barep)
#### Post date: [April 21, 2025, 11:24am UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/17 "2025-04-21T11:24:16Z")

</div>

Guys,  
is there a way to get the attention from someone who knows something about the problem? Maybe a developer of Yunohost. I found that problem popping up in diferent ways in the forum and outside (i think it was reddit?!).  
It seems like a problem that is often out there. maybe they can prevent it from within the system…

I’ll have to reinstall in a few days. A friend wants to use the server.. would be sad if this will not be adressed.

Happy rabbit days 🙂

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [April 21, 2025, 6:33pm UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/18 "2025-04-21T18:33:10Z")

</div>

Does disabling the firewall make any difference?

---

<div class="post-metadata">

### Author: ![barep](https://forum.yunohost.org/user_avatar/forum.yunohost.org/barep/32/11344_2.png) [@barep](https://forum.yunohost.org/u/barep)
#### Post date: [April 24, 2025, 9:00am UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/19 "2025-04-24T09:00:30Z")

</div>

Hi;)

as far as I got with firewall stuff it doesn’t change anything…  
I need to reinstall tomorrow and I’m a litte bit tired of running in to walls^^  
I also tried yesterday to check the permissions with the help of this article ([How to Solve 403 Forbidden Errors on Nginx: A Complete Guide](https://www.mageplaza.com/insights/403-forbidden-nginx.html)).  
The changes that Yunohost has done, made me looking for directories for houres 😃 I’m also a bit slow I guess…

Thank you two again for all the time and sweat you guys put into the search for a solution:)

next time something is wrong with nginx I’ll just reinstal I guess.. ☹

greetings barep

---

<div class="post-metadata">

### Author: ![otm33](https://forum.yunohost.org/user_avatar/forum.yunohost.org/otm33/32/11941_2.png) [@otm33](https://forum.yunohost.org/u/otm33)
#### Post date: [April 25, 2025, 1:10am UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/20 "2025-04-25T01:10:15Z")

</div>

> [@barep](#):
>
> after the resstart of nftables everything is running. Diagnostic says all good.

Should nftables be running? Firewall is supposed to directly be managed by yunohost firewall. On a yunohost 11.3.0.2 fresh install, nftables is loaded but inactive. But maybe it’s a peculiarity of the 11.1.4 unstable version…?

---

<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: [May 25, 2025, 1:10am UTC](https://forum.yunohost.org/t/403-forbidden-nginx-several-apps-effected/36431/21 "2025-05-25T01:10:20Z")

</div>

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