miaber
1
Hi, it isn’t my first time installing MIAB, and I faced a strange issue this time.
- logged in as
root
- ran
curl -s https://mailinabox.email/setup.sh | sudo -E bash
Everything installed correctly, but admin page does not load properly, after some checks
https://x.x.x.x/admin/assets/bootstrap/css/bootstrap.min.css and other assets are returning 403.
Any ideas? Thank you.
miaber
3
In requesting for SSL certs, my .well-known
folder was also 403 and I have re-installed like 3 times… would be most grateful if anyone has an idea
miaber
4
For this problematic installation /usr/local/lib/mailinabox/vendor
is drwx------
instead of drwxr-xr-x
like my other installation.
Any ideas?
So what happens if you:
- Restart nginx:
sudo systemctl restart nginx
- Restart mailinabox:
sudo systemctl restart mailinabox
- Reboot the box
Any clues to be seen in sudo journalctl -u mailinabox
?
miaber
6
I think a reboot will also restart both nginx and mailinabox, correct? So I had rebooted the box several times, permissions remain wrong.
Let me come back on journalctl-u mailinabox
miaber
7
No clues in journalctl -u mailinabox
, just normal startup and SSL provisioning stuff.
Anyway I have identified 2 folders that had bad permissions resulting in /admin
not being able to function, my fix was to chmod them again
/usr/local/lib/mailinabox/vendor
0664 to files, 0775 to folders
/home/user-data
0664 to files, 0775 to folders (before requesting for SSL certs)
system
Closed
8
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.