Your account is not fully set up - some functions are limited. | OpenVZ quota issue  [SOLVED]

Have you discovered a bug? Tell us about it.
Post Reply
User avatar
BasHeijermans
KeyHelp Translator
Posts: 158
Joined: Mon 20. Jun 2022, 12:01
Location: Heppen Belgium
Contact:

Your account is not fully set up - some functions are limited. | OpenVZ quota issue

Post by BasHeijermans »

Hi there,

I'm using KeyHelp for a few minths now and it works great, apart from this message:

"Your account is not fully set up - some functions are limited."

I have updated all user-information, checked the logs, tried to find information why this happens.

But I can not find any solution why this happens and as such it won't let me create ftp-users.

When I installed the software inthe beginning I did have the Quota-drive problem and had to use the fix of the forum to make it install.
I think it has to do with Quota.

How do I get past this user-error that shows all the time no matter what I do.

I do run a VPS and my fstab is this:

Code: Select all

proc  /proc       proc    defaults    0    0
none  /dev/pts    devpts  rw,gid=5,mode=620    0    0
none  /run/shm    tmpfs   defaults    0    0

/dev/ploop63xxxp1     /     simfs     rw,relatime,usrquota,grpquota     0     1
tmpfs /var/tmp tmpfs size=5%,nosuid,noexec 0 0
tmpfs /tmp tmpfs size=5%,nosuid,noexec 0 0
I expect quota to be the problem as in the dashboard it doesn't show www usage, just says 0 used.
But it does count disksize, email and databasesize.
Greetings Bas.

Ik heb KeyHelp naar het Nederlands vertaald, contacteer me als er translatie fouten zijn.
(I have translated KeyHelp into Dutch, contact me if there are translation errors.)
Next version 24 of KeyHelp 100% translated.
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

Re: Your account is not fully set up - some functions are limited.

Post by Alexander »

Hello,

Normally, after setting up a new user account, the account is not ready until all background tasks to set up the system user are completed (this can take up to 1 minute).

So there seems to have been a problem setting up this particular user account. And yes, it is safe to say that the problem was related to the quota issue.
Is the quota running smoothly on your system now? Can other user accounts be created without problems (after waiting at least a minute after creating the user)?

--

Anyway, to fix your problem, we need the system user ID and group ID.

1) To get those values call the following command:

Code: Select all

id <USERNAME>
You will receive something like this.

Code: Select all

uid=5001(alex) gid=5001(alex) groups=5001(alex),1001(keyhelp_file_manager),1005(keyhelp_chroot)
Now take the "uid" and "gid" numbers, we need them in step 2)

2) Log into the database of KeyHelp (via phpmyadmin, or via console). Go to the `users` table inside the `keyhelp` database and pick the row of the particular user account. You will see, this user has "NULL" in its "uid" and "gid" columns. Insert the numbers gathered in step 1) and put them into the appropriate column.

=> Done
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
**************************************************************
User avatar
BasHeijermans
KeyHelp Translator
Posts: 158
Joined: Mon 20. Jun 2022, 12:01
Location: Heppen Belgium
Contact:

Re: Your account is not fully set up - some functions are limited.

Post by BasHeijermans »

That worked!!! Great!!! :D

However, I had 2 accounts created about 6 months ago, they both had no UID and GID.

Will this happen everytime?

Also, do I need to do the same for the admin-accounts? They don't complain.

I do not know if quota is running as I never looked at it or even used it before.
Quota is installed but doesn't seem to work:

Code: Select all

quotacheck -cug /dev/ploop63xxxp1
quotacheck: Cannot stat() given mountpoint /dev/ploop63xxxp1: Bestand of map bestaat niet
Skipping...
quotacheck: No correct mountpoint specified.
quotacheck: Cannot initialize mountpoint scan.
also

Code: Select all

quota bas
Gives no output at all.

Bas.

Ps. it's a private server, just for myself and a friend, where can I donate some money to support your project?
Greetings Bas.

Ik heb KeyHelp naar het Nederlands vertaald, contacteer me als er translatie fouten zijn.
(I have translated KeyHelp into Dutch, contact me if there are translation errors.)
Next version 24 of KeyHelp 100% translated.
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

Re: Your account is not fully set up - some functions are limited.

Post by Alexander »

When I installed the software inthe beginning I did have the Quota-drive problem and had to use the fix of the forum to make it install.
Can you first tell, which fix you have implemented? Just to see, what you have tried already.
What server virtualization are you using (if any)?

Will this happen everytime?
As long, as the qouta is somehow not working on your system, that its verly likely to happen every time. Let's use this thread to fix the quota issue ;).

Also, do I need to do the same for the admin-accounts? They don't complain.
Admin accounts are fine, they do not need uid/gid.
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
**************************************************************
User avatar
BasHeijermans
KeyHelp Translator
Posts: 158
Joined: Mon 20. Jun 2022, 12:01
Location: Heppen Belgium
Contact:

Re: Your account is not fully set up - some functions are limited.

Post by BasHeijermans »

It's the same issue as described here and I managed to get passed the quota issue and it installed:

viewtopic.php?f=4&t=10059

It's OpenVZ I believe.
Here is all info as it runs at them: https://www.cinfu.com/vps

Running Debian 10.12, upgrading can be done but needs a totally reinstall of the VPS.
Greetings Bas.

Ik heb KeyHelp naar het Nederlands vertaald, contacteer me als er translatie fouten zijn.
(I have translated KeyHelp into Dutch, contact me if there are translation errors.)
Next version 24 of KeyHelp 100% translated.
User avatar
BasHeijermans
KeyHelp Translator
Posts: 158
Joined: Mon 20. Jun 2022, 12:01
Location: Heppen Belgium
Contact:

Re: Your account is not fully set up - some functions are limited.

Post by BasHeijermans »

I do have the service running now, turned out the loop in fstab was wrong after they moved the VPS to another location.

Code: Select all

service quota status
● quota.service - Initial Check File System Quotas
   Loaded: loaded (/lib/systemd/system/quota.service; enabled; vendor preset: enabled)
   Active: active (exited) since Mon 2022-06-20 14:54:02 CEST; 5min ago
     Docs: man:quotacheck(8)
 Main PID: 1875 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
   Memory: 0B
   CGroup: /system.slice/quota.service

jun 20 14:54:02 systemd[1]: Starting Initial Check File System Quotas...
jun 20 14:54:02 systemd[1]: Started Initial Check File System Quotas.
However, it doesn't seem to do anything as creating a new user gives no UID/GID in the database.

But I have some output on this after reinstalling quota:

Code: Select all

quotacheck -u bas
quotacheck: Cannot stat() given mountpoint bas: Bestand of map bestaat niet
Skipping...
quotacheck: No correct mountpoint specified.
quotacheck: Cannot initialize mountpoint scan.
Greetings Bas.

Ik heb KeyHelp naar het Nederlands vertaald, contacteer me als er translatie fouten zijn.
(I have translated KeyHelp into Dutch, contact me if there are translation errors.)
Next version 24 of KeyHelp 100% translated.
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

Re: Your account is not fully set up - some functions are limited.

Post by Alexander »

However, it doesn't seem to do anything as creating a new user gives no UID/GID in the database.
Just to play safe, you waited at least 1 minute before checking the database, right ;)?

What does this command say?

Code: Select all

repquota /

This should reinitialize your quota:

Code: Select all

quotacheck -avmugf

It's OpenVZ I believe.
By the way, you find this information on the admin dashboard within the KeyHelp UI ;).
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
**************************************************************
User avatar
BasHeijermans
KeyHelp Translator
Posts: 158
Joined: Mon 20. Jun 2022, 12:01
Location: Heppen Belgium
Contact:

Re: Your account is not fully set up - some functions are limited.

Post by BasHeijermans »

I have opned a ticked at Cinfu to enable quota's in OpenVZ as it's overruled, no matter what you set in fstab.

In my opinion the problem is there to be solved.

See here:

https://bobcares.com/blog/enable-second ... -a-openvz/
quotacheck -avmugf
quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.
I checked the mount itself

/dev/ploop52xxxp1 on / type ext4 (rw,relatime,lazytime,data=ordered,balloon_ino=12)

It's overruled.

Bas.
Greetings Bas.

Ik heb KeyHelp naar het Nederlands vertaald, contacteer me als er translatie fouten zijn.
(I have translated KeyHelp into Dutch, contact me if there are translation errors.)
Next version 24 of KeyHelp 100% translated.
User avatar
BasHeijermans
KeyHelp Translator
Posts: 158
Joined: Mon 20. Jun 2022, 12:01
Location: Heppen Belgium
Contact:

Re: Your account is not fully set up - some functions are limited.  [SOLVED]

Post by BasHeijermans »

They fixed it....for fstab
/dev/ploop5xxxp1 / ext4 rw,lazytime,relatime,data=ordered,balloon_ino=12,jqfmt=vfsv1,usrjquota=aquota.user,grpjquota=aquota.group 0 0
They fixed it, ho to check further?
Greetings Bas.

Ik heb KeyHelp naar het Nederlands vertaald, contacteer me als er translatie fouten zijn.
(I have translated KeyHelp into Dutch, contact me if there are translation errors.)
Next version 24 of KeyHelp 100% translated.
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

Re: Your account is not fully set up - some functions are limited.

Post by Alexander »

BasHeijermans wrote: Mon 20. Jun 2022, 20:55 They fixed it, ho to check further?

This should you now give a nice overview of the quota usage on your system.

Code: Select all

repquota /
Maybe you have to call this again too:

Code: Select all

quotacheck -avmugf
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
**************************************************************
User avatar
BasHeijermans
KeyHelp Translator
Posts: 158
Joined: Mon 20. Jun 2022, 12:01
Location: Heppen Belgium
Contact:

Re: Your account is not fully set up - some functions are limited.

Post by BasHeijermans »

Yes I get info on the quota now on the commandprompt.

And I created a new user to check, at first the message again, but after entering an Email adress the message was gone.
So I checked the database and the user has UID/GID given with the exact numbers.

Thank you so much Alexander, it's all great and working as should.

Also, now you know the solution too, as the OpenVZ admin has to allow quota for the filesystem, else it will never work. ;)
Greetings Bas.

Ik heb KeyHelp naar het Nederlands vertaald, contacteer me als er translatie fouten zijn.
(I have translated KeyHelp into Dutch, contact me if there are translation errors.)
Next version 24 of KeyHelp 100% translated.
User avatar
Alexander
Keyweb AG
Posts: 3810
Joined: Wed 20. Jan 2016, 02:23

Re: Your account is not fully set up - some functions are limited. | OpenVZ quota issue

Post by Alexander »

Glad to hear that ;).

Happy administering of your KeyHelp server :D !
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
**************************************************************
Post Reply