Page 1 of 1
NO LANGUAGE DEFINED
Posted: Fri Oct 02, 2015 2:01 am
by denner
Hi!
From yesterday to today to access my vestacp comes with the error "NO LANGUAGE DEFINED" when trying to log in, where is that?

Re: NO LANGUAGE DEFINED
Posted: Fri Oct 02, 2015 11:06 am
by SCelik
You are out of disk space. Increase admin users quota or check server wide disk usage. (With SSH)
Re: NO LANGUAGE DEFINED
Posted: Fri Oct 02, 2015 5:50 pm
by denner
how do I do that?
My VPS has 20 GB of disk space and only have a website hosted on it that does not weigh or 300mb
Re: NO LANGUAGE DEFINED
Posted: Fri Oct 02, 2015 7:51 pm
by SCelik
Connect your server with SSH.
Edit
v-update-user-quota file under bin directory of vesta.
On CentOS it is here:
/usr/local/vesta/bin/v-update-user-quota
Change:
Code: Select all
# Updating disk quota
quota=$(get_user_value '$DISK_QUOTA')
soft=$((quota * 1000))
hard=$((quota + 50000))
To:
Code: Select all
# Updating disk quota
quota=$(get_user_value '$DISK_QUOTA')
soft=$((quota * 1000))
hard=$((soft + 50000))
save and exit. Then on command line run:
Code: Select all
/usr/local/vesta/bin/v-update-user-quota admin
This will correct user quota for admin.
There is a bug with calculating user quotas so, it calculated wrong and, you run out of disk space for that user.
Re: NO LANGUAGE DEFINED
Posted: Fri Dec 25, 2015 11:59 am
by baijianpeng
Today I got the same issue. When I check this file: /usr/local/vesta/bin/v-update-user-quota, the first 2 lines are:
Code: Select all
soft=$(echo "$quota * 1024 * 0.90"|bc |cut -f 1 -d .)
hard=$(echo "$quota * 1024"|bc |cut -f 1 -d .)
It seems not the same as above mentioned.
Do I still need to edit this file?
PS: When I check disk space with df -h command I got:
Code: Select all
[root@mail bin]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 20G 13G 6.0G 68% /
devtmpfs 911M 0 911M 0% /dev
tmpfs 920M 0 920M 0% /dev/shm
tmpfs 920M 48M 873M 6% /run
tmpfs 920M 0 920M 0% /sys/fs/cgroup
tmpfs 184M 0 184M 0% /run/user/0
[root@mail bin]#
Which number or string can prove that my disk quota is out?
PS: at present, only one website on this VPS. It is running fine without error.
Re: NO LANGUAGE DEFINED
Posted: Sat Dec 26, 2015 12:44 am
by baijianpeng
Today this issue get worse: When I tried to open the login page of VestaCP, it can not be open! My browser returns:
Error 118 (net::ERR_CONNECTION_TIMED_OUT)
What is wrong? Was my VestaCP hacked ?
Re: NO LANGUAGE DEFINED
Posted: Mon Dec 28, 2015 7:19 am
by skurudo
baijianpeng wrote:Today this issue get worse: When I tried to open the login page of VestaCP, it can not be open! My browser returns:
Error 118 (net::ERR_CONNECTION_TIMED_OUT)
What is wrong? Was my VestaCP hacked ?
Show please:
And try this:
Re: NO LANGUAGE DEFINED
Posted: Mon Jun 20, 2016 7:34 pm
by skurudo
Popular reason - you don't have free disk space or inode. Check with commands:
But error can be with disk quota.. to fix this there is option:
Code: Select all
nano /usr/local/vesta/data/users/admin/user.conf
For votes and ideas:
https://bugs.vestacp.com/issues/261