Skip to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cannot Move Froxlor to VAR HTML

Featured Replies

  • 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

 

  • Replies 72
  • Views 13.1k
  • Created
  • Last Reply

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 ;)

  • Author

something like this?

sudo chown www-data:www-data <froxlor>
sudo chmod g+w <froxlor>
  • Author

the syntax is not valid

  • Author

I tried chown froxlor /www-data too without success

  • Author

I did check the chown help

and wrote chown root /froxlor

without success
 

chown -R www-data:www-data /var/www/froxlor

  • 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
 

Well where did you install froxlor to? That's something you should know instead of blindly copy'n'pasting and running commands posted here :P

  • 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.

  • Author

Also, considering I have already insalled it why it still shows the froxlor installation window 

http://185.181.9.139/froxlor/

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

  • 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.

  • 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)

 

 

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

  • 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

 

  • 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
 

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? 

  • Author

yes the main document root is /var/www/html/

  • Author

user name and group name www-data

the permissions should be already set for this user

  • Author

And I have that froxlor folder too

  • Author

I did check the ownership with ls -l /var/www/html/froxlor/ but it provided me with the list of files

  • 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.