Minidlna stopped working

Re: Minidlna stopped working

Postby galaberta » Sun Feb 05, 2023 7:52 pm

Finally, regarding the web-explorer error, well, if you tell me what to do, I will try to do it!
thanks
galaberta
Donator VIP
Donator VIP
 
Posts: 42
Joined: Wed Oct 10, 2012 8:17 pm

Re: Minidlna stopped working

Postby Jocko » Mon Feb 06, 2023 8:55 am

galaberta wrote:
Code: Select all
rm -rf /share/1000/minidlna-old
root@galaberta:/ # rm -rf /share/1000/minidlna-old
rm: cannot remove `/share/1000/minidlna-old/mfvdw.conf': Operation not permitted
root@galaberta:/ #
So still a mysterious issue :pound
On the NET, I found a similar case but in French.
The way: by freeing the inode, you may remove the file...
First step, find its inode:
Code: Select all
stat /share/1000/minidlna-old/mfvdw.conf
Then start the debugfs interface
Code: Select all
debugfs -w /dev/sda8
(you should have this new prompt "debugfs:") Enter:
Code: Select all
freei <itsinode>
(put between <> file inode), and stop the debugfs interface
Code: Select all
quit
Now you have a corrupted fs on sda8: inode offset, you can check that
Code: Select all
e2fsck -n /dev/sda8
(use the option -n !), where you should read lines like
Code: Select all
Pass 5: Checking group summary information
Free inodes count wrong for group #0 (6615, counted=6616).
Fix? no

Free inodes count wrong (25848, counted=25849).
Fix? no
If it is the case repeat
Jocko wrote:- Open disk setup menu and click on the volume name to load the edit volume menu
- click on the button "Check and repair the filesystem"

Report if some errors has been detected.
which will repair inodes count and check if the file /share/1000/minidlna-old/mfvdw.conf is no longer here or you can delete it

Note: after this last attempt, we go to deepen web-explorer issue...
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Minidlna stopped working

Postby galaberta » Mon Feb 06, 2023 9:09 pm

Hi Jocko, sorry but I can not manage to do what you suggested

I get up to the debugfs -w /dev/sda8, but I do not get the prompt "debugfs:"

Code: Select all
root@galaberta:/ # stat /share/1000/minidlna-old/mfvdw.conf
  File: `/share/1000/minidlna-old/mfvdw.conf'
  Size: 227             Blocks: 8          IO Block: 4096   regular file
Device: 808h/2056d      Inode: 71172101    Links: 1
Access: (0644/-rw-r--r--)  Uid: (   99/  nobody)   Gid: (65534/ UNKNOWN)
Access: 2013-05-24 09:14:12.000000000 +0000
Modify: 2011-11-16 11:16:48.000000000 +0000
Change: 2018-01-10 12:48:47.000000000 +0000
root@galaberta:/ # debugfs -w /dev/sda8
debugfs 1.43.4 (31-Jan-2017)
freei <71172101>
galaberta
Donator VIP
Donator VIP
 
Posts: 42
Joined: Wed Oct 10, 2012 8:17 pm

Re: Minidlna stopped working

Postby galaberta » Mon Feb 06, 2023 9:09 pm

PS: sorry for my lack of knowledge!! ;)
galaberta
Donator VIP
Donator VIP
 
Posts: 42
Joined: Wed Oct 10, 2012 8:17 pm

Re: Minidlna stopped working

Postby Jocko » Tue Feb 07, 2023 10:15 am

Hi

Indeed with a large partition, it takes a long time to display the prompt "debugfs:". You have to wait up to it is done. For example on a 11TB I needed to wait 15min.

So repeat the sequence and wait after entering the commandline "debugfs -w /dev/sda8"
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Minidlna stopped working

Postby galaberta » Tue Feb 07, 2023 6:42 pm

Hi there, no luck,
this is what I got:
Code: Select all
root@galaberta:/ # stat /share/1000/minidlna-old/mfvdw.conf
  File: `/share/1000/minidlna-old/mfvdw.conf'
  Size: 227             Blocks: 8          IO Block: 4096   regular file
Device: 808h/2056d      Inode: 71172101    Links: 1
Access: (0644/-rw-r--r--)  Uid: (   99/  nobody)   Gid: (65534/ UNKNOWN)
Access: 2013-05-24 09:14:12.000000000 +0000
Modify: 2011-11-16 11:16:48.000000000 +0000
Change: 2018-01-10 12:48:47.000000000 +0000
root@galaberta:/ # debugfs -w /dev/sda8
debugfs 1.43.4 (31-Jan-2017)
debugfs:  freei <71172101>
freei: Warning: inode already clear
debugfs:  quit
root@galaberta:/ # e2fsck -n /dev/sda8
e2fsck 1.43.4 (31-Jan-2017)
Warning!  /dev/sda8 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
/dev/sda8: clean, 379928/121921536 files, 465156237/487661099 blocks
root@galaberta:/ #
galaberta
Donator VIP
Donator VIP
 
Posts: 42
Joined: Wed Oct 10, 2012 8:17 pm

Re: Minidlna stopped working

Postby Jocko » Thu Feb 09, 2023 1:31 pm

Hi

As you just ran previously this command, fs is still marked as clean and then it did not make a check in reality. So repeat it the option '-f' to force that
Code: Select all
e2fsck -n -f /dev/sda8


About web-explorer, do this sequence :
- load the web-explorer menu
- start the debug mode
- try to start it (if the menu claims the feature is already enabled, disable it make a submit and enable it again)
- stop the debug mode

And post
Code: Select all
cat /var/log/messages
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Previous

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 3 guests