Jump to content
Froxlor Forum
  • 0

Cannot Move Froxlor to VAR HTML


john9

Question

Hi there, 

I run UBUNTU 18.04 and installed LAMP.

MySQL and PHP everything good.

Installed Froxlor BUT I cannot move it to var/www/html because it says it is not empty 

 

mv: cannot move 'froxlor/actions' to '/var/www/html/actions': Directory not empty
mv: cannot move 'froxlor/css' to '/var/www/html/css': Directory not empty
mv: cannot move 'froxlor/doc' to '/var/www/html/doc': Directory not empty
mv: cannot move 'froxlor/install' to '/var/www/html/install': Directory not empty
 

I have also tried to clean the folder with

du -csh /var/*

but it did not work when trying to move it I still have this warning message.

 

please help

Link to comment
Share on other sites

  • Answers 72
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

Recommended Posts

  • 0

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

Link to comment
Share on other sites

  • 0

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)

 

 

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

  • 0


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

 

Link to comment
Share on other sites

  • 0


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
 

Link to comment
Share on other sites

  • 0

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? 

Link to comment
Share on other sites

  • 0

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
 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...