Open 3x3cut0r opened 3 years ago
The project is alive, again 😉. It seems your cache directory is invalid. Have you tried specifying a full path for it?
Same thing here:
This is related to apache PrivateTmp
rename(/tmp/PACKAGE_ICON.PNG,lib/sspks/cache/mypackage-noarch-9.0.15021.1141beta_thumb_72.png): No such file or directory in /mysite/lib/sspks/lib/SSpkS/Package/Package.php on line 217
rename(/tmp/PACKAGE_ICON_256.PNG,lib/sspks/cache/mypackage-noarch-9.0.15021.1141beta_thumb_120.png): No such file or directory in /mysite/lib/sspks/lib/SSpkS/Package/Package.php on line 217
rename(/tmp/INFO,lib/sspks/cache/mypackage-noarch-9.0.15106.1052beta.nfo): No such file or directory in /mysite/lib/sspks/lib/SSpkS/Package/Package.php on line 217
parse_ini_file(lib/sspks/cache/mypackage-noarch-9.0.15106.1052beta.nfo): failed to open stream: No such file or directory in /mysite/lib/sspks/lib/SSpkS/Package/Package.php on line 149
References: https://muras.eu/2017/12/06/apache-ubuntu-systemd-privatetmp https://stackoverflow.com/questions/68098031/how-to-set-privatetmp-false-permanently-in-ubuntu-18-04
Is sspks still under development and support? I installed sspks with successfully with docker. by adding a new spks (plex in my example) i get 5-10 Permission denied errors. seems the Package.php has no permissions to rename the package. i got the package 777 permissions already and its owner is root like the container. so whats wrong here? here is my container log: `[Sun Mar 07 21:55:21.756473 2021] [php7:warn] [pid 13] [client 10.24.0.2:48154] PHP Warning: rename(cache/PlexMediaServer-1.22.0.4145.nfo): failed to open stream: Permission denied in /var/www/localhost/htdocs/lib/SSpkS/Package/Package.php on line 223
[Sun Mar 07 21:55:21.756715 2021] [php7:warn] [pid 13] [client 10.24.0.2:48154] PHP Warning: rename(/tmp/INFO,cache/PlexMediaServer-1.22.0.4145.nfo): Permission denied in /var/www/localhost/htdocs/lib/SSpkS/Package/Package.php on line 223
[Sun Mar 07 21:55:21.757754 2021] [php7:warn] [pid 13] [client 10.24.0.2:48154] PHP Warning: parse_ini_file(cache/PlexMediaServer-1.22.0.4145.nfo): failed to open stream: No such file or directory in /var/www/localhost/htdocs/lib/SSpkS/Package/Package.php on line 149
[Sun Mar 07 21:55:21.757790 2021] [php7:notice] [pid 13] [client 10.24.0.2:48154] PHP Notice: Undefined index: arch in /var/www/localhost/htdocs/lib/SSpkS/Package/Package.php on line 156
[Sun Mar 07 21:55:21.757969 2021] [php7:warn] [pid 13] [client 10.24.0.2:48154] PHP Warning: touch(): Unable to create file cache/PlexMediaServer-1.22.0.4145.nowiz because Permission denied in /var/www/localhost/htdocs/lib/SSpkS/Package/Package.php on line 254
[Sun Mar 07 21:55:21.758581 2021] [php7:warn] [pid 13] [client 10.24.0.2:48154] PHP Warning: rename(cache/PlexMediaServer-1.22.0.4145_thumb_72.png): failed to open stream: Permission denied in /var/www/localhost/htdocs/lib/SSpkS/Package/Package.php on line 223
[Sun Mar 07 21:55:21.758623 2021] [php7:warn] [pid 13] [client 10.24.0.2:48154] PHP Warning: rename(/tmp/PACKAGE_ICON.PNG,cache/PlexMediaServer-1.22.0.4145_thumb_72.png): Permission denied in /var/www/localhost/htdocs/lib/SSpkS/Package/Package.php on line 223
10.24.0.2 - - [07/Mar/2021:21:55:21 +0000] "GET /?package_update_channel=stable&unique=synology_apollolake_918%2B&build=25426&language=ger&major=6µ=3&arch=apollolake&minor=2&timezone=Amsterdam&group_id=8221&nano=3 HTTP/1.1" 200 15 "-" "synology_apollolake_918+ DSM6.2-25426 Update 3 (package)"
[Sun Mar 07 21:55:54.199049 2021] [php7:warn] [pid 8] [client 10.24.0.2:48182] PHP Warning: rename(cache/PlexMediaServer-1.22.0.4145.nfo): failed to open stream: Permission denied in /var/www/localhost/htdocs/lib/SSpkS/Package/Package.php on line 223
[Sun Mar 07 21:55:54.199129 2021] [php7:warn] [pid 8] [client 10.24.0.2:48182] PHP Warning: rename(/tmp/INFO,cache/PlexMediaServer-1.22.0.4145.nfo): Permission denied in /var/www/localhost/htdocs/lib/SSpkS/Package/Package.php on line 223
[Sun Mar 07 21:55:54.199212 2021] [php7:warn] [pid 8] [client 10.24.0.2:48182] PHP Warning: parse_ini_file(cache/PlexMediaServer-1.22.0.4145.nfo): failed to open stream: No such file or directory in /var/www/localhost/htdocs/lib/SSpkS/Package/Package.php on line 149
[Sun Mar 07 21:55:54.199234 2021] [php7:notice] [pid 8] [client 10.24.0.2:48182] PHP Notice: Undefined index: arch in /var/www/localhost/htdocs/lib/SSpkS/Package/Package.php on line 156
[Sun Mar 07 21:55:54.199396 2021] [php7:warn] [pid 8] [client 10.24.0.2:48182] PHP Warning: touch(): Unable to create file cache/PlexMediaServer-1.22.0.4145.nowiz because Permission denied in /var/www/localhost/htdocs/lib/SSpkS/Package/Package.php on line 254
[Sun Mar 07 21:55:54.199746 2021] [php7:warn] [pid 8] [client 10.24.0.2:48182] PHP Warning: rename(cache/PlexMediaServer-1.22.0.4145_thumb_72.png): failed to open stream: Permission denied in /var/www/localhost/htdocs/lib/SSpkS/Package/Package.php on line 223
[Sun Mar 07 21:55:54.199776 2021] [php7:warn] [pid 8] [client 10.24.0.2:48182] PHP Warning: rename(/tmp/PACKAGE_ICON.PNG,cache/PlexMediaServer-1.22.0.4145_thumb_72.png): Permission denied in /var/www/localhost/htdocs/lib/SSpkS/Package/Package.php on line 223
10.24.0.2 - - [07/Mar/2021:21:55:54 +0000] "GET /?package_update_channel=stable&unique=synology_apollolake_918%2B&build=25426&language=ger&major=6µ=3&arch=apollolake&minor=2&timezone=Amsterdam&group_id=8221&nano=3 HTTP/1.1" 200 15 "-" "synology_apollolake_918+ DSM6.2-25426 Update 3 (package)"`