We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Unable to save files "Failed to write file to Disk"
Unable to save files "Failed to write file to Disk"
HI sir!
I have this problem from last 2 days, 1st i can't login, using correct username/password. then I use reset password option and its let me login (but still can't login with exsited password).
2nd. I have File Manager Plugin, when ever i try to upload any file i recevied error "Failed to write file to disk"
My Server Space:
Permission to Session:
Error Log: /usr/local/vesta/log/nginx-error.log
User Info: /usr/local/vesta/data/users/admin/user.conf
I am confused what i am doing is wrong? I don't want to reinstall vestacp because its has so many files!
I have this problem from last 2 days, 1st i can't login, using correct username/password. then I use reset password option and its let me login (but still can't login with exsited password).
2nd. I have File Manager Plugin, when ever i try to upload any file i recevied error "Failed to write file to disk"
My Server Space:
Code: Select all
[root@fisrv test]# df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda2 60497920 120765 60377155 1% /
tmpfs 1006519 1 1006518 1% /dev/shm
/dev/sda1 128016 52 127964 1% /boot
/dev/sda5 262144 34 262110 1% /tmp
Code: Select all
4 drwxr-xr-x 2 root root 4096 Jun 27 10:34 firewall
4 drwxr-x--- 2 root root 4096 Oct 20 00:01 ips
4 drwxr-xr-- 2 root root 4096 Jun 4 2015 packages
4 drwxr-x--- 2 root root 4096 Oct 27 05:10 queue
4 drwxrwx--- 2 admin admin 4096 Oct 28 07:58 sessions
4 drwxr-xr-x 4 root root 4096 Jun 23 17:29 templates
4 drwxr-x--- 4 root root 4096 Oct 20 00:01 users
Code: Select all
2016/10/28 07:58:28 [error] 2529#0: *1 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /$
2016/10/28 07:58:31 [error] 2529#0: *1 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /$
2016/10/28 07:58:31 [error] 2529#0: *1 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /$
2016/10/28 07:58:51 [error] 2529#0: *1 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /$
2016/10/28 07:58:58 [error] 2529#0: *1 FastCGI sent in stderr: "PHP message: PHP Notice: A session had already been started - ignoring session_start() in /$
Code: Select all
FNAME='System'
LNAME='Administrator'
PACKAGE='gainsboro'
WEB_TEMPLATE='default'
PROXY_TEMPLATE='default'
DNS_TEMPLATE='default'
WEB_DOMAINS='unlimited'
WEB_ALIASES='unlimited'
DNS_DOMAINS='unlimited'
DNS_RECORDS='unlimited'
MAIL_DOMAINS='unlimited'
MAIL_ACCOUNTS='unlimited'
DATABASES='unlimited'
CRON_JOBS='unlimited'
DISK_QUOTA='unlimited'
BANDWIDTH='unlimited'
I am confused what i am doing is wrong? I don't want to reinstall vestacp because its has so many files!
Re: Unable to save files "Failed to write file to Disk"
Please check permission on this foldersanishan wrote: I have this problem from last 2 days, 1st i can't login, using correct username/password. then I use reset password option and its let me login (but still can't login with exsited password).
/usr/local/vesta/data/sessions
Hard drive okay? There is no problem with hardware?sanishan wrote: 2nd. I have File Manager Plugin, when ever i try to upload any file i recevied error "Failed to write file to disk"
Re: Unable to save files "Failed to write file to Disk"
I have already added the permission for "Session" you can look in my post!Please check permission on this folder
/usr/local/vesta/data/sessions
Yes hardware/harddisk are okay, (I am using raid 5) and i can write/read file using SSH.Hard drive okay? There is no problem with hardware?
Thanks,
Re: Unable to save files "Failed to write file to Disk"
This is how i test my harddisk
[root@fisrv data]# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 16766 MB in 2.00 seconds = 8396.97 MB/sec
Timing buffered disk reads: 320 MB in 3.01 seconds = 106.43 MB/sec
[root@fisrv data]# hdparm -tT /dev/sda2
/dev/sda2:
Timing cached reads: 16522 MB in 2.00 seconds = 8274.75 MB/sec
Timing buffered disk reads: 298 MB in 3.00 seconds = 99.30 MB/sec
[root@fisrv data]# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 11.8409 s, 90.7 MB/s
Re: Unable to save files "Failed to write file to Disk"
session.save_path line in /usr/local/vesta/php/etc/php-fpm.conf
look like this?
PS: You can give me access via PM, I try to look ;-)
look like this?
Code: Select all
php_admin_value[session.save_path] = /usr/local/vesta/data/sessions
Re: Unable to save files "Failed to write file to Disk"
skurudo wrote:session.save_path line in /usr/local/vesta/php/etc/php-fpm.conf
look like this?
PS: You can give me access via PM, I try to look ;-)Code: Select all
php_admin_value[session.save_path] = /usr/local/vesta/data/sessions
Can you please what access you need? vestacp or SSH?php_flag[display_errors] = off
php_admin_value[error_log] = /usr/local/vesta/log/fpm-php.log
php_admin_flag[log_errors] = on
php_admin_value[memory_limit] = 256M
php_admin_value[post_max_size] = 512M
php_admin_value[upload_max_filesize] = 512M
php_admin_value[max_execution_time] = 600
php_admin_value[max_input_time] = 600
php_admin_value[session.save_path] = /usr/local/vesta/data/sessions
Re: Unable to save files "Failed to write file to Disk"
Both, if you want me to check 1 and 2 problem.sanishan wrote:Can you please what access you need? vestacp or SSH?
Re: Unable to save files "Failed to write file to Disk"
PM Sent!skurudo wrote:Both, if you want me to check 1 and 2 problem.sanishan wrote:Can you please what access you need? vestacp or SSH?
Re: Unable to save files "Failed to write file to Disk"
@skurudo Have you find any solution yet? i can't even edit the MySQL (even using PHPmYAdmin). Please help me!
Re: Unable to save files "Failed to write file to Disk"
I have solved the problem!
Thanks for you help!
Thanks for you help!