Hi everybody!
As I got very useful help here before with OctoberCMS and Nibbleblog (discontinued) and wasn't able to get help on the nextcloud IRC and Forum as well as I was unable to find anything about nextcloud here, I am returning to this forum for some help.
I have running Arch Linux with PHP 7.0, MariaDB 10.1 and Hiawatha 10.3 and am trying to setup nextcloud on that machine. The command line installation finished successfully.
After that you get a nextcloud generated message that the domain ist not trusted and has to be added to the trusted domains array within the config.php file. I did as told.
But then, if I want to access the installed cloud instance again it now redirects from a files.domain.tld to https://files.domain.tld/index.php/login as before but displays a '404 Not Found' error message generated by Hiawatha.
So my suggestion is that there might be rewrite rules required for a functional nextcloud instance. Or at least it seems to be related to some other mistake within my configuration.
My configuration of Hiawatha so far is quite minimal.
Beside some other domains I have this one added for my nextcloud instance:
VirtualHost { # nextcloud
Hostname = files.domain.tld
WebsiteRoot = /srv/http/files.domain.tld/nextcloud
StartFile = index.html
AccessLogfile = /srv/http/files.domain.tld/log/access.log
ErrorLogfile = /srv/http/files.domain.tld/log/error.log
TLScertFile = /srv/http/files.domain.tld/tls_cert/files.pem
RequireTLS = yes
ExecuteCGI = yes
TimeForCGI = 5
}
With a way older version of ownCloud a few years ago this config worked quite well.
Does anyone have a clue what is going wrong here?