NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

osilvab's avatar
osilvab
Aspirant
Aug 30, 2017
Solved

Uprading to Owncloud 10

Hi,

 

I have the Netgear ReadyNAS 102 with firmware 6.8.  I had previosly installed owncloud from RNXtra (owncloud_9.1.3-rnx1_all.deb). It has some updates pending, I tired to run them and some error occurred and I couldnt access more to the webinterface.I see the files are still there. but i get the error:

 

"The requested URL /owncloud/ was not found on this server.


Apache/2.2.34 (Debian) Server at 192.168.0.101 Port 80:"

 

I tried to install the new owncloud 10.0.2 from RNextra, It requires the mysql instalation. I run it and it seemed to succed, there is no erorr message but there is no app icon in the app section of the interface either, so i continued with the owncloud file but it didnt work. I tried also the Nextcloud and got the sampe problem. and now there are no apps icon at all in the admin interface.

 

Any help how to fix it? maye i need to delete something before trying the instalation?

 

strangely it doesnt generate any log in install_debpkg.log.

 

Prodigy

  • Thanks for the logs. The problems you're having seem to come from the package "owncloud-deps-php5" - which isn't part of any owncloud or nextcloud app I made. I have no idea where this comes from or what app this belongs to. Some googling lets me believe that this is from an Ubuntu package and maybe is a left-over from an attempt to manually install from other packages?

    Anyway, this particular package seems to break any install since the system tries (and fails) to install it on every install/update. So my suggestion would be to manually remove the package using "dpkg -r owncloud-deps-php5" and then try reinstalling either the OwnCloud or the NextCloud

    app (or both if you like).

     

    -Stefan

5 Replies

