First off, thank you to @suman and all the other very kind contributors who have given their time and energy into creating and improving this project. I have benefited greatly and am quite enjoying having an economical and powerful NAS thanks to Rockstor. Not only is the NAS responsive within my local network, I have also managed to enable Transmission and OpenVPN quite easily.
Second, please bear with me as I probably have considerably less Linux knowledge than many of you here. We’ll see if I confirm my cluelessness with what I write below. With that out of the way, let’s get to the point…
I believe I’m running into the same issue that D_Jones above is. I’ve installed ownCloud in the recommended fashion, meaning that I have created the recommended shares in Rockstor in advance (owncloud-config, owncloud-data, and owncloud-db) and they have been mapped properly.
ownCloud appears to start, but clicking the “OwnCloud UI” button leads to a page that fails to load (Firefox error message: “Firefox can’t establish a connection to the server at 192.168.1.162:8080.”)
Now, here’s where I aimlessly investigate. I hopped onto the NAS via SSH and repeatedly spam docker ps
, which reveals that the image pschmitt/owncloud
is repeatedly restarting. I see that it’s running /usr/bin/run.sh
. I check docker inspect owncloud
and see
"Id": "3ece6f99b8385633ca54f143179a33294506ebbc179c6531d6e5a81dc25f8739",
…so I try running
/mnt2/rockon/btrfs/subvolumes/3ece6f99b8385633ca54f143179a33294506ebbc179c6531d6e5a81dc25f8739/usr/bin/run.sh
which results in
Creating autoconfig.php... /mnt2/rockon/btrfs/subvolumes/3ece6f99b8385633ca54f143179a33294506ebbc179c6531d6e5a81dc25f8739/usr/bin/run.sh: line 55: /var/www/owncloud/config/autoconfig.php: No such file or directory
But returning to docker inspect owncloud
, I see that
{ "Source": "/mnt2/owncloud-config", "Destination": "/var/www/owncloud/config", "Mode": "", "RW": true },
…which is not unexpected, as it appears things are mapped properly. In addition,
[root@nas config]# ls /mnt2/owncloud-config autoconfig.php
So autoconfig.php
seems to exist where I expect it to be? I’m at a total loss. Any idea what’s going on?
I know I’m making an assumption here that running /mnt2/rockon/btrfs/subvolumes/3ece6f99b8385633ca54f143179a33294506ebbc179c6531d6e5a81dc25f8739/usr/bin/run.sh
achieves the same result as starting ownCloud via the web UI. The reason I wanted to run that file is to see the errors it spits out. Assuming the result is the same whether I manually run it or try to start ownCloud via the web UI, why is it not able to find autoconfig.php
?