November 11, 20196 yr Author now I installed it. And I see this message File was saved in /tmp/userdata.inc.php, please move to /var/www/html/froxlor/lib/. I saw a similar issue in the forum and you provided this solution mv /tmp/userdata.inc.php /var/www/froxlor/lib But it doesn't work with me ubuntu and apache and it says mv /tmp/userdata.inc.php /var/www/froxlor/lib mv: cannot stat '/tmp/userdata.inc.php': No such file or directory despite it was saved in that directory
November 11, 20196 yr If the file.is really saved there, you as root should be able to copy it - to avoid that extra step, just chown your Froxlor directory with www-data user
November 11, 20196 yr Author something like this? sudo chown www-data:www-data <froxlor> sudo chmod g+w <froxlor>
November 11, 20196 yr Author I did check the chown help and wrote chown root /froxlor without success
November 12, 20196 yr Author Thank you for your patience. I tried but it says chown -R www-data:www-data /var/www/froxlor chown: cannot access '/var/www/froxlor': No such file or directory
November 12, 20196 yr Well where did you install froxlor to? That's something you should know instead of blindly copy'n'pasting and running commands posted here
November 12, 20196 yr Author the installation folder was froxlor and we can even see the installation window using that folder so I thought to see the files there.
November 12, 20196 yr Author Also, considering I have already insalled it why it still shows the froxlor installation window http://185.181.9.139/froxlor/
November 12, 20196 yr Well you did not copy the lib/userdata.inc.php file as stated thus froxlor does not know about its database hence installation. Please just follow the installation manual in our wiki, it's all in there and if followed correctly you will not have any issues
November 12, 20196 yr Author Just to be sure I'm on the right path - I'm on it. https://github.com/Froxlor/Froxlor/wiki/Install-froxlor-on-ubuntu
November 12, 20196 yr That is correct, now did you especially follow part 4? And then as said from part 3 on in the tarball wiki entry? -> https://github.com/Froxlor/Froxlor/wiki/Install-froxlor-from-tarball Also, be SURE the ubuntu package set the ownership correctly to www-data for /var/www/froxlor if not done already
November 12, 20196 yr Author I wasn't on it. I'm on it. I mean I'm installing it. I understand the last parts are my issues. Let's see it. For instance thank you very much for your support.
November 12, 20196 yr Author following step by step https://github.com/Froxlor/Froxlor/wiki/Install-froxlor-on-ubuntu and https://github.com/Froxlor/Froxlor/wiki/Install-froxlor-from-tarball At the end of everything I come back to the same error message: Could not create /var/www/html/froxlor/lib/userdata.inc.php, please create it manually with the following content at same the chown command seems does not fix this issue I'm ready to create it manually if you suggest me a kind of tutorial (not tons of pages)
November 12, 20196 yr Then it's either the wrong user or you did something wrong with the chown. Bs sure to use the user the Webserver runs as, otherwise it cannot create files or write to the directory. What do the following two commands output? # ls -la /var/www/ # ps faux | grep apache
November 12, 20196 yr Author root@biz:~# ls -la /var/www/ total 20 drwxr-xr-x 5 root root 4096 Nov 12 07:50 . drwxr-xr-x 14 root root 4096 Nov 4 09:53 .. drwxr-xr-x 15 www-data www-data 4096 Nov 1 13:27 froxlor drwxr-xr-x 15 www-data www-data 4096 Nov 11 21:48 html drwxr-xr-x 2 root root 4096 Nov 12 07:39 webalizer
November 12, 20196 yr Author root@biz:~# ps faux | grep apache root 19974 0.0 0.0 14428 992 pts/0 S+ 08:57 0:00 \_ grep --color=auto apache root 19549 0.0 2.7 497268 27068 ? Ss 08:16 0:00 /usr/sbin/apache2 -k start www-data 19569 0.0 2.2 500428 22044 ? S 08:16 0:00 \_ /usr/sbin/apache2 -k start www-data 19570 0.0 2.0 500288 20784 ? S 08:16 0:00 \_ /usr/sbin/apache2 -k start www-data 19571 0.0 1.5 499632 15212 ? S 08:16 0:00 \_ /usr/sbin/apache2 -k start www-data 19572 0.0 2.3 500372 23412 ? S 08:16 0:00 \_ /usr/sbin/apache2 -k start www-data 19573 0.0 2.1 500364 21712 ? S 08:16 0:00 \_ /usr/sbin/apache2 -k start www-data 19577 0.0 1.5 499608 15212 ? S 08:16 0:00 \_ /usr/sbin/apache2 -k start
November 12, 20196 yr Okay, weird, that looks just fine, both are www-data. And you are sure you pointed the default vhost to /var/www/ instead of /var/www/html/? Because your standard index.html looks more like it points to /var/www/html - do you by any chance have /var/www/html/froxlor/? What's the ownership there?
November 12, 20196 yr Author user name and group name www-data the permissions should be already set for this user
November 12, 20196 yr Author I did check the ownership with ls -l /var/www/html/froxlor/ but it provided me with the list of files
November 12, 20196 yr Author example -rw-r--r-- 1 1000 1000 1309 Nov 1 13:27 phpcs.xml -rw-r--r-- 1 1000 1000 1119 Nov 1 13:27 phpdox.xml -rw-r--r-- 1 1000 1000 1325 Nov 1 13:27 phpmd.xml -rw-r--r-- 1 1000 1000 1606 Nov 1 13:27 phpunit.xml -rw-r--r-- 1 1000 1000 1906 Nov 1 13:27 README.md drwxr-xr-x 2 1000 1000 4096 Nov 1 13:27 scripts -rw-r--r-- 1 1000 1000 749 Nov 1 13:27 SECURITY.md -rw-r--r-- 1 1000 1000 5610 Nov 1 13:27 ssl_certificates.php drwxr-xr-x 4 1000 1000 4096 Nov 1 13:27 templates drwxr-xr-x 19 1000 1000 4096 Nov 1 13:27 tests drwxr-xr-x 8 1000 1000 4096 Nov 1 13:27 vendor
Archived
This topic is now archived and is closed to further replies.