Download problem Debian 11 bullseye

Linux related discussion about netjukebox
Locked
thepope
User
Posts: 1
Joined: Sat Oct 22, 2022 7:19 pm

Download problem Debian 11 bullseye

Post 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
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Download problem Debian 11 bullseye

Post 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;
User avatar
wbartels
netjukebox developer
Posts: 881
Joined: Thu Nov 04, 2004 3:12 pm
Location: Netherlands
Contact:

Re: Download problem Debian 11 bullseye

Post by wbartels »

No reaction, lock ticket
Locked