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.
https://domain.com/webmail gives http 500 error
Re: https://domain.com/webmail gives http 500 error
I used "setenforce 0" command and reboot
then I used "sestatus" command
-------------------------
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 31
-----------
I think the problem is related with this -> https://github.com/serghey-rodin/vesta/issues/1707
then I used "sestatus" command
-------------------------
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 31
-----------
I think the problem is related with this -> https://github.com/serghey-rodin/vesta/issues/1707
Last edited by SanTi on Sun Jun 21, 2020 10:06 pm, edited 1 time in total.
Re: https://domain.com/webmail gives http 500 error
Edit the /etc/selinux/config file and set the SELINUX to disabled to make it persistent.
Reboot the Linux server
Verify it by running the sestatus and getenforce again
Reboot the Linux server
Verify it by running the sestatus and getenforce again
Re: https://domain.com/webmail gives http 500 error
I edit config file and now it is disabled but sttill gives 500 error
Re: https://domain.com/webmail gives http 500 error
Could you please post your /etc/php-fpm.d/www.conf ?
Re: https://domain.com/webmail gives http 500 error
I have solved problem. I am happy. The problem has caused of file permissions. I tink file permissions was changed after upgrade or another reason that I dont know.
I chandeg file permissions of /etc/roundcube/config.inc.php , /etc/roundcube/defaults.inc.php and /etc/roundcube/mimetypes.php from 640 to 644 and now it is working.
Thank you very much for your good effort. I have solved the problem now by changing file permissions.
I chandeg file permissions of /etc/roundcube/config.inc.php , /etc/roundcube/defaults.inc.php and /etc/roundcube/mimetypes.php from 640 to 644 and now it is working.
Thank you very much for your good effort. I have solved the problem now by changing file permissions.
Re: https://domain.com/webmail gives http 500 error
Thats great news you are welcome! This may happen after roundcube is upgraded. VestaCP does not set the file system permissions after an upgrade only at installation time as roundcube is updated by yum. You may face the problem again on a major roundcube upgrade so you hopefully remember this fix.
Last edited by peters on Sun Jun 21, 2020 10:26 pm, edited 1 time in total.
Re: https://domain.com/webmail gives http 500 error
Now I can access to my roundcubemail server without any problem. I have changed file permissions of .php files at /etc/roundcube from 640 to 644. It begun to work nice. Yes this will be a fix guide if this error happen again in future. I looke on all internet and anyone does not mention about file permissions. I tried million things until find this basic problem :D