Page 1 of 1

Download problem Debian 11 bullseye

Posted: Sat Oct 22, 2022 7:23 pm
by thepope
Hello ,
after I have to recreate my server I get the following message :

Failed to create directory:
/srv/dev-disk-by-uuid-921e6cea-f508-4248-aa46-cf380660e000/htdocs/netjuke/cache/1/0/10aad08a4baeb23cc54f315f7499acf2804ba80c/

I checked the permission from Directories and files, same as before with the old server.

Someone an Idea ?

best regards

Heiko from Germany

Re: Download problem Debian 11 bullseye

Posted: Mon Oct 24, 2022 4:46 pm
by wbartels
On my Ubuntu server the netjukebox and media directory have the following privileges:
Mode: 0775
Owner: username/www-data

What happens when running this small test script?

Code: Select all

<?php
$dir = '/srv/dev-disk-by-uuid-921e6cea-f508-4248-aa46-cf380660e000/htdocs/netjuke/test_01_directory/';

if (!is_dir($dir) && !@mkdir($dir, 0777))
    echo('Failed to create directory:<br>' . $dir);
else
    echo 'Ok:<br>' . $dir;

Re: Download problem Debian 11 bullseye

Posted: Sun Mar 19, 2023 10:09 pm
by wbartels
No reaction, lock ticket