Replies have been turned off for this discussion
  • What version of OwnCloud did you try to upgrade from? Also what's the ReadyNAS OS revision on your NAS? The MySQL app is not needed for running/upgrading - it's now supported. I assume your problem either comes from a clash with another app or a failure during installation. Those can be found in the system's journal which you should be able to get by downloading the logs from the NAS. I'm currently on the road so my options are limited at the moment.

    -Stefan
    • osilvab's avatar
      osilvab
      Aspirant

       

      Hi,

      i was trying to upgrade from owncloud_9.1.3-rnx1_all.deb to 10.0.2
      Readynas has OS 6.8.0
      I bought the mysql as in your page said it was required for that version of owncloud. Same for the nextcloud. anyway I couldnt install it.
      I don't have more apps istalled. I also think it comes from a failure during the instalation. but it also happenswhen trying to install Nextcloud, that is a "clean" instalation.

      I checked the logs in the Netgear admin I found something apprently from the first time I tried the instalations:

       

      Wed Aug 30 2017 7:55:40         System: Cannot install application nextcloud.
      Wed Aug 30 2017 7:53:35         Share: Share Nextcloud was added.
      Wed Aug 30 2017 7:44:55         System: Cannot install application owncloud.
      Wed Aug 30 2017 7:40:35         System: Found app [owncloud] with bad configuration. Disabling its configuration page.
      Wed Aug 30 2017 7:39:13         System: Cannot install application mysqldb.


       In the system journal here are no records on those days, the file starts like this:

       

      -- Logs begin at Sun 2017-08-06 01:09:02 CEST, end at Thu 2017-08-31 14:20:22 CEST. --
      Aug 30 11:50:47 NASPlanetON apache_access[4432]: 129.16.138.140 "GET /owncloud/status.php HTTP/1.1" 404
      Aug 30 11:50:47 NASPlanetON apache2[5399]: [error] [client 129.16.138.140] File does not exist: /apps/owncloud
      Aug 30 11:50:47 NASPlanetON apache_access[4432]: 129.16.138.140 "GET /owncloud/owncloud/status.php HTTP/1.1" 404
      Aug 30 11:51:19 NASPlanetON apache2[4436]: [error] [client 129.16.138.140] File does not exist: /apps/owncloud

      the error of the not existing folder /apps/owncloud is repeating all the time. In fact the folder is not there anymore.

      I found other logs when tring to install owncloud:

       

      Aug 31 13:07:52 NASPlanetON readynasd[2534]: Errors were encountered while processing:
      Aug 31 13:07:52 NASPlanetON readynasd[2534]:  owncloud-deps-php5
      Aug 31 13:07:54 NASPlanetON readynasd[2534]: E: Sub-process /usr/bin/dpkg returned an error code (1)
      Aug 31 13:07:58 NASPlanetON fv-app-install[20248]: Downloading [owncloud](0%) Retrieving file 1 of 1
      Aug 31 13:07:59 NASPlanetON fv-app-install[20248]: Downloading [owncloud](0%) Retrieving file 1 of 1
      Aug 31 13:08:00 NASPlanetON fv-app-install[20248]: Downloading [owncloud](0%) Retrieving file 1 of 1
      Aug 31 13:08:00 NASPlanetON fv-app-install[20248]: Downloading [owncloud](0%) Retrieving file 1 of 1
      Aug 31 13:08:01 NASPlanetON fv-app-install[20248]: Downloading [owncloud](0%) Retrieving file 1 of 1
      Aug 31 13:08:01 NASPlanetON fv-app-install[20248]: Downloading [owncloud](0%) Retrieving file 1 of 1
      Aug 31 13:08:02 NASPlanetON fv-app-install[20248]: Downloading [owncloud](0%) Retrieving file 1 of 1
      Aug 31 13:08:02 NASPlanetON fv-app-install[20248]: Downloading [owncloud](0%) Retrieving file 1 of 1
      Aug 31 13:08:03 NASPlanetON fv-app-install[20248]: Downloading [owncloud](0%) Retrieving file 1 of 1
      Aug 31 13:08:03 NASPlanetON fv-app-install[20248]: Downloading [owncloud](0%) Retrieving file 1 of 1
      Aug 31 13:08:04 NASPlanetON fv-app-install[20248]: Downloading [owncloud](0%) Retrieving file 1 of 1
      Aug 31 13:08:04 NASPlanetON fv-app-install[20248]: Downloading [owncloud](0%) Retrieving file 1 of 1
      Aug 31 13:08:05 NASPlanetON fv-app-install[20248]: Downloading [owncloud](0%) Retrieving file 1 of 1
      Aug 31 13:08:05 NASPlanetON fv-app-install[20248]: Downloading [owncloud](0%) Retrieving file 1 of 1
      Aug 31 13:08:05 NASPlanetON fv-app-install[20248]: Downloading [owncloud](50%) Retrieving file 1 of 1
      Aug 31 13:08:06 NASPlanetON fv-app-install[20248]: Installing [owncloud](50%) Running dpkg
      Aug 31 13:08:07 NASPlanetON fv-app-install[20248]: Installing [owncloud](50%) Installing owncloud
      Aug 31 13:08:07 NASPlanetON fv-app-install[20248]: Installing [owncloud](56%) Preparing owncloud
      Aug 31 13:08:11 NASPlanetON apache2[20415]: [error] [client 192.168.0.112] script '/apps/owncloud/web/status.php' not found or unable to stat

      And ths is for nextcloud:

       

      Aug 31 13:43:22 NASPlanetON fv-app-install[22529]: [/tmp/nextcloud_12.0.1-rnx1_all.deb](0%) prepare
      Aug 31 13:43:45 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:45 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:46 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:46 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:47 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:47 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:48 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:48 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:49 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:49 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:50 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:50 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:51 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:52 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:52 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:53 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:53 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](0%) Retrieving file 1 of 1
      Aug 31 13:43:53 NASPlanetON fv-app-install[22529]: Downloading [nextcloud](50%) Retrieving file 1 of 1
      Aug 31 13:43:54 NASPlanetON fv-app-install[22529]: Installing [nextcloud](50%) Running dpkg
      Aug 31 13:43:55 NASPlanetON fv-app-install[22529]: Installing [nextcloud](50%) Installing nextcloud
      Aug 31 13:43:55 NASPlanetON fv-app-install[22529]: Installing [nextcloud](56%) Preparing nextcloud
      Aug 31 13:45:06 NASPlanetON fv-app-install[22529]: Installing [nextcloud](61%) Unpacking nextcloud
      Aug 31 13:45:06 NASPlanetON fv-app-install[22529]: Installing [nextcloud](67%) Preparing to configure nextcloud
      Aug 31 13:45:07 NASPlanetON fv-app-install[22529]: Installing [nextcloud](67%) Running dpkg
      Aug 31 13:45:07 NASPlanetON fv-app-install[22529]: Installing [nextcloud](67%) Configuring owncloud-deps-php5
      Aug 31 13:45:20 NASPlanetON fv-app-install[22529]: Installing [nextcloud](67%) Configuring nextcloud
      Aug 31 13:45:20 NASPlanetON fv-app-install[22529]: Installing [nextcloud](72%) Configuring nextcloud
      Aug 31 13:45:23 NASPlanetON fv-app-install[22529]: Installing [nextcloud](78%) Installed nextcloud
      ug 31 13:45:23 NASPlanetON smbd[23297]:   STATUS=daemon 'smbd' finished starting up and ready to serve connections
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: fv-app-install (/tmp/nextcloud_12.0.1-rnx1_all.deb): error code [100]: Reading package lists...
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: Building dependency tree...
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: Reading state information...
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: The following NEW packages will be installed:
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]:   nextcloud
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: 0 upgraded, 1 newly installed, 0 to remove and 31 not upgraded.
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: 1 not fully installed or removed.
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: Need to get 0 B/35.6 MB of archives.
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: After this operation, 140 MB of additional disk space will be used.
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: Get:1 /tmp/nextcloud_12.0.1-rnx1_all.deb nextcloud all 12.0.1-rnx1 [35.6 MB]
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: debconf: delaying package configuration, since apt-utils is not installed
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: Selecting previously unselected package nextcloud.
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 5%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 10%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 15%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 20%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 25%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 30%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 35%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 40%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 45%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 50%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 55%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 60%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 65%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 70%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 75%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 80%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 85%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 90%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 95%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 100%
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: (Reading database ... 33759 files and directories currently installed.)
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: Preparing to unpack .../nextcloud_12.0.1-rnx1_all.deb ...
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: Unpacking nextcloud (12.0.1-rnx1) ...
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: Setting up owncloud-deps-php5 (9.1.6-1.1) ...
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: apache2_invoke rewrite: already enabled
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: dpkg: error processing package owncloud-deps-php5 (--configure):
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]:  subprocess installed post-installation script returned error exit status 1
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: Setting up nextcloud (12.0.1-rnx1) ...
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: grep: /apps/nextcloud/web/config/config.php: No such file or directory
      Aug 31 13:45:25 NASPlanetON fv-app-install[22529]: sed: can't read /apps/nextcloud/web/config/config.php: No such file or directory

      I hope it gives some clue.

       

      Thank you!

       

      • osilvab's avatar
        osilvab
        Aspirant

        I was also havig problems with SMB connections that turned out to be a problem of the OS 6.8 version. Despite here in the forum there was information of a patch that fixed it. It didnt fix it. So i downgrade back to 6.7.5. The SMB works well there but still  unavle to make owncloud work or to install Nextcloud

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More