Library Cleanup using the wrong IP address?
Posted: 13 May 2019, 16:16
iPad Pro - iOS 12.2 - MrMC 3.8-1
I ran into an odd problem: Recently I moved my NAS disks to a new router, old IP was 192.168.1.102, new IP is 192.168.254.16.
In my MrMC app I deleted the old video sources, and added the new video sources (all directories on the same NAS).
Everything worked fine as expected, for several weeks now. I can access all video files at the new IP address, and MrMC scans correctly for new files- the debug log shows:
NOTICE: VideoInfoScanner: Starting scan ..
...
DEBUG: NFS: Context for 192.168.254.16/nfs not open - get a new context.
DEBUG: NFS: Connected to server 192.168.254.16 and export /nfs
DEBUG: NFS: chunks: r/w 32768/32768
DEBUG: VideoInfoScanner: Skipping dir 'nfs://192.168.254.16/nfs/MyBook_2/MOVIES -TEST/' due to no change (fasthash)
DEBUG: VideoInfoScanner: Skipping dir 'nfs://192.168.254.16/nfs/MyBook_2/MOVIES-4K/' due to no change (fasthash)
DEBUG: VideoInfoScanner: Skipping dir 'nfs://192.168.254.16/nfs/MyBook_2/MOVIES/' due to no change (fasthash)
...
NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:40
But: when I try to run the 'Library Cleanup' function, MrMC tries to connect to the old NAS IP address, cannot mount NFS content and goes into an infinite loop until I force end the app. Debug log:
NOTICE: CleanDatabase: Starting videodatabase cleanup ..
DEBUG: DialogProgress::Open called
DEBUG: ------ Window Init (DialogProgress.xml) ------
INFO: Loading skin file: DialogProgress.xml, load type: KEEP_IN_MEMORY
WARNING: Skin has invalid include: TopBar
WARNING: Previous line repeats 2 times.
DEBUG: SECTION:LoadDLL(libnfs.framework/libnfs)
DEBUG: Loading: /var/containers/Bundle/Application/5347592F-3143-4538-B51D 120D76150681/MrMC.app/Frameworks/libnfs.framework/libnfs
DEBUG: NFS: Context for 192.168.1.102 not open - get a new context.
ERROR: NFS: Failed to mount nfs share: (nfs_service failed)
I tried both skins, the problem is the same.
Any advice what I could do?
Thanks for your help..
I ran into an odd problem: Recently I moved my NAS disks to a new router, old IP was 192.168.1.102, new IP is 192.168.254.16.
In my MrMC app I deleted the old video sources, and added the new video sources (all directories on the same NAS).
Everything worked fine as expected, for several weeks now. I can access all video files at the new IP address, and MrMC scans correctly for new files- the debug log shows:
NOTICE: VideoInfoScanner: Starting scan ..
...
DEBUG: NFS: Context for 192.168.254.16/nfs not open - get a new context.
DEBUG: NFS: Connected to server 192.168.254.16 and export /nfs
DEBUG: NFS: chunks: r/w 32768/32768
DEBUG: VideoInfoScanner: Skipping dir 'nfs://192.168.254.16/nfs/MyBook_2/MOVIES -TEST/' due to no change (fasthash)
DEBUG: VideoInfoScanner: Skipping dir 'nfs://192.168.254.16/nfs/MyBook_2/MOVIES-4K/' due to no change (fasthash)
DEBUG: VideoInfoScanner: Skipping dir 'nfs://192.168.254.16/nfs/MyBook_2/MOVIES/' due to no change (fasthash)
...
NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:40
But: when I try to run the 'Library Cleanup' function, MrMC tries to connect to the old NAS IP address, cannot mount NFS content and goes into an infinite loop until I force end the app. Debug log:
NOTICE: CleanDatabase: Starting videodatabase cleanup ..
DEBUG: DialogProgress::Open called
DEBUG: ------ Window Init (DialogProgress.xml) ------
INFO: Loading skin file: DialogProgress.xml, load type: KEEP_IN_MEMORY
WARNING: Skin has invalid include: TopBar
WARNING: Previous line repeats 2 times.
DEBUG: SECTION:LoadDLL(libnfs.framework/libnfs)
DEBUG: Loading: /var/containers/Bundle/Application/5347592F-3143-4538-B51D 120D76150681/MrMC.app/Frameworks/libnfs.framework/libnfs
DEBUG: NFS: Context for 192.168.1.102 not open - get a new context.
ERROR: NFS: Failed to mount nfs share: (nfs_service failed)
I tried both skins, the problem is the same.
Any advice what I could do?
Thanks for your help..