I am new to nextcloud and I wanted to try it. But as I am new to database and server, I am having difficulties to make it run as intended.
I managed to install nextcloud using apache2 on an odroid xu4 with ubuntu18.04.
For the data folder, I am using an external HDD connected through USB.
My problem is that the browser is not displaying as it should be. After installation it displayed well but I couldn’t upload any files. I got the circle like something is loading but nothing happens.
I tried reinstall everything and got a similar problem.
I rebooted the system and now the display is wrong as if the css is not loading. I have a message on the page which states ‘You don’t have permission to upload or create files here’.
Here is the output of the ‘ls’ command on the mounted folder of the HDD:
$ ls -l
total 24
drwxrwx--- 5 www-data www-data 4096 May 10 05:36 data1
drwx------ 2 root root 16384 Apr 21 13:59 lost+found
drwxr-xr-x 2 root root 4096 May 9 15:22 test
The data1 is the folder where the data are stored.
The www-data user has full right over this folder, so I am wondering what is wrong. Maybe there is another files somewhere that needs access? If anyone has any idea about where to look or what to do, it would help a lot.
I am not sure I understand what you mean with web root. Do you mean the nextcloud folder?
FYI, here are the right for the nextcloud folder where the site should be accessed.
If you learn some basics about the web server you use to run Nextcloud, it will really help you in the long run.
There are two main folders involved in a Nextcloud installation. The first is the web root which is the root of the website where Nextcloud is installed. The other is the data folder, which is under the web root by default, but should be moved outside the web root for security reasons.
I have the same problem some times. I have to reset my system with my backup that it works again. Why is it that Nextcloud sometimes crashes like this? Is there a solution?
I had the same problem and did the following. I added the line ‘theme’ => ‘’, to the config.php file located in /var/www/html/nextcloud/config and restarted the service. (systemctl restart apache2)
I kept copy of the config.php file after I had some other problem with FS space and I saw that this line was missing in the backup compared to the active one.