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.

Froxlor can't create user folder in /var/customers/webs/ either vhost file in /etc/apache2/sites-enabled/

Featured Replies

Hello,

I used Froxlor for Years on Debian 7 without any problem.

I've just installed Froxlor on a new v-server Debian 8.11 image.

Every things are well installed, but Froxlor can't write the folder of a new customer in /var/customers/webs/ folder.

I first add a new customer and add a new domain for this customer. On my previous installation, the folder was created automatically at this moment.

No new file in /etc/apache2/sites-enabled/ either, so no v-hosting.

No error reporting.

I'm not experimented in Linux OS, but it seems Froxlor have authorisation problems.

I've discovered that my v-server is chrooted by the hosting and don't know if it's a problem.

Can someone tell me if I have to adjust some configurations to solve the situation ?

Thanks.

Thierry Gronchi

Sounds like the cronjob did not run, try 

php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force --debug

 

  • Author

php /var/www/froxlor/scripts/froxlor_master_cronjob.php --force -                                                                                                               -debug
[information] cron_tasks: Searching for tasks to do
[information] cron_tasks: Task2 started - create new home
[notice] Running: mkdir -p '/var/customers/webs/Thierry/webalizer'
[notice] Running: mkdir -p '/var/customers/mail/Thierry/'
[notice] Running: cp -a /var/www/froxlor/templates/misc/standardcustomer/* '/var/customers/webs/Th                                                                                                               ierry/'
[notice] Running: chown -R 10000:10000 '/var/customers/webs/Thierry/'
[notice] Running: chown -R 2000:2000 '/var/customers/mail/Thierry/'
[information] apache::createIpPort: creating ip/port settings for  141.101.32.184:80
[notice] 141.101.32.184:80 :: namevirtualhost-statement no longer needed for apache-2.4
[debug] 141.101.32.184:80 :: inserted vhostcontainer
[information] apache::writeConfigs: rebuilding /etc/apache2/sites-enabled/
[information] apache::writeConfigs: rebuilding /etc/apache2/htpasswd/
[information] apache::writeConfigs: rebuilding /etc/apache2/sites-enabled/
[information] apache::reload: reloading apache
[information] Task4 started - Rebuilding froxlor_bind.conf
[information] Cleaning dns zone files from /etc/bind/domains/
[notice] mkdir '/etc/bind/domains/'
[information] No domains found for nameserver-config, skipping...
[notice] Checking system's last guid
 

  • Author

Hello, thanks for response. I sended the result before... sorry.

so, see, everythings fine. Please verify that /etc/cron.d/froxlor exists and nopaste its content so I can see whether everything is fine in there

  • Author

Effectively, it seems to work now.

I've change a setting in /etc/passwd :

www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin -> www-data:x:33:33:www-data:/var/www:/bin/sh

Is it possible that was the problem ?

 

 

eh, no, you should not edit /etc/passwd manually nor should it be required

  • Author

I did it by vipw and vipw -s (for the shadow)

I have a backup of passwd in case of mistake.

But I cannot see what else made the cron job works now and not before.

I tryed during four days without success and nows all works fine. Customers folders, v-hosting, ftp acces are ok.

www-data has NOTHING to do with the cronjob. Did you set it up correctly like shown in the configuration template steps? You should've created the file /etc/cron.d/froxlor yourself and put shown content into it.

  • Author

I have copy and pate in SSH from Froxlor configurations templates step by step, and verified all at least 10 times.

/etc/cron.d/froxlor exists since 4 days.

at the end of first configuration in web browser, it was demanded in orange to manualy copy userdata.inc.php from /tmp to /froxlor/lib,

what I did.

 

 

/froxlor/lib ? I hope you mean /var/www/froxlor/lib...

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.