Owncloud shows a completely white page

looks like it is mounted on /mnt/raid1/

NAME        FSTYPE            LABEL      SIZE RO TYPE  MOUNTPOINT PARTUUID                             UUID
sda                                    931.5G  0 disk                                                  
└─sda1      linux_raid_member DietPi:0 931.5G  0 part             aed749a4-01                          635bdbfe-27ab-4795-74a4-e0786e6f1c2c
  └─md0     ext4                       931.4G  0 raid1 /mnt/raid1                                      8d74ee27-82cd-4da8-bb31-274ac1966909
sdb                                      7.5G  0 disk                                                  
└─sdb1      ext4                         7.5G  0 part             7903c760-bb51-4265-b9fb-36408acbecc4 2966eeaa-38a0-4cef-9469-fcd591d85249
sdc                                    931.5G  0 disk                                                  
└─sdc1      linux_raid_member DietPi:0 931.5G  0 part             379a3007-01                          635bdbfe-27ab-4795-74a4-e0786e6f1c2c
  └─md0     ext4                       931.4G  0 raid1 /mnt/raid1                                      8d74ee27-82cd-4da8-bb31-274ac1966909
mmcblk0                                  7.5G  0 disk                                                  
├─mmcblk0p1 vfat                         128M  0 part  /boot      aad71f1f-01                          2565-1BA0
└─mmcblk0p2 ext4                         7.3G  0 part  /          aad71f1f-02                          14fcf30d-e3ea-40e7-be42-2304f593b40e
root@DietPi:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.4G  6.4G  705M  91% /
devtmpfs        207M     0  207M   0% /dev
tmpfs           239M  1.6M  238M   1% /dev/shm
tmpfs            96M   11M   86M  11% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           1.0G     0  1.0G   0% /tmp
tmpfs            50M   32K   50M   1% /var/log
/dev/mmcblk0p1  127M   51M   76M  41% /boot
/dev/md0        916G   28K  870G   1% /mnt/raid1

ok what should be the final name/location of the raid directory?

Md0 mounted on /mnt/raid1

Yes I know it’s mounted to /mnt/raid1. Maybe I was not clear enough, my question was: where do you like to have it mounted? Any preference?

OK, sorry. This location is ok for me. Do you think it’s better somewhere else?

for the system it doesn’t matter. Is up to you. If you like to have it installed to /mnt/raid1, do following before install Owncloud.

G_CONFIG_INJECT 'SOFTWARE_OWNCLOUD_DATADIR=' 'SOFTWARE_OWNCLOUD_DATADIR=/mnt/raid1' /boot/dietpi.txt

I’m following the steps suggested here:

the problem is that, just after the launch of the uninstall command it shows me this message:

dietpi-software uninstall 47
[  OK  ] DietPi-Software | Initialised database
[  OK  ] DietPi-Software | Reading database

 DietPi-Software
─────────────────────────────────────────────────────
 Mode: Automated uninstall

[  OK  ] DietPi-Software | Uninstalling ownCloud: File sync, sharing and collaboration platform

 DietPi-Software
─────────────────────────────────────────────────────
 Step: Uninstalling ownCloud: File sync, sharing and collaboration platform

Disabling dietpi-owncloud
Run "service lighttpd force-reload" to enable changes
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '@' at line 1
Database "owncloud" dropped

And stop it there… without any possibilities to give other commands.

Dropping database might take a while

sorry, after some minutes it starts again to work, writing a lot of:

cp: cannot create directory '/var/www/owncloud/data/dietpi-owncloud-installation-backup/data/admin/files/Photos': No space left on device
cp: error writing

But after that it said: Uninstall completed…
should I go on with the further steps?

Usually it should be ok. But to check. Your file system is full?

df -h

It doesn’t look full…

df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.4G  3.2G  3.9G  45% /
devtmpfs        207M     0  207M   0% /dev
tmpfs           239M  2.2M  237M   1% /dev/shm
tmpfs            96M   11M   86M  11% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           1.0G     0  1.0G   0% /tmp
tmpfs            50M   36K   50M   1% /var/log
/dev/mmcblk0p1  127M   51M   76M  41% /boot
/dev/md0        916G   28K  870G   1% /mnt/raid1

Strange. but you should be ok to continue.

Looks like everything went well.
I’ve just to ad my DDNS in the trusted domain in config.php I Think

the question is: How can I add my DDNS in the trusted domains? :slight_smile:

The easiest way IMO would be to use the occ command from command line.
OCC is a command to easily config your owncloud without the need to modify the config.php with a text editor.

occ config:system:set trusted_domains 2 --value=exampledomain.com
where exampledomain.com is your DDNS domain

Be carful to notate the domain without http(s)://
You can check the trusted domains with:
occ config:system:get trusted_domains



OR if you want to have a look inside the config.php (be careful with modyfing anything!) do:
sudo nano /var/www/owncloud/config/config.php

But if you are not used to how to use nano text editor, don’t do it that way. It needs some hotkeys for saving and exiting, which are not intuitive for beginners (First time I used it I had no idea how to do stuff :slight_smile:

better to use cat /var/www/owncloud/config/config.php if you like to display thinks only.

ok, now everything is working IN and OUTside the network.
thanks again for the precious support :wink: