Hi, I'm using a openvz client (if I can call it that) and when updating the quota's for my users I just get no update at all regarding the quota. When editing the quota manually with "edquota" it works fine. Anyone that know something about this?
Which ISPConfig version? You are talking about quota inside the vm and you used edquota inside the vm as well?
I just tested: some servers are running on kvm, some on openvz, but both do not set quota's. When adding a website with quota it shows as unlimited. Steps I took: Add website (on srv008 for example) run update /usr/local/ispconfig/server/server.sh check webroot: /var/www/domain --> exists --> symlink to web293 Code: repquota -a | grep web293 web293 -- 80 0 0 19 0 0 It should be more like: Code: repquota -a | grep web40 web40 -- 176476 921600 922624 7904 0 0 (to clarify: quota's used to work, but somehow managed to not work anymore)
Debug log: Code: 22.07.2016-05:27 - DEBUG - Calling function 'check_phpini_changes' from plugin 'webserver_plugin' raised by action 'server_plugins_loaded'. 22.07.2016-05:27 - DEBUG - Found 1 changes, starting update process. 22.07.2016-05:27 - DEBUG - Replicated from master: REPLACE INTO `web_domain` (`domain_id`,`sys_userid`,`sys_groupid`,`sys_perm_user`,`sys_perm_group`,`sys_perm_other`,`server_id`,`ip_address`,`ipv6_address`,`domain`,`type`,`parent_domain_id`,`vhost_type`,`document_root`,`web_folder`,`system_user`,`system_group`,`hd_quota`,`traffic_quota`,`cgi`,`ssi`,`suexec`,`errordocs`,`is_subdomainwww`,`subdomain`,`php`,`ruby`,`python`,`perl`,`redirect_type`,`redirect_path`,`seo_redirect`,`rewrite_to_https`,`ssl`,`ssl_state`,`ssl_locality`,`ssl_organisation`,`ssl_organisation_unit`,`ssl_country`,`ssl_domain`,`ssl_request`,`ssl_cert`,`ssl_bundle`,`ssl_key`,`ssl_action`,`stats_password`,`stats_type`,`allow_override`,`apache_directives`,`nginx_directives`,`php_fpm_use_socket`,`pm`,`pm_max_children`,`pm_start_servers`,`pm_min_spare_servers`,`pm_max_spare_servers`,`pm_process_idle_timeout`,`pm_max_requests`,`php_open_basedir`,`custom_php_ini`,`backup_interval`,`backup_copies`,`backup_excludes`,`active`,`traffic_quota_lock`,`fastcgi_php_version`,`proxy_directives`,`enable_spdy`,`last_quota_notification`,`rewrite_rules`,`added_date`,`added_by`,`ssl_letsencrypt`,`directive_snippets_id`,`enable_pagespeed`,`http_port`,`https_port`) VALUES ('294','1','6','riud','ru','','8','*','','test.ichtushosting.com','vhost','0','name','/var/www/clients/client5/web294','','web294','client5','200','-1','n','n','y','1','1','www','php-fpm','n','n','n',NULL,NULL,NULL,'n','n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'webalizer','All',NULL,NULL,'y','ondemand','10','2','1','5','10','0','/var/www/clients/client5/web294/web:/var/www/clients/client5/web294/private:/var/www/clients/client5/web294/home:/var/www/clients/client5/web294/tmp:/var/www/test.ichtushosting.com/web:/srv/www/test.ichtushosting.com/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin',NULL,'none','1',NULL,'y','n','php 5.6:/etc/init.d/php-5.6-fpm:/opt/php-5.6/lib:/opt/php-5.6/etc/pool.d',NULL,'n',NULL,NULL,'2016-07-22','admin','n','0','n','80','443') 22.07.2016-05:27 - DEBUG - Calling function 'ssl' from plugin 'apache2_plugin' raised by event 'web_domain_insert'. 22.07.2016-05:27 - DEBUG - Calling function 'insert' from plugin 'apache2_plugin' raised by event 'web_domain_insert'. 22.07.2016-05:27 - DEBUG - Adding the user: web294 22.07.2016-05:27 - DEBUG - Creating symlink: ln -s /var/www/clients/client5/web294/ /var/www/test.ichtushosting.com 22.07.2016-05:27 - DEBUG - Creating symlink: ln -s /var/www/clients/client5/web294/ /var/www/clients/client5/test.ichtushosting.com 22.07.2016-05:27 - DEBUG - exec: chown -R web294:client5 /var/www/clients/client5/web294/web 22.07.2016-05:27 - DEBUG - exec: chown web294:client5 /var/www/clients/client5/web294/web 22.07.2016-05:27 - DEBUG - exec: usermod --groups sshusers web294 2>/dev/null 22.07.2016-05:27 - DEBUG - Writing the vhost file: /etc/apache2/sites-available/test.ichtushosting.com.vhost 22.07.2016-05:27 - DEBUG - Creating symlink: /etc/apache2/sites-enabled/100-test.ichtushosting.com.vhost->/etc/apache2/sites-available/test.ichtushosting.com.vhost 22.07.2016-05:27 - DEBUG - Writing the PHP-FPM config file: /opt/php-5.6/etc/pool.d/web294.conf 22.07.2016-05:27 - DEBUG - Calling function 'restartPHP_FPM' from module 'web_module'. 22.07.2016-05:27 - DEBUG - Restarting php-fpm: systemctl reload php-5.6-fpm.service 22.07.2016-05:27 - DEBUG - Apache status is: running 22.07.2016-05:27 - DEBUG - Calling function 'restartHttpd' from module 'web_module'. 22.07.2016-05:27 - DEBUG - Restarting httpd: systemctl restart apache2.service 22.07.2016-05:27 - DEBUG - Apache restart return value is: 0 22.07.2016-05:27 - DEBUG - Apache online status after restart is: running 22.07.2016-05:27 - DEBUG - Processed datalog_id 5107 22.07.2016-05:27 - DEBUG - Remove Lock: /usr/local/ispconfig/server/temp/.ispconfig_lock
It might be that ispconfig 3.1 does not recognize the filesystem as quota capable. Please post the output of: df -h
Code: root@srv008 ~ # df -h Filesystem Size Used Avail Use% Mounted on /dev/simfs 200G 70G 131G 35% / devtmpfs 512M 0 512M 0% /dev none 512M 0 512M 0% /dev/shm tmpfs 512M 52M 461M 11% /run tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 512M 0 512M 0% /sys/fs/cgroup tmpfs 512M 44K 512M 1% /tmp
Just checked the code, it handles ext2 - 4 and xfs. I guess we have to add simfs ther as well. May you please run this command and post the result: df -T /var/www|awk 'END{print $2,$NF}'
Really just "sims" and not "simfs"? Sometimes OpenVZ can be funny, I tested some of my servers, df -h shows it as simfs on all of them, the df -T command shows reiserfs on one node and simfs on another. If you are sure that its just sims on your server, then I'll add that to the list as of supported fs.
It was fixed with an update of ISPConfig, running RC1 fixed things ;-). Open a new bug report for your specific case, did you follow the outline above?
yes, I tried everything in this thread. If I use setquota it works but not with ispconfig. I will try it now again with an older ispconfig version. EDIT: with the version ISPConfig-3-stable it works. looks like a bug in ISPConfig-3.1rc1