- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Apps gone after upgrading to 6.5.2 beta 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apps gone after upgrading to 6.5.2 beta 2
Hi guys,
Just upgraded from 6.5.1 to 6.5.2 beta2.
Apps are gone.
I don't see any previous installed app nor I cannot download new apps.
Someone faced this issue and solved? How?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
Can you send in your logs (see the Sending Logs link in my sig)?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
Can you try a different brwoser and confirm it is not browser specific?
Also, check back tomorrow around the same time. The ReadyNAS tries to update apps once a day. Perhaps it is interpreting something strange?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
I had a look at the logs and it seems that you did some things via SSH including an apt-get upgrade.
We don't recommend an apt-get upgrade. Whilst we do try to pin some packages it may still install things from the standard Debian repo that breaks things.
If it doesn't fix itself you could perhaps try an OS Re-install and see if that fixes it.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
Thanks mdgm,
Please could you remember me how to trigger os reinstall touching a file on filesystem?
I remember it was something like
touch /.os_reinstall
or something similar.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
@bypo wrote:Thanks mdgm,
Please could you remember me how to trigger os reinstall touching a file on filesystem?
I remember it was something like
touch /.os_reinstall
or something similar.
Thank you
Careful, you were close to the one to do a factory reset... according to this post, it's actually:
# touch /.os_update
It also says there that it's not QUITE the same as doing it from outside of SSH, in that it won't reset the admin password.
https://community.netgear.com/t5/New-to-ReadyNAS/OS-Re-install-via-SSH/m-p/910786#M6200
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
Actually
Factory Reset: # touch /.os_install
Extract the OS: # touch /.os_update
As of 6.5.1 we have this new trigger for an OS Re-install: # touch /.os_reinstall
So what bypo was proposing was O.K.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
@mdgm wrote:Actually
Factory Reset: # touch /.os_install
Extract the OS: # touch /.os_update
As of 6.5.1 we have this new trigger for an OS Re-install: # touch /.os_reinstall
So what bypo was proposing was O.K.
Ah, good to know. Rather unfortunate choice of trigger file though. You miss that "re" in there, and you wipe your entire filesystem instead of reinstall the OS. I could easily see someone making that mistake.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
That is a good point. However these aren't primarily there for end users to generate via the shell and if your data is important then you would have a backup of you made a mistake.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
Just tried an Os Reinstall with no luck.
Same issue.
/apps filesystem has applications inside but nothing shows up in Applications section on Readynas Admin
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
Maybe try
# apt-get update && apt-get install freeapp-collection
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
Here is the problem:
Deb package seems corrupted. It doesn't install...
root@readynas:~# apt-get install freeapp-collection
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
freeapp-collection
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,707 kB of archives.
After this operation, 26.6 MB of additional disk space will be used.
(Reading database ... 21100 files and directories currently installed.)
Preparing to replace freeapp-collection 1464771417 (using .../freeapp-collection_1469812930_amd64.deb) ...
Cannot install
dpkg: error processing /var/cache/apt/archives/freeapp-collection_1469812930_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/freeapp-collection_1469812930_amd64.deb
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: Apps gone after upgrading to 6.5.2 beta 2
What's the output of
# ls -la /apps
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
root@readynas:~# ls -la /apps
total 16
drwxrwxrwx 1 root root 68 Aug 20 13:33 .
drwxr-xr-x 1 root root 236 Aug 20 23:18 ..
drwxr-xr-x 1 media root 0 Jul 15 23:47 .forked-daapd
drwxr-xr-x 1 root root 88 Jul 17 22:45 smbplus
drwxr-xr-x 1 admin admin 110 Jul 17 22:47 transmissionr6
root@readynas:~#
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
Well you shouldn't have removed the .freeapps directory. When you misuse SSH you can break things.
# mkdir /apps/.freeapps
# chown admin:admin /apps/.freeapps
# chmod 755 /apps/.freeapps
Then try
# apt-get install freeapp-collection
again
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
Mdgm, I tried to debug the preinst script and here is what I noticed.
It seems that preinst script checks if /apps is on the same device of root fs / but I don't know why.
Currently my /apps fs is on the same device of / so this is the problem:
I wonder why this check has been introduced in latest beta?
root@readynas:/1# cat preinst
#!/bin/bash
if [ ! -d /apps -o $(($(stat -c%d /))) -eq $(($(stat -c%d /apps))) ]; then
echo "Cannot install"
exit 1
fi
exit 0
root@readynas:/1# stat -c%d /
18
root@readynas:/1# stat -c%d /apps
18
root@readynas:/1# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
udev 10240 4 10236 1% /dev
/dev/md0 4190208 792228 3024316 21% /
tmpfs 4080464 0 4080464 0% /dev/shm
tmpfs 4080464 12948 4067516 1% /run
tmpfs 4080464 0 4080464 0% /sys/fs/cgroup
tmpfs 4080464 0 4080464 0% /media
/dev/md126 11711345408 5798675284 5909627628 50% /Film
/dev/md/Data-0 3897329408 1297811528 2597387640 34% /Data
/dev/md0 4190208 792228 3024316 21% /home
/dev/md0 4190208 792228 3024316 21% /apps
root@readynas:/1#
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Apps gone after upgrading to 6.5.2 beta 2
Now we are getting somewhere. That is a good pickup.
/apps should be a mountpoint for /<volumename>/.apps where <volumename> is the name of one of your volumes.
The root volume is only 4GB so the apps definitely should not be stored there.
Similarly for the home shares.