× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

ownCloud 8.1.2 (rnxtras) fresh install failing

bvanaerde
Aspirant

ownCloud 8.1.2 (rnxtras) fresh install failing

Did anyone manage to install ownCloud above version 8.1 on ReadyNAS R6?

I'm getting some errors from the start. Owncloud was working well here until up to 8.0.X. So I decided to do a fresh install of 8.1.2 (rnxtras), which gave me the following errors:

 

 

root@readyNAS:/data/OwnCloud# more owncloud.log 
{"reqId":"lC6uPPrO6EUF\/pAvHmWq","remoteAddr":"192.168.11.134","app":"PHP","message":"Undefined offset: 0 at \/apps\/owncloud\/web\/lib\/private\/appframework\/http\/request.php#685
","level":3,"time":"2015-09-04T18:29:04+00:00"}
{"reqId":"lC6uPPrO6EUF\/pAvHmWq","remoteAddr":"192.168.11.134","app":"PHP","message":"fopen(\/apps\/owncloud\/web\/config\/config.php): failed to open stream: No such file or direct
ory at \/apps\/owncloud\/web\/lib\/private\/config.php#191","level":3,"time":"2015-09-04T18:29:05+00:00"}
{"reqId":"6zhmZ7g2DtsFAQP2rij1","remoteAddr":"192.168.11.134","app":"PHP","message":"Undefined offset: 0 at \/apps\/owncloud\/web\/lib\/private\/appframework\/http\/request.php#685"
,"level":3,"time":"2015-09-04T18:31:17+00:00"}

 

It seems the config.php file was not writable.

Apart from the instanceid, the config file is empty.

 

I guess this is triggering the other error about undefined offset at request.php#685, as this line is about the trusted host that needs to be defined in the config file.

 

After making the config writable, and adding the necessary config, I'm stll getting a blank page. The database isn't created, and the config file seems too empty to be complete.

 

I know that since Owncloud 8.1, they became much stricter regarding SSL, but my SSL certificate is working fine, as it was before.

 

I'm getting the following errors in the browser:

  • Firefox: Secure Connection Failed
  • Chromium: No Data Received, ERR_EMPTY_RESPONSE

I'm wondering if anyone managed to install the owncloud app properly, so I can rule out the possibilty that the problem lies with the ReadyNAS.

 

Message 1 of 14
BrianL2
NETGEAR Employee Retired

Re: ownCloud 8.1.2 (rnxtras) fresh install failing

Hi bvanaerde,

 

Let's check with @super_poussin and other community members if they have encountered the same using this new version. For the time being, use the stable version 6.0.0 that is available in our website.

 


Kind regards,

 

BrianL
NETGEAR Community

 

 

Message 2 of 14
WhoCares_
Mentor

Re: ownCloud 8.1.2 (rnxtras) fresh install failing

I just tested fresh installs and upgrades on RN102, RN204 and RN314. Worked in every case, so I have to assume it's something different that is causing the problems on your system. May well be related to SSL issues but then I don't even use a valid certificate on my test systems here and it's still working. If you have ssh access to your ReadyNAS enabled, can you send the output of

ls -al /apps/owncloud/web/config

-Stefan

Message 3 of 14
bvanaerde
Aspirant

Re: ownCloud 8.1.2 (rnxtras) fresh install failing

Thanks for wanting to help out, Stefan.

 

root@readyNAS:~# ls -al /apps/owncloud/web/config
total 296
drwxrwxrwx 1 admin admin     98 Sep  4 21:04 .
drwxr-xr-x 1 admin admin    378 Sep  4 20:24 ..
-rw-r--r-- 1 admin admin 258423 Sep  2 11:56 ca-bundle.crt
-rw-rw---- 1 admin admin    197 Sep  4 21:04 config.php
-rw-r--r-- 1 admin admin  31823 Sep  2 23:12 config.sample.php
-rw-r--r-- 1 admin admin    225 Sep  2 11:56 .htaccess

The config.php file only contained the instanceid. Adding the trusted domains didn't help much, as the owncloud logfile doesn't seem to log everything. It doesn't show anything for today, but I have tried to access the homepage several times.

 

Can be useful to know:

  • I am able to access the robots.txt through the browser while using https.
  • I'm getting correct output on the terminal with: php /apps/owncloud/web/index.php.
Message 4 of 14
amc_oldsarge
Guide

Re: ownCloud 8.1.2 (rnxtras) fresh install failing

I too am having a problem with the latest version of OwnCloud from rxntras.

 

Here is my output:

 

root@NAS-Server04:/# ls -al /apps/owncloud/web/config
total 296
drwxrwxrwx 1 admin admin     98 Sep  7 15:08 .
drwxr-xr-x 1 admin admin    378 Sep  7 15:07 ..
-rw-r--r-- 1 admin admin 258423 Sep  2 04:56 ca-bundle.crt
-rw-r----- 1 admin admin     61 Sep  7 15:08 config.php
-rw-r--r-- 1 admin admin  31823 Sep  2 16:12 config.sample.php
-rw-r--r-- 1 admin admin    225 Sep  2 04:56 .htaccess

If you'd like to get on my server and test, I'd be willing to make it available to you.  Just let me know that is the case.

 

Thanks!

 

Kyle

 

 

Message 5 of 14
bvanaerde
Aspirant

Re: ownCloud 8.1.2 (rnxtras) fresh install failing

WhoCares_

Do you have enough information with this? Please ask, if you need anything else.

Message 6 of 14
bvanaerde
Aspirant

Re: ownCloud 8.1.2 (rnxtras) fresh install failing

It looks like PHP 5.4 was the culprit.

I upgraded to PHP 5.6 using this guide, and afterwards Owncloud started up without problems.

Message 7 of 14
WhoCares_
Mentor

Re: ownCloud 8.1.2 (rnxtras) fresh install failing

If you had the PHP add-on installed, that may indeed be the source of the problem. 

My OwnCloud add-on doesn't require the PHP add-on to be installed for it requests all the needed PHP packages during install. So there's a chance that upgrading to PHP 5.6 fixed what may have been broken in the original PHP install by the PHP add-on. I ran a lot of tests on my systems and didn't find any problem using the method without the PHP add-on. I think I'll need to investigate what the official PHP add-on is doing different and maybe even provide a PHP 5.6 installer for those who aren't comfortable with the command line.

 

Thanks for the information.

 

-Stefan

Message 8 of 14
bvanaerde
Aspirant

Re: ownCloud 8.1.2 (rnxtras) fresh install failing

I was indeed using Poussin's PHP addon.

I found out by installing Owncloud on my desktop (which has a LAMP with PHP v5.4 as well). There, it worked, but it gave cURL errors when trying to install the Gallery+ app for Owncloud.

 

cURL error 60: SSL certificate problem: unable to get local issuer certificate

This got me thinking about the PHP version.

Even though 5.4 should work with the latest Owncloud, I guess there's a module that's outdated in the PHP addon.

 

Poussin's PHP addon

Message 9 of 14
WhoCares_
Mentor

Re: ownCloud 8.1.2 (rnxtras) fresh install failing

The certificates are indeed outdated on the ReadyNAS but that's totally separate from PHP. Now, there's of course a chance that the updated PHP 5.6 from dotdeb also installs updated certificates in it's wake. Do you have a log of the packages that got installed while installing the PHP 5.6 version from dotdeb?

 

-Stefan

Message 10 of 14
bvanaerde
Aspirant

Re: ownCloud 8.1.2 (rnxtras) fresh install failing

apt-get log:

 

Start-Date: 2015-09-16  00:09:29
Commandline: apt-get -y purge owncloud
Purge: owncloud:amd64 (8.0.4-rnx1)
End-Date: 2015-09-16  00:09:56

Start-Date: 2015-09-16  00:11:25
Commandline: apt-get install php5
Install: libvpx1:amd64 (1.1.0-1, automatic), libt1-5:amd64 (5.1.2-3.6, automatic)
Upgrade: php5-sqlite:amd64 (5.4.4-14+deb7u9, 5.6.13-1~dotdeb+7.1), libapache2-mod-php5:amd64 (5.4.4-14+deb7u9, 5.6.13-1~dotdeb+7.1), php5-mysql:amd64 (5.4.4-14+deb7u9,
 5.6.13-1~dotdeb+7.1), php5-common:amd64 (5.4.4-14+deb7u9, 5.6.13-1~dotdeb+7.1), php5-curl:amd64 (5.4.4-14+deb7u9, 5.6.13-1~dotdeb+7.1), php5-mcrypt:amd64 (5.4.4-14+de
b7u9, 5.6.13-1~dotdeb+7.1), php5:amd64 (5.4.4-14+deb7u9, 5.6.13-1~dotdeb+7.1), php5-cli:amd64 (5.4.4-14+deb7u9, 5.6.13-1~dotdeb+7.1), php5-gd:amd64 (5.4.4-14+deb7u9, 5
.6.13-1~dotdeb+7.1), php5-imagick:amd64 (3.1.0~rc1-1+b2, 3.1.2-2~dotdeb+7.1), php5-intl:amd64 (5.4.4-14+deb7u9, 5.6.13-1~dotdeb+7.1)
Remove: php5-xcache:amd64 (2.0.0-4)
End-Date: 2015-09-16  00:16:01

Message 11 of 14
WhoCares_
Mentor

Re: ownCloud 8.1.2 (rnxtras) fresh install failing

Doesn't look like any certificate related stuff got installed, so it might well be that the newer PHP5-curl module handles SSL a bit more relaxed than the one in PHP 5.4.44. I'll check.

 

-Stefan

Message 12 of 14
bvanaerde
Aspirant

Re: ownCloud 8.1.2 (rnxtras) fresh install failing

Ok, thanks.

As you can see, xcache is removed, as it isn't included in the repository that I added. If you are considering to make a PHP 5.6 module, it might be useful to include this as well.

Message 13 of 14
WhoCares_
Mentor

Re: ownCloud 8.1.2 (rnxtras) fresh install failing

No need since PHP 5.6 includes a better caching system, formerly provided by the PHP5-zendopcache module. You may want to manually install PHP5-yac, however, to provide some additional caching for variables.

 

-Stefan

Message 14 of 14
Top Contributors
Discussion stats
  • 13 replies
  • 6401 views
  • 0 kudos
  • 4 in conversation
Announcements