Updated to latest version - MiniDLNA not installing

126 views
Skip to first unread message

Chuck M

unread,
Jul 20, 2015, 11:17:51 AM7/20/15
to al...@googlegroups.com
I updated as usual to the latest version. The box is currently running Alt-F 0.1RC4.1 with kernel 3.10.32, and flashed with Alt-F-0.1RC4.1, kernel 3.10.32.

Minidlna stopped working at some time  (likely before the update but I don't recall). When I uninstalled and then reinstalled it, I got the following error:

Installing Alt-F package minidlna

/Alt-F does not exist or is not a symbolic link, exiting. 
Installing minidlna (1.1.4) to /Alt-F...
Configuring minidlna
/etc/init.d/S??minidlna not found.
Successfully terminated.
/Alt-F does not exist or is not a symbolic link, exiting. 
Success

It appears as an installed app, but I don't see a way to edit settings, etc... and it seems it's errored out in the install (terminated).

Any idea on how to fix this?

Chuck

K Robert

unread,
Jul 21, 2015, 10:01:04 AM7/21/15
to al...@googlegroups.com
I had issues also with latest minidlna (1.1.4) . It just stopped working in the middle of streaming. I uninstalled it, installed version 1.1.2, and no problem since.

I your case, it seems like the webgui is not finding the alt-f installation directory on your hdd...

Chuck Mariotti

unread,
Jul 21, 2015, 10:35:07 AM7/21/15
to al...@googlegroups.com

Any way to reinstall that directory?

--
You received this message because you are subscribed to a topic in the Google Groups "Alt-F" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/alt-f/Fo-faBFttRc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to alt-f+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/alt-f.
For more options, visit https://groups.google.com/d/optout.

http://t.sidekickopen14.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5df8YVdnHWq4Y99SxW64JdZR3LvrVvW1l9gsG1k1H6H0?si=5460257179959296&pi=ffeeb8a8-1ba8-45a9-83c4-ef92e496595a

K Robert

unread,
Jul 25, 2015, 4:21:54 AM7/25/15
to Alt-F, cmar...@xunity.com
Yes,
Remove all packages from Webui-Alt-f packages, reboot NAS, and install again on same hdd or different location. Do not update packages after install, if you want to stay on 1.1.2

Chuck Mariotti

unread,
Jul 28, 2015, 10:29:11 AM7/28/15
to K Robert, Alt-F

Using the “RemoveAll” function did not seem to remove them.

 

I then went one by one pressing remove, some dependencies, etc… Then the remove button would be come non-clickable but still viewable. Some items would have an “update” button…

I went through the whole list of installed packages but approx. 20 items remain installed (with remove button that can’t be clicked). The only remaining item was ‘ipkg’ and the remove would indicate that it msmtp might stop working if ipkg is removed…. Which I had already tried to remove it…

 

Rebooting and I get the same results… any ideas on how to completely uninstall and reinstall with this issue?

http://t.sidekickopen14.com/e1t/o/5/f18dQhb0S7ks8dDMPbW2n0x6l2B9gXrN7sKj6v5df8YVdnHWq4Y99SxW64JdZR3LvrVvW1l9gsG1k1H6H0?si=5460257179959296&pi=ed2ec6b0-217d-44e9-b6ed-28291c810245

João Cardoso

unread,
Aug 12, 2015, 1:34:30 PM8/12/15
to Alt-F, robe...@gmail.com


On Tuesday, 28 July 2015 15:29:11 UTC+1, Chuck M wrote:

Using the “RemoveAll” function did not seem to remove them.

 

I then went one by one pressing remove, some dependencies, etc… Then the remove button would be come non-clickable but still viewable. Some items would have an “update” button…

I went through the whole list of installed packages but approx. 20 items remain installed (with remove button that can’t be clicked).


Pre-installed packages (in the firmware) can't be removed, that's why the "remove" button is grayed out.
Disable all "boot enabled" services (Services->System, Network, User), save settings, reboot and use the "RemoveAll" button right after a reboot. Try a couple of times.
Even when using the command line (using telnet, *not* ssh), it might require a couple of tries  -- use the 'ipkg -clean' command

Chuck Mariotti

unread,
Aug 12, 2015, 1:55:27 PM8/12/15
to al...@googlegroups.com, robe...@gmail.com

Disabled all except for the SSH/HTTP service since I imagine this would lock me out.

Rebooted… Remove all.

Rebooted… Remove all.

SSHd in and ran the ipkg – clean command.

Rebooted…

 

I then went straight to the installation of MiniDLNA and I got the following (note the same “/Alt-F does not exist or is not a symbolic link, exiting.” Message.

·         Installing Alt-F package minidlna

Installing libexif (0.6.21) to /Alt-F...

Downloading http://sourceforge.net/projects/alt-f/files/pkgs/unstable/libexif_0.6.21_arm.ipk

Installing jpeg-libs (8c-3) to /Alt-F...

Downloading http://sourceforge.net/projects/alt-f/files/pkgs/unstable/jpeg-libs_8c-3_arm.ipk

Installing libid3tag (0.15.1b-4) to /Alt-F...

Downloading http://sourceforge.net/projects/alt-f/files/pkgs/unstable/libid3tag_0.15.1b-4_arm.ipk

Installing flac-libs (1.3.0) to /Alt-F...

Downloading http://sourceforge.net/projects/alt-f/files/pkgs/unstable/flac-libs_1.3.0_arm.ipk

Installing libogg (1.3.1) to /Alt-F...

Downloading http://sourceforge.net/projects/alt-f/files/pkgs/unstable/libogg_1.3.1_arm.ipk

Installing libvorbis (1.3.1) to /Alt-F...

Downloading http://sourceforge.net/projects/alt-f/files/pkgs/unstable/libvorbis_1.3.1_arm.ipk

Installing sqlite-libs (3080700) to /Alt-F...

Downloading http://sourceforge.net/projects/alt-f/files/pkgs/unstable/sqlite-libs_3080700_arm.ipk

Installing readline (6.2) to /Alt-F...

Downloading http://sourceforge.net/projects/alt-f/files/pkgs/unstable/readline_6.2_arm.ipk

Installing ncurses (5.9) to /Alt-F...

Downloading http://sourceforge.net/projects/alt-f/files/pkgs/unstable/ncurses_5.9_arm.ipk

Installing ffmpeg-libs (1.2.4) to /Alt-F...

Downloading http://sourceforge.net/projects/alt-f/files/pkgs/unstable/ffmpeg-libs_1.2.4_arm.ipk

Configuring ffmpeg-libs

Configuring flac-libs

Configuring jpeg-libs

Configuring libexif

Configuring libid3tag

Configuring libogg

Configuring libvorbis

João Cardoso

unread,
Aug 12, 2015, 2:30:05 PM8/12/15
to Alt-F, robe...@gmail.com


On Wednesday, 12 August 2015 18:55:27 UTC+1, Chuck M wrote:

Disabled all except for the SSH/HTTP service since I imagine this would lock me out.

Rebooted… Remove all.

Rebooted… Remove all.

SSHd in


Please notice what I wrote:

Even when using the command line (using telnet, *not* ssh), 

Even then it might fail at first. Try repeating 

nohup ipkg -clean &

until

aufs.sh -l

does not lists a /mnt/somepath/Alt-F line.

 

and ran the ipkg – clean command.

Rebooted…

 

I then went straight to the installation of MiniDLNA and I got the following (note the same “/Alt-F does not exist or is not a symbolic link, exiting.” Message.

 
A previous stray Alt-F folder was found... this is a bug, not sure where it comes from...

What's the output of

aufs.sh -l
ls
-l /Alt-F




Chuck Mariotti

unread,
Aug 12, 2015, 2:55:44 PM8/12/15
to al...@googlegroups.com, robe...@gmail.com

Argh… sorry, didn’t notice the Telnet/NOT SSH.

 

So I uninstalled using the GUI again… Rebooted.

Telnet into the box and issued:

 

ipkg clean

did this several times… rebooted, redid 5 times.

Issued:

nohup ipkg -clean &

Sat there until I hit enter… said done.

Reran that several times.

Issued:

Cat nohup.out and nothing was displayed.

Issued:

aufs.sh -l

but always had an Alt-F entry.

Here is output:

aufs on / type aufs (rw,relatime,si=1323b552)

/mnt/sda4/Alt-F=rw

/rootmnt/rw=rw

/rootmnt/ro=rr

 

 

From: al...@googlegroups.com [mailto:al...@googlegroups.com] On Behalf Of João Cardoso
Sent: August-12-15 2:30 PM
To: Alt-F <al...@googlegroups.com>
Cc: robe...@gmail.com
Subject: Re: [Alt-F] Re: Updated to latest version - MiniDLNA not installing

 

--

João Cardoso

unread,
Aug 13, 2015, 10:48:04 AM8/13/15
to al...@googlegroups.com, robe...@gmail.com


On Wednesday, 12 August 2015 19:55:44 UTC+1, Chuck M wrote:

Argh… sorry, didn’t notice the Telnet/NOT SSH.

 

So I uninstalled using the GUI again… Rebooted.

Telnet into the box and issued:

 

ipkg clean

 
No message at all?

Please telnet and try again, posting the full commands and its output:
(You don't need to use the webUI, it uses this same command)

ipkg -clean; echo $?
ls
-la / /Alt-F /mnt/sda4/Alt-F
aufs
.sh -u; echo $?
rm
-rf $(readlink -f /Alt-F) /Alt-F

The 'aufs.sh -l' command shouldn't display the /mnt/sda4/Alt-F entry now. Do a reboot, telnet and verify it again.
When/if solved, you can do a fresh package reinstall using the command

ipkg -install /mnt/sda4; echo$?

that does the same as using the webUI to install Alt-F packages in /mnt/sda4. Again, post the commands full output.

Chuck Mariotti

unread,
Aug 13, 2015, 11:16:52 AM8/13/15
to al...@googlegroups.com, robe...@gmail.com

Here is the full command stream:

 

storageraid login: root

Password:

COLUMNS=80;LINES=24;export COLUMNS LINES;

[root@storageraid]# ipkg -clean; echo $?

0

[root@storageraid]# ls -la / /Alt-F /mnt/sda4/Alt-F

/:

total 27

drwxr-xr-x   31 root     root          1024 Aug 12 22:31 .

drwxr-xr-x   31 root     root          1024 Aug 12 22:31 ..

drwxr-xr-x    4 root     root          1024 Mar 31 23:49 Alt-F

-rw-r--r--    1 root     root         15122 Oct  6  2014 COPYING

-rw-r--r--    1 root     root           329 Jan 10  2015 LICENSE

lrwxrwxrwx    1 root     root            16 Aug 12 22:34 Public -> /mnt/sda4/Public

-rw-r--r--    1 root     root           112 Aug 12 22:34 README.txt

drwxr-xr-x    2 root     root           973 Feb  3  2015 bin

drwxr-xr-x    2 root     root             3 Jan 30  2015 boot

drwxr-xr-x    4 root     root          1580 Aug 12 22:34 dev

drwxr-xr-x   15 root     root          1024 Aug 12 22:34 etc

lrwxrwxrwx    1 root     root            15 Aug 12 22:34 home -> /mnt/sda4/Users

-rwxr-xr-x    1 root     root          4433 Oct  6  2014 init

drwxr-xr-x    2 root     root           539 Feb  3  2015 lib

drwxr-xr-x    5 root     root           100 Aug 12 22:34 mnt

dr-xr-xr-x   48 root     root             0 Dec 31  1969 proc

drwxr-x---    2 root     root            60 Aug 13 11:06 root

drwxrwxrwt    4 root     root            80 Aug 12 22:34 rootmnt

drwxr-xr-x    2 root     root           540 Aug 12 22:34 sbin

dr-xr-xr-x   11 root     root             0 Aug 12 22:34 sys

drwxrwxrwt   10 root     root           240 Aug 13 11:05 tmp

drwxr-xr-x   12 root     root          1024 Mar 31 23:49 usr

drwxr-xr-x    4 root     root          1024 Mar 31 23:49 var

 

/Alt-F:

total 4

drwxr-xr-x    4 root     root          1024 Mar 31 23:49 .

drwxr-xr-x   31 root     root          1024 Aug 12 22:31 ..

drwxr-xr-x    3 root     root          1024 Aug 12 14:24 etc

drwxr-xr-x    8 root     root          1024 Oct  1  2014 usr

 

/mnt/sda4/Alt-F:

total 9

drwxr-xr-x    8 root     root          1024 Aug 12 22:31 .

drwxrwxrwx    9 root     root          1024 Aug  5 15:11 ..

-r--r--r--    1 root     root             0 Mar 31 23:49 .wh..wh.aufs

drwx------    2 root     root          1024 Mar 31 23:49 .wh..wh.orph

drwx------    2 root     root          1024 Apr  1 12:37 .wh..wh.plnk

drwxr-xr-x    4 root     root          1024 Mar 31 23:49 Alt-F

-rw-r--r--    1 root     root           112 Aug 12 22:34 README.txt

drwxr-xr-x    2 root     root          1024 Aug 12 22:34 etc

drwxr-xr-x    5 root     root          1024 Mar 31 23:49 usr

drwxr-xr-x    4 root     root          1024 Mar 31 23:49 var

[root@storageraid]# aufs.sh -u; echo $?

/Alt-F does not exist or is not a symbolic link, exiting.

1

[root@storageraid]# rm -rf $(readlink -f /Alt-F) /Alt-F

[root@storageraid]# aufs.sh -l

aufs on / type aufs (rw,relatime,si=e13bb6b9)

/mnt/sda4/Alt-F=rw

/rootmnt/rw=rw

/rootmnt/ro=rr

[root@storageraid]#

 

 

 

From: al...@googlegroups.com [mailto:al...@googlegroups.com] On Behalf Of João Cardoso
Sent: August-13-15 10:48 AM
To: Alt-F <al...@googlegroups.com>
Cc: robe...@gmail.com
Subject: Re: [Alt-F] Re: Updated to latest version - MiniDLNA not installing

 


On Wednesday, 12 August 2015 19:55:44 UTC+1, Chuck M wrote:

Argh… sorry, didn’t notice the Telnet/NOT SSH.

 

So I uninstalled using the GUI again… Rebooted.

Telnet into the box and issued:

 

ipkg clean

 

No message at all?

 

Please telnet and try again, posting the full commands and its output:

(You don't need to use the webUI, it uses this same command)

 

ipkg -clean; echo $?
ls
-la / /Alt-F /mnt/sda4/Alt-F
aufs
.sh -u; echo $?
rm
-rf $(readlink -f /Alt-F) /Alt-F


The 'aufs.sh -l' command shouldn't display the /mnt/sda4/Alt-F entry now. Do a reboot, telnet and verify it again.

When/if solved, you can do a fresh reinstall using the command

 

ipkg -install /mnt/sda4; echo$?


that does the same as using the webUI to install Alt-F packages in /mnt/sda4. Again, post the commands full output.

 

 

 

did this several times… rebooted, redid 5 times.

Issued:

nohup ipkg -clean &

Sat there until I hit enter… said done.

Reran that several times.

Issued:

Cat nohup.out and nothing was displayed.

Issued:

aufs.sh -l

but always had an Alt-F entry.

Here is output:

aufs on / type aufs (rw,relatime,si=1323b552)

/mnt/sda4/Alt-F=rw

/rootmnt/rw=rw

/rootmnt/ro=rr

 

 

João Cardoso

unread,
Aug 13, 2015, 12:23:20 PM8/13/15
to Alt-F, robe...@gmail.com


On Thursday, 13 August 2015 16:16:52 UTC+1, Chuck M wrote:

Here is the full command stream:

... 

[root@storageraid]# ipkg -clean; echo $?

0

[root@storageraid]# ls -la / /Alt-F /mnt/sda4/Alt-F

/:

total 27

drwxr-xr-x   31 root     root          1024 Aug 12 22:31 .

drwxr-xr-x   31 root     root          1024 Aug 12 22:31 ..

drwxr-xr-x    4 root     root          1024 Mar 31 23:49 Alt-F


This is wrong, it should be a link (similar to the bellow Public and home entries)
 

-rw-r--r--    1 root     root         15122 Oct  6  2014 COPYING

-rw-r--r--    1 root     root           329 Jan 10  2015 LICENSE

lrwxrwxrwx    1 root     root            16 Aug 12 22:34 Public -> /mnt/sda4/Public

-rw-r--r--    1 root     root           112 Aug 12 22:34 README.txt

drwxr-xr-x    2 root     root           973 Feb  3  2015 bin

drwxr-xr-x    2 root     root             3 Jan 30  2015 boot

drwxr-xr-x    4 root     root          1580 Aug 12 22:34 dev

drwxr-xr-x   15 root     root          1024 Aug 12 22:34 etc

lrwxrwxrwx    1 root     root            15 Aug 12 22:34 home -> /mnt/sda4/Users

... 

 

/Alt-F:

total 4

drwxr-xr-x    4 root     root          1024 Mar 31 23:49 .

drwxr-xr-x   31 root     root          1024 Aug 12 22:31 ..

drwxr-xr-x    3 root     root          1024 Aug 12 14:24 etc

drwxr-xr-x    8 root     root          1024 Oct  1  2014 usr

 

/mnt/sda4/Alt-F:

total 9

drwxr-xr-x    8 root     root          1024 Aug 12 22:31 .

drwxrwxrwx    9 root     root          1024 Aug  5 15:11 ..

-r--r--r--    1 root     root             0 Mar 31 23:49 .wh..wh.aufs

drwx------    2 root     root          1024 Mar 31 23:49 .wh..wh.orph

drwx------    2 root     root          1024 Apr  1 12:37 .wh..wh.plnk

drwxr-xr-x    4 root     root          1024 Mar 31 23:49 Alt-F


This is wrong, and Alt-F folder shouldn't appear here and is the reason why the first /Alt-F is not a link.

-rw-r--r--    1 root     root           112 Aug 12 22:34 README.txt

drwxr-xr-x    2 root     root          1024 Aug 12 22:34 etc

drwxr-xr-x    5 root     root          1024 Mar 31 23:49 usr

drwxr-xr-x    4 root     root          1024 Mar 31 23:49 var

[root@storageraid]# aufs.sh -u; echo $?

/Alt-F does not exist or is not a symbolic link, exiting.

1


The error is detected but not corrected.
 

[root@storageraid]# rm -rf $(readlink -f /Alt-F) /Alt-F

[root@storageraid]# aufs.sh -l

aufs on / type aufs (rw,relatime,si=e13bb6b9)

/mnt/sda4/Alt-F=rw

/rootmnt/rw=rw

/rootmnt/ro=rr

[root@storageraid]#


Try the following commands:

mount -t aufs -o remount,udba=notify / # mount aufs in notify mode, to allow direct manipulation
rm
-rf /mnt/sda4/Alt-F/Alt-F # remove the stray Alt-F/Alt-F folder
ipkg
-clean; echo $? # this should now work and display '0'
aufs
.sh -l; echo $? # the Alt-F entry shouldn't appear anymore
reboot
# obvious

I reproduced your error and the above commands solved it.
After a reboot, you can try

ipkg -install /mnt/sda4; echo $? # equivalent to installing into sda4 using the webUI, with the advantage of seeing all output; should display '0' at the end.

The question now is "how did the stray Alt-F/Alt-F folder appeared"?
Are you defining shares for the whole /mnt/sda4 filesystem, making the Alt-F folder appear and being manipulable, nonetheless what the README.txt file there says?
The advisable procedure is to define shares for specific folders, not for the whole filesystem. Even if inadvertently, it's easy to manipulate the Alt-F folder directly, and that has nasty consequences.

Chuck Mariotti

unread,
Aug 13, 2015, 12:31:15 PM8/13/15
to al...@googlegroups.com, robe...@gmail.com

Alt-F is still there.

 

storageraid login: root

Password:

COLUMNS=80;LINES=24;export COLUMNS LINES;

[root@storageraid]# mount -t aufs -o remount,udba=notify

aufs on / type aufs (rw,relatime,si=e13bb6b9)

[root@storageraid]# rm -rf /mnt/sda4/Alt-F/Alt-F

[root@storageraid]# ipkg -clean; echo $?

0

[root@storageraid]# aufs.sh -l; echo $?

aufs on / type aufs (rw,relatime,si=e13bb6b9)

/mnt/sda4/Alt-F=rw

/rootmnt/rw=rw

/rootmnt/ro=rr

0

[root@storageraid]#

 

From: al...@googlegroups.com [mailto:al...@googlegroups.com] On Behalf Of João Cardoso
Sent: August-13-15 12:23 PM
To: Alt-F <al...@googlegroups.com>
Cc: robe...@gmail.com
Subject: Re: [Alt-F] Re: Updated to latest version - MiniDLNA not installing

 

--

João Cardoso

unread,
Aug 13, 2015, 12:51:16 PM8/13/15
to Alt-F, robe...@gmail.com


On Thursday, 13 August 2015 17:31:15 UTC+1, Chuck M wrote:

Alt-F is still there.

 


aufs.sh -n; echo $?
aufs.sh -u; echo $?
ls -la / /Alt-F /mnt/sda4/Alt-F
rm -rf /mnt/sda4/Alt-F

after a reboot.

Do you have any valuable data in sda4? What about my last question?


To unsubscribe from this group and all its topics, send an email to alt-f+unsubscribe@googlegroups.com.

Chuck Mariotti

unread,
Aug 13, 2015, 2:57:20 PM8/13/15
to al...@googlegroups.com, robe...@gmail.com

Not sure about sda4… If that’s just a boot drive and my data on md0 is safe, then ya, not a problem to kill it… having said that, I guess I need to back my data up anyways… since nothing is safe really.

 

As for the reason it’s like this… I don’t know why. A couple of years ago, one of the firmware updates didn’t seem to work, I thought it was just rebuilding and left it for a few days… I reflashed it a few weeks later when I had the time. I have no clue of the details… I guess it’s possible that I tried to access the files system to see if the data was there when it wasn’t working, but if I recall, nothing showed up as mounted. Sorry, it was too long ago for me to recall.

 

About a year ago, I had a hard drive failure and it was replaced (I think without issue, took a while to rebuild).

 

I’ve been using Alt-F for a number of years with a number of firmware updates… usually never a problem.

 

If it’s just easier for me to back it all up and wipe everything, I will just do that. I think I’ve given you enough troubles already.

 

Regards,

Chuck

To unsubscribe from this group and all its topics, send an email to alt-f+un...@googlegroups.com.

--

You received this message because you are subscribed to a topic in the Google Groups "Alt-F" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/alt-f/Fo-faBFttRc/unsubscribe.

To unsubscribe from this group and all its topics, send an email to alt-f+un...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages