error creating new user [SOLVED]
error creating new user
I'm sure the cause of the problem is within KeyHelp
(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?
(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
Hello,
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?
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?
Mit freundlichen Grüßen / Best regards
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
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
Hi,
Thank you for replying. There were no errors during installation.
I get the following in the log
How can i fix this?
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
Hello,
Please upload the content of /var/log/keyhelp/install.log
Please upload the content of your /etc/fstab
Please upload the content of /var/log/keyhelp/install.log
Please upload the content of your /etc/fstab
Mit freundlichen Grüßen / Best regards
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
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
Hi again,
/var/log/keyhelp/install.log
The error I get there:
and
/etc/fstab
/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: 3612
- Joined: Sat 30. Jan 2016, 07:11
- Location: Weimar (Thüringen)
- Contact:
Re: error creating new user
This is not the complete content of /var/log/keyhelp/install.log
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)
Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
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
Hallo,
some images for virtual servers do not include the mod_quotav2 modules.
Run the command
If you get the error:
Install the package linux-image-extra-virtual
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
Mit freundlichen Grüßen / Best regards
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
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: 3612
- 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...
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)
Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
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 …
mfg Micha
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
--
If Bill Gates had a nickel for every time Windows crashed …
… oh wait, he does.
Re: error creating new user
Hallo,
regarding the fstab you are using xfs filesystem. The quota handling is different to ext4
regarding the fstab you are using xfs filesystem. The quota handling is different to ext4
Mit freundlichen Grüßen / Best regards
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
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: 3612
- Joined: Sat 30. Jan 2016, 07:11
- Location: Weimar (Thüringen)
- Contact:
Re: error creating new user
Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)
Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
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
Regarding the XFS file system - read the link below for 'How to setup quota in combination with a XFS file system'.
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
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.
Mit freundlichen Grüßen / Best regards
Alexander Mahr
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
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]
Hallo,
OK I tested it. It works like discussed in the other thread
1. Open /etc/default/grub
2. Change the line
to
3. run update-grub
4. reboot
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
Mit freundlichen Grüßen / Best regards
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Florian Cheno
**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************