danyo
February 26, 2018, 12:56pm
1
For some reason i can no longer access my admin panel after an update.
Some mailboxes work still and receive mail, but a select few do not.
I followed this guide: Admin Panel not reachable, nginx down?
When i run “sudo management/status_checks.py” i get the following:
“unable to execute management/status_checks.py: No such file or directory”
Any ideas what the issue could be?
Thanks
IcyPalm
February 26, 2018, 1:14pm
2
It looks to me that you are not in the mailinabox folder.
Did you change directory to the mailinabox folder?
cd mailinabox
or try this command from your user dir:
sudo ~/mailinabox/management/status_checks.py
Edited based on suggestion below frow @murgero
1 Like
murgero
February 26, 2018, 3:26pm
3
sudo ~/mailinabox/management/status_checks.py
is a better option as the ~
will assume his home folder.
danyo
February 27, 2018, 11:15am
4
Yes i can confirm i am in the mailinabox folder. “sudo ~/mailinabox/management/status_checks.py” also states ““unable to execute management/status_checks.py: No such file or directory””.
Any other suggestions?
murgero
February 27, 2018, 3:44pm
5
Try:
rm -rf /home/YOURUSERNAME/mailinabox
curl -s https://mailinabox.email/setup.sh | sudo bash
This will “reinstall” MIAB.
Then check:
sudo systemctl status apache2.service
If it returns data and says apache2 is running:
sudo -i
systemctl stop apache2.service
apt-get purge apache2
systemctl restart nginx.service