matalb
June 12, 2025, 9:50am
1
What type of hardware are you using : VPS bought online
What YunoHost version are you running : 12.0.17
What app is this about : Joplin
Describe your issue
After installing Joplin from the webadmin UI on a separate subdomain, I tried to start Joplin from the app list UI. The result was “502 Bad Gateway”. I looked at the services: the Joplin service was not running.
Below is the log which says: “Could not write content to storage: EACCES: permission denied”.
If anyone could help, it would be great.
Share relevant logs or error messages
otm33
June 12, 2025, 10:43am
2
Hi,
Could you check permissions set on /home/yunohost.app/joplin
? (ls -ld /home/yunohost.app/joplin
)
matalb
June 12, 2025, 10:58am
3
drwxr-x--- 3 joplin joplin 4096 Mar 21 09:07 /home/yunohost.app/joplin
Mar 21 seems to be an old relic, when I tried the same before.
otm33
June 12, 2025, 12:02pm
4
and namei -l /home/yunohost.app/joplin/te/st/testingconnectionpisieLrT
matalb
June 12, 2025, 2:33pm
5
namei -l /home/yunohost.app/joplin/te/st/testingconnectionpisieLrT
f: /home/yunohost.app/joplin/te/st/testingconnectionpisieLrT
drwxr-xr-x root root /
drwxr-xr-x root root home
drwxr-xr-x root root yunohost.app
drwxr-x--- joplin joplin joplin
te - Permission denied
matalb
June 12, 2025, 2:34pm
6
Once again:
sudo namei -l /home/yunohost.app/joplin/te/st/testingconnectionpisieLrT
[sudo] password for admin:
f: /home/yunohost.app/joplin/te/st/testingconnectionpisieLrT
drwxr-xr-x root root /
drwxr-xr-x root root home
drwxr-xr-x root root yunohost.app
drwxr-x--- joplin joplin joplin
drwxr-xr-x 988 988 te
drwxr-xr-x 988 988 st
testingconnectionpisieLrT - No such file or directory
otm33
June 12, 2025, 2:36pm
7
Try to set permissions as:
drwxr-xr-x joplin joplin te
drwxr-xr-x joplin joplin st
chown -R joplin:joplin /home/yunohost.app/joplin/te/