TechnicSolder: Permission Denied Error for solderlog on any action

Solder Repo Hash:

Operating System and version: Fedora 30 (Server)

PHP version: php 7.3.7 using workaround; error_reporting(E_ALL ^ E_DEPRECATED) at top of app.php

Composer version: Composer 1.9.0

Server type: LEMP

Type of database: SQLite 3

Type of hosting: Personal Shared

Link to the affected install’s public url: https://solder.binaryaura.net

https://repo.binaryaura.net/solder

After any action settings, adding mods, modpacks, etc I get the following error:

Error in exception handler: The stream or file "/var/www/solder.binaryaura.net/TechnicSolder/app/storage/logs/solderlog-2019-08-09.txt" could not be opened: failed to open stream: Permission denied in /var/www/solder.binaryaura.net/TechnicSolder/bootstrap/compiled.php:7173

This is similar to issue #655, I went ahead and made this issue because I’m using LEMP and that thread has gone stale and still open.

I have ran the check.php as indicated in that thread, but it returned nginx, as expected. I attempted making …/app/storage/logs 777 and making the folder it was referring to in the error with 777 as well, neither fixed the error.

This absolutely baffles me: “Permission denied” with 775 and 777

Nginx: nginx.conf: https://pastebin.com/g49wTnhj php.conf: https://pastebin.com/RtA1derF solder.binaryaura.net: https://pastebin.com/c8fpgQLs repo.binaryaura.net: https://pastebin.com/8LngdBsw

php: www.conf: https://pastebin.com/UMWZHXHp summary: LEMP tutorial setup runs under nginx

Solder: app.php: https://pastebin.com/3gXZqshx database.php: https://pastebin.com/XjK1VhdK solder.php: https://pastebin.com/5eXrBNi7 summary: repo: https://repo.binaryaura.net/solder solder: https://solder.binaryaura.net sqlite 3 defaults

Permissions: project directory: solder-www-perm.txt repo directory: repo-www-perm.txt summary: 775 and nginx:web everywhere nginx and jadunker is in web

Any help here would be appreciated.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (5 by maintainers)

Most upvoted comments

For anyone also having similar issues, this site helped me considerably: https://serversforhackers.com/c/battling-selinux-cast