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.
after php7 upgrade apache 2 wont start
Re: after php7 upgrade apache 2 wont start
If I'm right then in the file /etc/apache2/apache2.conf it's trying to include the file /etc/apache2/conf.d/apache.conf which does not exist and this is on line 83. Try commenting out line 83 if it's directly including /etc/apache2/conf.d/apache.conf and test again.ones4tech wrote:my error is
Output of config test was:
apache2: Syntax error on line 83 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf.d/apache.conf: No such file or directory
Action 'configtest' failed.
Re: after php7 upgrade apache 2 wont start
Depending on how you upgraded, databases should not be affected. 500 errors can be something simple you might want to try look at the logs to see what is causing the 500 error.ones4tech wrote:I have seriously broken it now and don't think I will get it going, I am currently processing all backups and will wipe and start again,
i now get 500 errors but the service is starting at least.
Is there any possible way of reinstall apache php nginx and getting the original config again then i can rebuild the databases
I don't think I have ever attempted to essentially re-install Vesta so I do not know the answer.
Re: after php7 upgrade apache 2 wont start
I think I ran into this problem as well and ended up just deleting apache.conf and that fixed the problem even though it was reported as not being able to open that file. Make a backup first. I know for a fact that I got a config error when I purged php5 as purging ended up removing roundcube and on restart it was looking for a good roundcube.conf. I deleted roundcube.conf and apache started fine.
I know it said the file apache.conf does not exist but when I did an ls -l it still showed the file and so I just deleted it
It has been awhile and I am no expert so make backup first.
Also make sure you run this to update apache mods
sudo a2dismod php5
sudo a2enmod php7.0
Because even though cli shows php7, apache will still be pointing to php5
I know it said the file apache.conf does not exist but when I did an ls -l it still showed the file and so I just deleted it
It has been awhile and I am no expert so make backup first.
Also make sure you run this to update apache mods
sudo a2dismod php5
sudo a2enmod php7.0
Because even though cli shows php7, apache will still be pointing to php5
Re: after php7 upgrade apache 2 wont start
Could anybody post the default apache2.conf from /etc/roundcube/?
I'm trying to reinstall roundcube after de php7 upgrade, but I've lost that file :(
Thank you!
I'm trying to reinstall roundcube after de php7 upgrade, but I've lost that file :(
Thank you!
Re: after php7 upgrade apache 2 wont start
The Roundcube configuration is here:zua wrote:Could anybody post the default apache2.conf from /etc/roundcube/?
I'm trying to reinstall roundcube after de php7 upgrade, but I've lost that file :(
Thank you!
Code: Select all
Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/
Alias /roundcube /var/lib/roundcube
Alias /webmail /var/lib/roundcube
# Access to tinymce files
<Directory "/usr/share/tinymce/www/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
</Directory>
<Directory /var/lib/roundcube/>
Options +FollowSymLinks
# This is needed to parse /var/lib/roundcube/.htaccess. See its
# content before setting AllowOverride to None.
AllowOverride All
order allow,deny
allow from all
</Directory>
# Protecting basic directories:
<Directory /var/lib/roundcube/config>
Options -FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/lib/roundcube/temp>
Options -FollowSymLinks
AllowOverride None
Order allow,deny
Deny from all
</Directory>
<Directory /var/lib/roundcube/logs>
Options -FollowSymLinks
AllowOverride None
Order allow,deny
Deny from all
</Directory>