error creating new user [SOLVED]
error creating new user
(Problems not related to KeyHelp belong in the Offtopic forum)
Server operating system + version
Debian 11.7 (64-bit)
Server virtualization technology used
KVM
KeyHelp version + build number
23.1.1 (Build 3016)
Problem description / error messages
Whenever I try to create a new user, it says
An error occurred.
and in System Status -> Event Logs it says
Expected result
add user
Actual result
adding user with error
Steps to reproduce
Additional information
It does not say, what exactly the error is. How Can I resolve this?
Re: error creating new user
please check "General -> System Status -> Logs -> Processing of tasks (update.log)" around 2023-08-20 03:52:00.
I guess it has something to do with Quota on your system.
Did any errors occur during the installation?
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: error creating new user
Thank you for replying. There were no errors during installation.
I get the following in the log
[20-Aug-2023 03:52:02] ERROR | setquota: Mountpoint (or device) / not found or has no quota enabled.
setquota: Not all specified mountpoints are using quota.
How can i fix this?
Re: error creating new user
Please upload the content of /var/log/keyhelp/install.log
Please upload the content of your /etc/fstab
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: error creating new user
/var/log/keyhelp/install.log
Code: Select all
================================================================================
Placeholders
================================================================================
install.ssh_keys =
install.nagios =
install.midnight_commander =
install.server_setup =
install.server_setup_dev =
install.hide_lts_notice = 1
install.hostname =
general.preferred_protocol = ipv4
system.email = root@***HOSTNAME***
server.domain = ***HOSTNAME***
server.alias = ***IP_0*** ***IP_1***
server.current_hostname = ***HOSTNAME***
server.timezone = Europe/Stockholm
server.fstab = # /etc/fstab: static file system information.
UUID=ce1e50b7-51ad-4707-a483-8003a82ef2a1 / xfs defaults,usrquota,grpquota 0 0
# /boot/efi was on /dev/vda2 during installation
UUID=9D15-2D5E /boot/efi vfat umask=0077 0 1
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sr1 /media/cdrom1 udf,iso9660 user,noauto 0 0
encryption.base = ***KH_ENCRYPTION_BASE***
webserver.log_format_with_logio = %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O
webserver.log_format_without_logio = %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" 0 0
webserver.http_port = 80
webserver.https_port = 443
webserver.redirect_url_domain_not_found = https://***HOSTNAME***/index.php?page=domain_not_found
dir.home = /home/keyhelp
dir.keyhelp = /home/keyhelp/www/keyhelp
dir.webmail = /home/keyhelp/www/webmail
dir.roundcube = /home/keyhelp/www/roundcube
dir.rainloop = /home/keyhelp/www/rainloop
dir.snappymail = /home/keyhelp/www/snappymail
dir.db-administration = /home/keyhelp/www/db-administration
dir.phpmyadmin = /home/keyhelp/www/phpmyadmin
dir.adminer = /home/keyhelp/www/adminer
dir.statistics = /home/keyhelp/www/keyhelp.webstats
dir.acme_challenge = /home/keyhelp/www/.well-known/acme-challenge
dir.autoconfig = /home/keyhelp/www/keyhelp/misc/emailconfig
email.enable_virus_checks = 1
dovecot.imap_login_process_limit = 100
dovecot.max_userip_connections = 10
dovecot.enforce_quota = 1
postfix.inet_protocols = ipv4
avscan.virus_signatures_type = good
clamav.signatures_for_config =
php.version = 7.4
db.tuning_file = tuning.cnf
db.setup.username = root
db.setup.password = ***DB_SETUP_PASS***
db.root.username = root
db.root.password = ***DB_SETUP_PASS***
db.keyhelp.host = localhost
db.keyhelp.username = keyhelp
db.keyhelp.password = ***DB_KH_PASS***
db.keyhelp.database = keyhelp
db.keyhelp_root.host = localhost
db.keyhelp_root.username = keyhelp_root
db.keyhelp_root.password = ***DB_KH_ROOT_PASS***
bind.rname = root.***HOSTNAME***.
bind.serial = 2023080600
bind.name_servers.0 = ns.***HOSTNAME***.
bind.name_servers.1 = ns2.***HOSTNAME***.
bind.glue_records.0.ns = ns
bind.glue_records.0.class = A
bind.glue_records.0.ip = ***IP_0***
bind.glue_records.1.ns = ns2
bind.glue_records.1.class = AAAA
bind.glue_records.1.ip = ***IP_1***
bind.ips_v4.0 = ***IP_0***
bind.ips_v6.0 = ***IP_1***
admin.username = keyadmin
admin.password = ***KH_ADMIN_PASS***
admin.email = admin@domain.com
phpmyadmin.password = ***PMA_PASS***
phpmyadmin.blowfishsecret = ***PMA_CRYPT***
roundcube.product_name = KeyHelp Webmail
roundcube.support_url =
roundcube.password = ***RC_PASS***
roundcube.plugins = 'managesieve','password','markasjunk','keyhelp_sync_identities'
roundcube.plugins_db = managesieve, password, markasjunk, keyhelp_sync_identities
roundcube.skin = elastic
roundcube.logo =
roundcube.logo_login =
roundcube.logo_favicon =
roundcube.24_byte_des_key = ***RC_CRYPT***
roundcube.pw_length = 8
rainloop.product_name = KeyHelp Webmail
rainloop.password = ***RL_PASS***
rainloop.language = en
snappymail.product_name = KeyHelp Webmail
The error I get there:
Code: Select all
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "UTF-8",
LC_TERMINAL = "iTerm2",
LANG = "en_US.UTF-8"
and
/etc/fstab
Code: Select all
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run 'systemctl daemon-reload' after making changes here.
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/vda3 during installation
UUID=ce1e50b7-51ad-4707-a483-8003a82ef2a1 / xfs defaults,usrquota,grpquota 0 0
# /boot/efi was on /dev/vda2 during installation
UUID=9D15-2D5E /boot/efi vfat umask=0077 0 1
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/sr1 /media/cdrom1 udf,iso9660 user,noauto 0 0
- Jolinar
- Community Moderator
- Posts: 4003
- Joined: Sat 30. Jan 2016, 07:11
- Location: Weimar (Thüringen)
- Contact:
Re: error creating new user
Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
- In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
In this color, I write as a moderator and provide moderative guidance or justify moderative interventions - In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
In this color, I write as a community member and share my personal opinions and views
Re: error creating new user
some images for virtual servers do not include the mod_quotav2 modules.
Run the command
Code: Select all
quotaon /
Code: Select all
quotaon: Quota format not supported in kernel
Code: Select all
apt-get install linux-image-extra-virtual
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: error creating new user
It's 3522 lines of logs, shall i paste them all?
Hi,Florian wrote: ↑Tue 22. Aug 2023, 14:58 Hallo,
some images for virtual servers do not include the mod_quotav2 modules.
Run the commandIf you get the error:Code: Select all
quotaon /
Install the package linux-image-extra-virtualCode: Select all
quotaon: Quota format not supported in kernel
Code: Select all
apt-get install linux-image-extra-virtual
I get:
Code: Select all
quotaon /
quotaon: Mountpoint (or device) / not found or has no quota enabled
- Jolinar
- Community Moderator
- Posts: 4003
- Joined: Sat 30. Jan 2016, 07:11
- Location: Weimar (Thüringen)
- Contact:
Re: error creating new user
You could attach it as a file attachment to your post...
Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
- In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
In this color, I write as a moderator and provide moderative guidance or justify moderative interventions - In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
In this color, I write as a community member and share my personal opinions and views
Re: error creating new user
Pasted stuff, even if marked as code, is hard to read if it is long text.
Save it into a *txt file and attach it.
However, you need to enable quota.
Jolinar was faster … however, I already typed it …
--
A Windows user reinstalls software every few weeks.
A Linux user reinstalls software every few weeks.
The difference is with Linux the version numbers change.
Re: error creating new user
regarding the fstab you are using xfs filesystem. The quota handling is different to ext4
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: error creating new user
Getting permission error, downloading it.
How do i convert it to txt?
- Jolinar
- Community Moderator
- Posts: 4003
- Joined: Sat 30. Jan 2016, 07:11
- Location: Weimar (Thüringen)
- Contact:
Re: error creating new user
Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
- In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
In this color, I write as a moderator and provide moderative guidance or justify moderative interventions - In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
In this color, I write as a community member and share my personal opinions and views
Re: error creating new user
Or switch to ext4 file system straight away (recommended).
It's from the German area of this forum, but I prepared a Google Translate link for you:
https://community-keyhelp-de.translate. ... r_pto=wapp
@Chalipa, because of this statement, i would recommend you are asking your provider or a more experienced person, to help you with the above link / switch.
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Re: error creating new user [SOLVED]
OK I tested it. It works like discussed in the other thread
1. Open /etc/default/grub
2. Change the line
Code: Select all
GRUB_CMDLINE_LINUX=""
Code: Select all
GRUB_CMDLINE_LINUX="rootflags=usrquota,grpquota"
4. reboot
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************