Dietpi: Dietpi Website Down

Created on 25 Aug 2018  路  2Comments  路  Source: MichaIng/DietPi

Dietpi.com is reachable but access is Forbidden
That's all

Bug META Solution available Whoopsie!

Most helpful comment

Okay issue identified and solved. Accidentally chmod on root directory (not the subfolders) itself...
Silly mistake...

Many sorry to all affected users... Will mark as closed

All 2 comments

@potter-91
Jep sorry, might be caused by me, although error appeared after totally unrelated tasks I did on the server. I try to investigate. Seems that somehow server user permissions are not recognized. Even that webroot has correct www-data:www-data permissions, access fails with permission denied. Even trying sudo -u www-data:www-data /path/to/webroot/php_file fails with:

sudo: unable to stat /etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin

But root and /etc folder permissions are correct, sudoers syntax and permissions correct, dpkg-reconfigure sudo made without resolving issue.

Even timesyncd fails (as it uses own user): systemd-timesyncd[30255]: Failed to allocate manager: Permission denied

So basically all actions by non-root users fail with permissions denied although folder/file permissions are correct. Seems a deeper system component that check/allows/denies permissions is broken.

APT fails shows warning as well:
W: Download is performed unsandboxed as root as file '/var/cache/apt/archives/partial/xxxx.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)


passwd[28650]: pam_unix(passwd:chauthtok): conversation failed, but pwck manual check, permissions etc. on /etc/passws /etc/shadow etc. etc. are all correct.
Went through: https://www.cyberciti.biz/faq/linux-unix-bsd-osx-passwd-pam_chauthtok-error-in-service-module/

  • Everything is as it should be.

Okay issue identified and solved. Accidentally chmod on root directory (not the subfolders) itself...
Silly mistake...

Many sorry to all affected users... Will mark as closed

Was this page helpful?
0 / 5 - 0 ratings

Related issues

k-plan picture k-plan  路  3Comments

MichaIng picture MichaIng  路  3Comments

k-plan picture k-plan  路  3Comments

and09 picture and09  路  3Comments

oshank picture oshank  路  3Comments