- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Cannot install Apps on 6.8.0
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cannot install Apps on 6.8.0
Any attempt on 3 different ReadyNAS's (just updated to 6.8.0 firmware), to install downloaded App .deb files results in "cannot read property 'childNodes' of undefined" error. Doesn't matter which app I try, always get the same problem.
Using 'system/settings/install firmware' button and uploading relevant app .Deb file just downloaded from 'Apps/available apps/install'.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
Correction: SickBeard App 'shows' its installed, just won't run. Netgear's own UTM connectivity App doesn't show as installed.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
I have the exact same issue with 6.8.0, I can't install or uninstall apps. Looking at dpkg.log it looks like it could be related to cacti.
If I try to uninstall:
2017-08-16 06:30:03 startup packages configure 2017-08-16 06:30:03 configure cacti:all 0.8.8b+dfsg-8+deb8u6 <none> 2017-08-16 06:30:03 status half-configured cacti:all 0.8.8b+dfsg-8+deb8u6
And if I try to install (Plex): (I get the dashboard error Cannot install application plexmediaserver-ros6-binaries. )
2017-08-16 06:31:09 startup packages configure 2017-08-16 06:31:09 configure cacti:all 0.8.8b+dfsg-8+deb8u6 <none> 2017-08-16 06:31:09 status half-configured cacti:all 0.8.8b+dfsg-8+deb8u6 2017-08-16 06:31:12 startup archives unpack 2017-08-16 06:31:12 install plexmediaserver-ros6-binaries:amd64 <none> 1.8.1.4139-c789b3fbb 2017-08-16 06:31:12 status half-installed plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:44 status unpacked plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:44 status unpacked plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:44 startup packages configure 2017-08-16 06:31:44 configure cacti:all 0.8.8b+dfsg-8+deb8u6 <none> 2017-08-16 06:31:44 status half-configured cacti:all 0.8.8b+dfsg-8+deb8u6 2017-08-16 06:31:44 configure plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb <none> 2017-08-16 06:31:44 status unpacked plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:44 status half-configured plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:53 status installed plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:53 status triggers-pending libc-bin:amd64 2.19-18+deb8u10.netgear1 2017-08-16 06:31:54 trigproc libc-bin:amd64 2.19-18+deb8u10.netgear1 <none> 2017-08-16 06:31:54 status half-configured libc-bin:amd64 2.19-18+deb8u10.netgear1 2017-08-16 06:31:54 status installed libc-bin:amd64 2.19-18+deb8u10.netgear1 2017-08-16 06:31:54 startup packages purge 2017-08-16 06:31:54 status installed plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:54 remove plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb <none> 2017-08-16 06:31:54 status half-configured plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:55 status half-installed plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:55 status triggers-pending libc-bin:amd64 2.19-18+deb8u10.netgear1 2017-08-16 06:31:55 status config-files plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:55 purge plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb <none> 2017-08-16 06:31:55 status config-files plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:57 status config-files plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:57 status config-files plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:58 status config-files plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:58 status config-files plexmediaserver-ros6-binaries:amd64 1.8.1.4139-c789b3fbb 2017-08-16 06:31:58 status not-installed plexmediaserver-ros6-binaries:amd64 <none> 2017-08-16 06:31:58 trigproc libc-bin:amd64 2.19-18+deb8u10.netgear1 <none> 2017-08-16 06:31:58 status half-configured libc-bin:amd64 2.19-18+deb8u10.netgear1 2017-08-16 06:31:58 status installed libc-bin:amd64 2.19-18+deb8u10.netgear1 2017-08-16 06:31:58 startup packages configure 2017-08-16 06:31:58 configure cacti:all 0.8.8b+dfsg-8+deb8u6 <none> 2017-08-16 06:31:58 status half-configured cacti:all 0.8.8b+dfsg-8+deb8u6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
I saw this very issue mentioned in the release notes for 6.8 as a known problem that will be addressed in 6.8.1. It just says "apps installed from UI, workaround is to install manually." But given how it's described here, it sounds like you DID download the .deb and install as "upload" in the apps page? IF so, then I'm avoiding 6.8.0 until this is fixed. That's a super nasty problem I'm stunned wasn't caught in beta.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
Thanks, that's really stupid of them to release 6.8 without catching this bug. I now have a NAS with two dead apps because they wouldn't install / upgrade.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
@btaroli wrote:I saw this very issue mentioned in the release notes for 6.8 as a known problem that will be addressed in 6.8.1. It just says "apps installed from UI, workaround is to install manually." But given how it's described here, it sounds like you DID download the .deb and install as "upload" in the apps page? IF so, then I'm avoiding 6.8.0 until this is fixed. That's a super nasty problem I'm stunned wasn't caught in beta.
If Netgear is relying on Beta testing to find this kind of bug, then their test philosophy is inadaquate. This is simply not they kind of thing you rely on beta testing to find. You cannot expect a random self-selected group of users to install/update every app during a beta test phase. Most will just verify that the already-installed apps still work. Finding this type of error requires a list of reverse compatibility tests. A bad list of requirements yeilds a bad set of tests.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
@StephenB wrote:Since it's listed as a known problem, it was either caught in beta or in Netgear's testing.
Except that the work-around either doesn't work or is incomplete. If by "manually install the app" they mean via the Upload button on the Apps page (which is still part of the UI, which it says is broken), that doesn't work, either. If they mean via SSH and the command line, they certainly need to give more information, starting with "No work-around except via SSH, which may result in denial of support."
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
@Sandshark wrote:
@StephenB wrote:
Since it's listed as a known problem, it was either caught in beta or in Netgear's testing.
Except that the work-around either doesn't work or is incomplete.
I agree (and I'd have argued against releasing 6.8.0 with that limitation).
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
The problem is not really a bug in readynasos -- the bug lies in that the cacti application that one of you were installing (based on one of the comments in this thread earlier) can't fully install itself. Once you have an app that fails to install fully, it holds up other apps from installing properly. readynasos tries to work around some of those problems (which we have greatly improved). There's a log called install_debpkg.log that says what the problem was with installing the application. That can help debug app installation
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
Thanks, so this is our fault?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
@Sandshark wrote:
@StephenB wrote:
Since it's listed as a known problem, it was either caught in beta or in Netgear's testing.
Except that the work-around either doesn't work or is incomplete. If by "manually install the app" they mean via the Upload button on the Apps page (which is still part of the UI, which it says is broken), that doesn't work, either. If they mean via SSH and the command line, they certainly need to give more information, starting with "No work-around except via SSH, which may result in denial of support."
The issue is that when you attempt to update apps using UI (using the UPDATE button next to apps that are availalbe), it doesn't send the correct command to start the update; that's what is fixed in 6.8.1. The issue in this thread is unrelated to the updating of apps in general. This is a packaging issue that the cacti package maintainer needs to fix. I can look into and resolve this for you guys in this thread if you enable Secure Diagnostics mode and PM me your port number. I can let you know what problem your NAS is actually having with apps (since this is really a case-by-case thing, not a widespread issue) and address it.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
@kohdee wrote:There's a log called install_debpkg.log that says what the problem was with installing the application. That can help debug app installation
Uh, I thought that file was now deprecated in favor of the system journal. See https://community.netgear.com/t5/Community-Add-ons/How-best-to-diagnose-false-positive-app-upgrade-i...
journalctl --identifier=fv-app-install
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
Yeah, folks should be advised to check with the sources of their installed apps prior to upgrading, since it could block you from applying further updates from those developers... until they address this issue. I ran into this briefly with DVBLink. Thankfully they were quick to provide a fixed build.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
@btaroli wrote:
@kohdee wrote:
There's a log called install_debpkg.log that says what the problem was with installing the application. That can help debug app installation
Uh, I thought that file was now deprecated in favor of the system journal. See https://community.netgear.com/t5/Community-Add-ons/How-best-to-diagnose-false-positive-app-upgrade-i...
journalctl --identifier=fv-app-install
The install_debpkg.log is a file that is generated when you download the Logs bundle from the UI. Using the journal via journalctl is a backend command. I don't typically advise backend commands. Since you seem to already be familiar with backend commands, You can run apt-get install -yf and it should tell you a bunch of output. Can you copy and paste it into this thread and I can tell you what is going wrong with the installation of your apps?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
root@nas:~# apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up cacti (0.8.8b+dfsg-8+deb8u6) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline dbconfig-common: writing config to /etc/dbconfig-common/cacti.conf ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). unable to connect to mysql server. error encountered creating user: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) dpkg: error processing package cacti (--configure): subprocess installed post-installation script returned error exit status 10 Errors were encountered while processing: cacti E: Sub-process /usr/bin/dpkg returned an error code (1)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
@philask wrote:
root@nas:~# apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up cacti (0.8.8b+dfsg-8+deb8u6) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline dbconfig-common: writing config to /etc/dbconfig-common/cacti.conf ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). unable to connect to mysql server. error encountered creating user: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) dpkg: error processing package cacti (--configure): subprocess installed post-installation script returned error exit status 10 Errors were encountered while processing: cacti E: Sub-process /usr/bin/dpkg returned an error code (1)
Your problem stems from the MySQL server not being started.
Try
systemctl start mysql
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
I don't believe it's installed.
root@nas:~# systemctl start mysql Failed to start mysql.service: Unit mysql.service not found.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
Can I safely remove cacti, is it required by the ReadyNAS UI?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
MySQL does not come preinstalled on ReadyNAS; it is installed by apps. Maybe you had an app at one time that used it and then uninstalled it and then the app also went ahead and uninstalled MySQL. Cacti is also not pre-installed. You don't need cacti. You can do
apt-get remove --purge cacti
to remove Cacti. Once that is done. run
rm -rf /apps/cacti
to remove any lingering files from the Cacti installation.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
Ok, well removing cacti involved deleting the .prerm scripts from dpkg and a lot of screwing around but eventually I managed to remove it. Now everything seems to be working again.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
That seems to be a major theme in these old, outdated apps (broken prerm or postrm). I usually just add ||: to the end of the failing line and let the normal process continue, then manually clean up the other apps. Maybe @Mhynlo can redo the Cacti app to use a non-systemwide version of MySQL and something that has working DEBIAN scripts. 😛
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cannot install Apps on 6.8.0
Some app installation issues have been addressed by ReadyNASOS 6.8.1-T106 (Beta 1)