Hi everyone.
This is my first install of NC. It is installed on an Helios64 using apache2. Everything was alright (I got the message “Nextcloud was successfully installed” but I cannot access NC at all. I can reach the Apache default page but when I try serverip/nextcloud I got “Internal server error”. In apache2/sites-available I have two files:
- nextcloud.conf:
DocumentRoot /media/nextcloud
ServerName localip
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /media/nextcloud/>
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /media/nextcloud
SetEnv HTTP_HOME /media/nextcloud
Satisfy Any
</Directory>
</VirtualHost>
- my.subdomain.conf
DocumentRoot /media/nextcloud
ServerName mysubdomain
Alias /nextcloud “/media/nextcloud/”
<Directory /medianextcloud>
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
SetEnv HOME /media/nextcloud
SetEnv HTTP_HOME /media/nextcloud
</Directory>
ErrorLog /var/log/apache2/nextcloud-error_log
CustomLog /var/log/apache2/nextcloud-access_log common
</VirtualHost>
In /media/nextcloud/config/config.php I have (among other things):
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'subdomain name',
2 => 'local ip',
),
If you have any idea about what’s going please tell me
Thank you for your time!