FAQ  •  Register  •  Login

Cannot Remove Library Folder

<<

eewiz

User avatar

Streaming enthusiast

Posts: 22

Joined: Sat Mar 05, 2016 8:59 am

Post Sun Oct 16, 2022 12:44 pm

Cannot Remove Library Folder

I'm running v-2.2.1 in a Truenas jail.
I have a library folder that has a large number of corrupt files.
I am working to eliminate all of the corrupt files with mpck.

In Serviio I selected delete on the folder's drop down and hit Save. Serviio ran for quite a while before Error 500.
Error500.jpg
Error500.jpg (15.89 KiB) Viewed 1652 times


Now, when I try again, I get Error 500 almost immediately, again and again, so I am unable to remove the folder from the library.

How can I fix this?

Thank You
<<

atc98092

User avatar

DLNA master

Posts: 5221

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Oct 16, 2022 7:10 pm

Re: Cannot Remove Library Folder

Could you post a copy of your Serviio log? I don't know if we'll need to see a detailed log or if the general log will show the issue.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

eewiz

User avatar

Streaming enthusiast

Posts: 22

Joined: Sat Mar 05, 2016 8:59 am

Post Mon Oct 17, 2022 6:59 pm

Re: Cannot Remove Library Folder

Hello, and thanks for the reply.

No I can't see the log because Serviio is installed in a jail on a Truenas server.
I'm a 40 year DOS/Windows user that knows nothing about the BSD/Linux directory structure.
I have no idea where the log is to be found in a Truenas server's jail console.
I can't even find where the Serviio program is installed.
A year ago I followed internet instructions to run a command that installed Serviio from some repository.
The installation was automatic and I was quit pleased that it just worked.

Although, to fix the issue, I restarted Serviio's jail and then continued the folder remove until the next 500 error.
I had to do this three times to finally get the heavily corrupted folder removed.

I am now removing any file in my music library that fails to check OK with mpck.exe.
Serviio is currently removing the last of a dozen music folders.
When I get Serviio down to zero I will start to add corruption-cleaned folders back into serviio one at a time.
I hope this time Serviio just works.

Thank You
<<

atc98092

User avatar

DLNA master

Posts: 5221

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Mon Oct 17, 2022 7:14 pm

Re: Cannot Remove Library Folder

Linux file structure can be puzzling to us old DOS/Windows users. When you use it, it becomes more logical, but I still always have to scratch my head a bit when I get into one. And when you have an OS that partitions a section (or jails it as you refer to it) it can really be difficult to find the install location. Under a basic Linux install, programs generally get installed into one of two locations, either the /opt folder (a DOS equivalent would be C:\opt) or under /home/user_name (or under Windows it would now be C:\users\user_name). But since you have a security partition installed, I can't guess where it might actually be located. I have no experience at all with trueNAS.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

eewiz

User avatar

Streaming enthusiast

Posts: 22

Joined: Sat Mar 05, 2016 8:59 am

Post Mon Oct 17, 2022 9:08 pm

Re: Cannot Remove Library Folder

Thanks for the reply.

I went one level into each of these directories and found nothing like Serviio.

root@serviioj-shed:~ # cd /
root@serviioj-shed:/ # ls -l
total 259
-rw-r--r-- 2 root wheel 1089 Oct 23 2020 .cshrc
-rw-r--r-- 2 root wheel 470 Oct 23 2020 .profile
drwxr-xr-x 2 root wheel 46 Aug 13 16:02 bin
drwxr-xr-x 10 root wheel 63 Aug 13 16:02 boot
-r--r--r-- 1 root wheel 6177 Oct 23 2020 COPYRIGHT
dr-xr-xr-x 13 root wheel 512 Oct 16 15:44 dev
drwxr-xr-x 25 root wheel 106 Oct 16 15:44 etc
drwxr-xr-x 5 root wheel 62 Aug 13 16:02 lib
drwxr-xr-x 3 root wheel 5 Oct 23 2020 libexec
drwxr-xr-x 2 root wheel 2 Oct 23 2020 media
drwxr-xr-x 3 root wheel 3 Dec 4 2021 mnt
drwxr-xr-x 2 root wheel 2 Oct 23 2020 net
dr-xr-xr-x 2 root wheel 2 Oct 23 2020 proc
drwxr-xr-x 2 root wheel 150 Aug 13 16:02 rescue
drwxr-xr-x 2 root wheel 8 Oct 16 10:05 root
drwxr-xr-x 2 root wheel 137 Nov 14 2021 sbin
lrwxr-xr-x 1 root wheel 11 Nov 14 2021 sys -> usr/src/sys
drwxrwxrwt 9 root wheel 19 Oct 17 15:44 tmp
drwxr-xr-x 16 root wheel 16 Nov 21 2021 usr
drwxr-xr-x 26 root wheel 26 Oct 16 15:44 var
root@serviioj-shed:/ #

All for now

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 8 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.