grjbb

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by grjbb

  1. 16 minutes ago, Squid said:

    TLDR: Within the container, you reference the container path you've set in the template.  This path translates to the host path you set in the template.

     

    I currently have it set to /media and same issue, it scans 2 things and quickly ends with nothing being scanned 🤔 I have had it as /media, but been trying others to try get it to work. Restart the docker afterwards, couple of times having to restart my server due to my shares dissapearing! 

     

    Screenshot from 2021-06-06 15-28-07.png

    Screenshot from 2021-06-06 15-33-32.png

  2. Any one able to help? I have reinstalled countless times, removed from appdata and reinstalled to no avail. Below is my current docker inspect return.

     

    [
        {
            "Id": "d4390d77dd39c6488e7c1cc6b39271e3f6a8845af2c05b2825a5c0ff2a8744e0",
            "Created": "2021-06-06T14:21:17.438206984Z",
            "Path": "/usr/bin/tini",
            "Args": [
                "-g",
                "--",
                "/bin/bash",
                "/usr/local/bin/init.sh"
            ],
            "State": {
                "Status": "running",
                "Running": true,
                "Paused": false,
                "Restarting": false,
                "OOMKilled": false,
                "Dead": false,
                "Pid": 23591,
                "ExitCode": 0,
                "Error": "",
                "StartedAt": "2021-06-06T14:35:06.877468334Z",
                "FinishedAt": "2021-06-06T14:35:06.415341688Z"
            },
            "Image": "sha256:e200af18a3e8fac47053616719aa912ba610003a4c5115ef53e6e99d6b7ac462",
            "ResolvConfPath": "/var/lib/docker/containers/d4390d77dd39c6488e7c1cc6b39271e3f6a8845af2c05b2825a5c0ff2a8744e0/resolv.conf",
            "HostnamePath": "/var/lib/docker/containers/d4390d77dd39c6488e7c1cc6b39271e3f6a8845af2c05b2825a5c0ff2a8744e0/hostname",
            "HostsPath": "/var/lib/docker/containers/d4390d77dd39c6488e7c1cc6b39271e3f6a8845af2c05b2825a5c0ff2a8744e0/hosts",
            "LogPath": "/var/lib/docker/containers/d4390d77dd39c6488e7c1cc6b39271e3f6a8845af2c05b2825a5c0ff2a8744e0/d4390d77dd39c6488e7c1cc6b39271e3f6a8845af2c05b2825a5c0ff2a8744e0-json.log",
            "Name": "/binhex-airsonic-advanced",
            "RestartCount": 0,
            "Driver": "btrfs",
            "Platform": "linux",
            "MountLabel": "",
            "ProcessLabel": "",
            "AppArmorProfile": "",
            "ExecIDs": [
                "9a5785b3e78730321b9022f4249833f263b4b4970e1a31e5e1cc4ec1ae8519c0",
                "8f4c889bbbe287bba71107e396fd470d6307c327575a002761972da6e5247e76",
                "36369849de4dfac160a122d668f85327926b45c0f0f639f64a1497ec2400f020"
            ],
            "HostConfig": {
                "Binds": [
                    "/media/:/media:rw",
                    "/mnt/user/appdata/binhex-airsonic-advanced:/config:rw"
                ],
                "ContainerIDFile": "",
                "LogConfig": {
                    "Type": "json-file",
                    "Config": {}
                },
                "NetworkMode": "bridge",
                "PortBindings": {
                    "4040/tcp": [
                        {
                            "HostIp": "",
                            "HostPort": "4040"
                        }
                    ]
                },
                "RestartPolicy": {
                    "Name": "no",
                    "MaximumRetryCount": 0
                },
                "AutoRemove": false,
                "VolumeDriver": "",
                "VolumesFrom": null,
                "CapAdd": null,
                "CapDrop": null,
                "CgroupnsMode": "host",
                "Dns": [],
                "DnsOptions": [],
                "DnsSearch": [],
                "ExtraHosts": null,
                "GroupAdd": null,
                "IpcMode": "private",
                "Cgroup": "",
                "Links": null,
                "OomScoreAdj": 0,
                "PidMode": "",
                "Privileged": false,
                "PublishAllPorts": false,
                "ReadonlyRootfs": false,
                "SecurityOpt": null,
                "UTSMode": "",
                "UsernsMode": "",
                "ShmSize": 67108864,
                "Runtime": "runc",
                "ConsoleSize": [
                    0,
                    0
                ],
                "Isolation": "",
                "CpuShares": 0,
                "Memory": 0,
                "NanoCpus": 0,
                "CgroupParent": "",
                "BlkioWeight": 0,
                "BlkioWeightDevice": [],
                "BlkioDeviceReadBps": null,
                "BlkioDeviceWriteBps": null,
                "BlkioDeviceReadIOps": null,
                "BlkioDeviceWriteIOps": null,
                "CpuPeriod": 0,
                "CpuQuota": 0,
                "CpuRealtimePeriod": 0,
                "CpuRealtimeRuntime": 0,
                "CpusetCpus": "",
                "CpusetMems": "",
                "Devices": [],
                "DeviceCgroupRules": null,
                "DeviceRequests": null,
                "KernelMemory": 0,
                "KernelMemoryTCP": 0,
                "MemoryReservation": 0,
                "MemorySwap": 0,
                "MemorySwappiness": null,
                "OomKillDisable": false,
                "PidsLimit": null,
                "Ulimits": null,
                "CpuCount": 0,
                "CpuPercent": 0,
                "IOMaximumIOps": 0,
                "IOMaximumBandwidth": 0,
                "MaskedPaths": [
                    "/proc/asound",
                    "/proc/acpi",
                    "/proc/kcore",
                    "/proc/keys",
                    "/proc/latency_stats",
                    "/proc/timer_list",
                    "/proc/timer_stats",
                    "/proc/sched_debug",
                    "/proc/scsi",
                    "/sys/firmware"
                ],
                "ReadonlyPaths": [
                    "/proc/bus",
                    "/proc/fs",
                    "/proc/irq",
                    "/proc/sys",
                    "/proc/sysrq-trigger"
                ]
            },
            "GraphDriver": {
                "Data": null,
                "Name": "btrfs"
            },
            "Mounts": [
                {
                    "Type": "bind",
                    "Source": "/mnt/user/appdata/binhex-airsonic-advanced",
                    "Destination": "/config",
                    "Mode": "rw",
                    "RW": true,
                    "Propagation": "rprivate"
                },
                {
                    "Type": "bind",
                    "Source": "/media",
                    "Destination": "/media",
                    "Mode": "rw",
                    "RW": true,
                    "Propagation": "rprivate"
                }
            ],
            "Config": {
                "Hostname": "d4390d77dd39",
                "Domainname": "",
                "User": "",
                "AttachStdin": false,
                "AttachStdout": false,
                "AttachStderr": false,
                "ExposedPorts": {
                    "4040/tcp": {}
                },
                "Tty": false,
                "OpenStdin": false,
                "StdinOnce": false,
                "Env": [
                    "UMASK=000",
                    "PUID=99",
                    "PGID=100",
                    "TZ=Europe/London",
                    "HOST_OS=Unraid",
                    "CONTEXT_PATH=/",
                    "MAX_MEMORY=2046",
                    "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                    "HOME=/home/nobody",
                    "TERM=xterm",
                    "LANG=en_GB.UTF-8",
                    "JAVA_HOME=/usr/lib/jvm/java-8-openjdk/jre"
                ],
                "Cmd": [
                    "/bin/bash",
                    "/usr/local/bin/init.sh"
                ],
                "Image": "binhex/arch-airsonic-advanced",
                "Volumes": {
                    "/config": {},
                    "/media": {}
                },
                "WorkingDir": "",
                "Entrypoint": [
                    "/usr/bin/tini",
                    "-g",
                    "--"

     

  3. Spoiler

    2021-06-05 18:36:32.277 INFO --- o.a.p.s.MediaScannerService : Starting to scan media library.

    2021-06-05 18:36:32,278 DEBG 'start-script' stdout output:
    2021-06-05 18:36:32.278 INFO --- o.a.p.s.CacheConfiguration$CacheLogger : Cache Key: /media/user/music | EventType: REMOVED | Old value: music | New value: null

    2021-06-05 18:36:32,279 DEBG 'start-script' stdout output:
    2021-06-05 18:36:32.279 INFO --- o.a.p.s.CacheConfiguration$CacheLogger : Cache Key: /media/user/music/iTunes Media/Music | EventType: REMOVED | Old value: Music | New value: null

    2021-06-05 18:36:32,292 DEBG 'start-script' stdout output:
    2021-06-05 18:36:32.292 INFO --- o.a.p.s.MediaScannerService : Scanned media library with 5 entries.

    2021-06-05 18:36:32,293 DEBG 'start-script' stdout output:
    2021-06-05 18:36:32.293 INFO --- o.a.p.s.MediaScannerService : Persisting albums

    2021-06-05 18:36:32,293 DEBG 'start-script' stdout output:
    2021-06-05 18:36:32.293 INFO --- o.a.p.s.MediaScannerService : Persisting artists
    2021-06-05 18:36:32.293 INFO --- o.a.p.s.MediaScannerService : Marking non-present albums.

    2021-06-05 18:36:32,294 DEBG 'start-script' stdout output:
    2021-06-05 18:36:32.293 INFO --- o.a.p.s.MediaScannerService : Marking present files
    2021-06-05 18:36:32.293 INFO --- o.a.p.s.MediaScannerService : Marking non-present artists.
    2021-06-05 18:36:32.293 INFO --- o.a.p.s.MediaScannerService : Persisting genres

    2021-06-05 18:36:32,294 DEBG 'start-script' stdout output:
    2021-06-05 18:36:32.293 INFO --- o.a.p.s.MediaScannerService : Album persistence complete
    2021-06-05 18:36:32.294 INFO --- o.a.p.s.MediaScannerService : Updating genres

    2021-06-05 18:36:32,294 DEBG 'start-script' stdout output:
    2021-06-05 18:36:32.294 INFO --- o.a.p.s.MediaScannerService : Marking non-present files.
    2021-06-05 18:36:32.294 INFO --- o.a.p.s.MediaScannerService : Genre persistence successfully complete: true
    2021-06-05 18:36:32.294 INFO --- o.a.p.s.MediaScannerService : Artist persistence complete
    2021-06-05 18:36:32.294 INFO --- o.a.p.s.MediaScannerService : File marking complete

    2021-06-05 18:36:32,295 DEBG 'start-script' stdout output:
    2021-06-05 18:36:32.294 INFO --- o.a.p.s.MediaScannerService : Completed media library scan.

    2021-06-05 18:36:32,342 DEBG 'start-script' stdout output:
    2021-06-05 18:36:32.342 INFO --- o.a.p.s.MediaScannerService : Media library scan took 0s

    2021-06-05 18:36:32,342 DEBG 'start-script' stdout output:
    2021-06-05 18:36:32.342 INFO --- o.a.p.service.PlaylistService : Starting playlist import.

    2021-06-05 18:36:32,344 DEBG 'start-script' stdout output:
    2021-06-05 18:36:32.344 WARN --- o.a.p.service.PlaylistService : Failed to auto-import playlist /config/airsonic/playlists

    java.io.IOException: Is a directory
    at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[na:1.8.0_281]
    at sun.nio.ch.FileDispatcherImpl.read(FileDispatcherImpl.java:46) ~[na:1.8.0_281]
    at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[na:1.8.0_281]
    at sun.nio.ch.IOUtil.read(IOUtil.java:197) ~[na:1.8.0_281]
    at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:159) ~[na:1.8.0_281]
    at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:65) ~[na:1.8.0_281]
    at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:109) ~[na:1.8.0_281]
    at sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103) ~[na:1.8.0_281]
    at java.io.InputStream.read(InputStream.java:101) ~[na:1.8.0_281]
    at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2314) ~[commons-io-2.6.jar!/:2.6]
    at org.apache.commons.io.IOUtils.copy(IOUtils.java:2270) ~[commons-io-2.6.jar!/:2.6]
    at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:2291) ~[commons-io-2.6.jar!/:2.6]
    at org.apache.commons.io.IOUtils.copy(IOUtils.java:2246) ~[commons-io-2.6.jar!/:2.6]
    at org.apache.commons.io.IOUtils.toByteArray(IOUtils.java:765) ~[commons-io-2.6.jar!/:2.6]
    at chameleon.playlist.SpecificPlaylistFactory.readFrom(SpecificPlaylistFactory.java:131) ~[core-1.2.1-RELEASE.jar!/:na]
    at org.airsonic.player.service.PlaylistService.importPlaylist(PlaylistService.java:237) ~[classes!/:10.6.0]
    at org.airsonic.player.service.PlaylistService.importPlaylistIfUpdated(PlaylistService.java:352) ~[classes!/:10.6.0]
    at org.airsonic.player.service.PlaylistService.lambda$15(PlaylistService.java:329) ~[classes!/:10.6.0]
    at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[na:1.8.0_281]
    at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[na:1.8.0_281]
    at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[na:1.8.0_281]
    at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[na:1.8.0_281]
    at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[na:1.8.0_281]
    at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482) ~[na:1.8.0_281]
    at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472) ~[na:1.8.0_281]
    at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[na:1.8.0_281]
    at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[na:1.8.0_281]
    at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[na:1.8.0_281]
    at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[na:1.8.0_281]
    at org.airsonic.player.service.PlaylistService.doImportPlaylists(PlaylistService.java:327) ~[classes!/:10.6.0]
    at org.airsonic.player.service.PlaylistService.importPlaylists(PlaylistService.java:308) ~[classes!/:10.6.0]
    at org.airsonic.player.service.MediaScannerService.lambda$3(MediaScannerService.java:195) ~[classes!/:10.6.0]
    at java.util.concurrent.CompletableFuture.uniRun(CompletableFuture.java:719) ~[na:1.8.0_281]
    at java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:701) ~[na:1.8.0_281]
    at java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:457) ~[na:1.8.0_281]
    at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) ~[na:1.8.0_281]
    at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1067) ~[na:1.8.0_281]
    at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1703) ~[na:1.8.0_281]
    at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:172) ~[na:1.8.0_281]


    2021-06-05 18:36:32,344 DEBG 'start-script' stdout output:
    2021-06-05 18:36:32.344 INFO --- o.a.p.service.PlaylistService : Completed playlist import.

      Above is the log from scanning.

  4. 33 minutes ago, jonathanm said:

    Did you change the host mapping in the docker container config to point to the new share instead of /mnt/user/music? Music != music, they are 2 different paths, and you already had a share called music. Regardless of the name in the host (Unraid) the container still needs to be pointed to /media unless you created a new path mapping.

    I did! I have a share called music, then in that itunes>music. Problem I am having now is AIrsonic sees my folder, even scanned a .plist folder called iTunes Media and that appeared, yet no music. My music in a folder structure of Artist > Albums. I cant work out what could be causing it not to scan all my files. I have made another account and gave it the permission. Scanning just shows up a window scanning 5 items then dissapears.

  5. Thank you! now for my second issue I cant seem to get anything to scan. I created a Music share and moved my music to that. I hit scan and its very briefly scans and nothing after that. No music is to be seen, its over 400gb worth. Could this be a issue with the share permission perhaps? I can see all files in my OS finder and play songs etc.

  6. I do have a disk_assignments etc from my current USB. its all there compared to my 'official' backup I hade in July, I have made a copy of it all too. 

     

    If it IS the USB, is it just a case of replacing the files I have on the current USB to the backup folder, and wiping and compiling onto a new/ or current usb?

     

    I have gone from hmm to - 😲 thinking my USB is kaput. My initial problem is not being able to load the web gui or get a ipv6 for some reason. Any ideas for it?

  7. 9 minutes ago, trurl said:

    There should only be a single partition on the Unraid boot flash. If you had a good backup you could just make a new install and copy the config folder from your backup. The config folder is where all of your settings are.

     

    That old backup won't have any settings you made since then. Most importantly, if you made any changes to disk assignments, those would be wrong. One possible scenario is using a backup which specified a disk assigned as parity that you had since reused as data. If you used that Unraid would begin to overwrite that data disk with parity.

     

    Obviously having a flash backup on a system which can only be accessed after you have booted from flash is not the best plan. I use an NTFS Automounted Unassigned Device for my scheduled flash backup, that way I can just plug it into Windows if I need it. Another method would be an Automounted share on another computer in Unassigned Devices. Neither is a perfect solution though since if they aren't mounted for some reason the path to those would be in RAM instead.

     

    Do you have any diagnostics, syslogs, or screenshots we could get your disk assignments from? Do you have a copy of your license key? If we could get that far you and get the array started you could retrieve your backup.

    I will have screenshots somewhere, and I have copied the usb to my machine, I can read the info on it, just not edit it. Screenshot below is the last thing I can do. Does that mean it has saved a log somewhere? because when I go to where my previous ones are, this years 2020 current ones are not. My orginal problem was not having ipv6, or being able to logon onto the webgui.

    unraid prob1.JPG

  8. 13 minutes ago, trurl said:

    Do you have a backup of flash?

    I do but from last year, does this matter? I did have a plugin that backed up the usb to my array weekly 😳. Obviously this is uesless to me right now.

     

    I just done a health check the USB in OSX and the USB says healthy, yet the partition unraid is on is not.

  9. So I am stuck without able to do anything at the moment. I had trouble opening a few files last night, go to open my web-gui to see if everything was good today and tower/ doesn't load at all. and all my settings had been reverted, no dark mode, the default light theme etc. I stupidly REBOOTED.  I attach a monitor to my server to see what the issue was. No ipv6 to connect too. 

     

    I done some searching and editing the config seemed to be the go to, yet when I plug the USB (Kingston) into my machine, it was locked. and when I type diagnostics, it runs yet no file saves in my folder. Only previous diagnostics are there. I am guessing my USB is bricked? Would that explain why I had no ipv6 after reboot? 

     

    Just to confirm, I cant do anything with the USB in windows, not even load files to view nevermind edit. tried chkdsk, it wont allow me. I can only view files on OSX I have access too, but I can neither edit or delete them.

  10. So I have setup SAB, I want to be able to download, click on category  and label it as Movie so once it has processed it moves over to my drive with Movies on to be synced up with Plex. However in my SABnzbd settings  when setting up categories I click the folder to move too and cannot find the disk / folder I want to set it too. Only the data folder I have created for finished downloads to go to. How can I change this?

     

     

    sabnzbd.JPG