Bjonness406

Community Developer
  • Posts

    624
  • Joined

  • Last visited

Posts posted by Bjonness406

  1. On 1/25/2021 at 1:12 PM, mrforsythexter said:

    It seems to be having an issue starting...
     

    
    
    Getting Stable Version ()
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    Unzipping...
    
    gzip: stdin: not in gzip format
    tar: Child returned status 1
    tar: Error is not recoverable: exiting now
    chmod: cannot access '/app/Ombi/Ombi': No such file or directory
    s6-applyuidgid: fatal: unable to exec /app/Ombi/Ombi: No such file or directory
    /start.sh exited 111

     

    any advice?

     

    9 hours ago, fixer said:

     

    Same problem for me

     

    I would recommend you to post the issue here: 
    https://github.com/rogueosb/docker-ombi/issues 

     

    If not, you could change to linuxserver's Ombi docker. 

  2. On 11/29/2019 at 5:54 PM, Halvliter said:

    I'm struggling to pass the test to connect Bazarr to Sonarr.
     

    Sonarr Version 2.0.0.5338

     

    My TV-shows are located at /mnt/user/media/TV-shows

     

    My questions are:

     

    When I install the docker, I set the Host Path 2 and 3 to my movies and TV-shows folder. and the container path is /tv and /movies 

     

    1. Listening IP Address - 0.0.0.0 or the IP-address of my server?

     

    2. Path Mappings For TV Shows:

     

    • Path for Sonarr: (Root path to the directory Sonarr accesses)

    Should this path be /mnt/user/media/TV-shows? or Bazarr container path /tv? Or Sonarr container path /media?

     

    • Path for Bazarr: (Path that Bazarr should use to access the same path remotely)

    Should this path be /mnt/user/media/TV-shows? or Bazarr container path /tv? Or Sonarr container path /media?

     

    3. Connection settings

    • Hostname or IP Address

    127.0.0.1 or IP-address of my fileserver?

     

    • SSL enabled?
    • API Key?

    Do I need the API key?

     

     

     

    1. Use 0.0.0.0 in general settings, and the ip of your server/docker in ip settings for sonarr. 
     

    2. På bazarr har jeg følgende mappings:

    Path for sonarr: /media (/mnt/user/tvshows)

    Path for bazarr: /tv (/mnt/user/tvshows)
     

    3. Ip address of your server 

     

    Yes you need the api key

     

    Your mapping in bazarr would be /tv (sonarr) and /media/TV-Serie (bazarr)

     

  3. On 5/14/2019 at 11:20 AM, itimpi said:

    Actually it will not if you have not installed a desktop application (and Unraid does not include a desktop as standard).  The file manager is normally part of the desktop application.

     

    An easy workaround at the moment if you want a GUI based file manager that can be run in a browser is to install the Krusader or Dolphin docker containers which give you  a GUI based file manager with the same capabilities as you would expect on a standard Linux system.

     

    Having said that I have undertaken a personal project to see if I can develop a plugin to integrate this  File Manager into the Unraid GUI but it is proving to be a non-trivial task so I am not sure whether I will be successful.   I could easily release a version that was simply a 'File Manager' tool accessed via the Tools menu without full integration into the Unraid GUI if anyone thought this would be useful as I have already managed to do that as part of my initial development/testing? 

    I think this would be very useful. I don't see to much point integrate it more in the webgui than a link in the tools menu. 

     

    What is way more work, but I think would be extremely useful is a file browser with the functions / limitations that trurl mentions above. 

     

    On 2/20/2019 at 4:06 PM, trurl said:

    I am beginning to think this would be a good addition, but for reasons not mentioned on this thread.

     

    It would allow us to prevent 2 surprising results when managing files in Krusader, Midnight Commander, command line, etc.

     

    1. If you mix user shares and disks when moving/copying files, you can actually lose data, because Linux doesn't realize that the source path and the destination path might actually be the same file, and so tries to overwrite what it is trying to read. This is often referred to as the User Share Copy Bug.
    2. The Linux command for Move and Rename are the same, mv. So when you try to move files from one user share to another, Linux will often simply rename the files so they have a different path on the same disk, in violation of any user share settings such as included disks. The workaround for this is to copy from source to destination, so that new files get created following the user share settings, then deleting from the source.

    If we had our own file manager, number 1 could be rejected, and number 2 could implement the mentioned workaround.

     

    Of course, this would be a very large undertaking. Maybe some existing source code could be customized.

     

  4. On 9/29/2018 at 2:41 PM, trurl said:

    What does this even mean? I'm guessing you are referring to something else you have posted somewhere but I don't know what.

     

    On 9/29/2018 at 3:24 PM, itimpi said:

    I assumed it was asking about in-place encryption of drives.  It is definitely not possible at the moment and I am not sure if it has even been suggested as a likely future enhancement.

     

    Limetech said itself that they plan on adding in-place encryption of devices in 6.4.0 release notes :)

     

    "ALL PREVIOUS DATA ON THAT DEVICE WILL BE DESTROYED. Hence it is not possible, in this release, to encrypt in-place. We plan to add a utility in a future release to accomplish this however." 

     

    https://forums.unraid.net/topic/65494-unraid-os-version-640-stable-release-available/

  5. 18 hours ago, scarecrow365 said:

    Just installed AMP and went to stand up a new Minecraft server. It fails before it even creates the Instance:

    
    [16:29:46] [Core:USERNAME Debug] : Running command line: "ping -c 4 -I [IP_ADDR] google.com" from "/ampdata/instances/Instance"
    [16:29:46] [Core:USERNAME Debug] : Running command line: "ping -c 4 -I [IP_ADDR] google.com" from "/ampdata/instances/Instance"
    /bin/ping: invalid option -- 'I'
    Try 'ping --help' or 'ping --usage' for more information.

    It looks like I'm out of luck, as the installed inetutils-ping doesn't support that flag.

    
    inetutils-ping/now 2:1.9.2.39.3a460-3 amd64 [installed,local]

    Is there any workaround, or will the image just need to be built with iputils instead?

    I am going to remove this image, since I don't have the time to do support on another ones docker, and I don't have the time to make my own atm.

    Cubecoders are going to make their own docker after 1.7 update FYI

  6. 11 hours ago, saarg said:

     

    You could say that it's running like setting network to host mode, except not using hosts IP. This means all ports are open and doesn't need to be mapped. 

     

    You don't need to do anything to use a new port. Just set the new port in the software you run in the container and it should work. 

    Ah, I see.
    Thanks for the help guys. Closing this now B|

  7. 28 minutes ago, bonienl said:

    With custom networks there is no port mapping required.

     

    Ok, I see.

    Is there any documention on this on the unraid manual? I want to read a bit more about this, without going in very deep.

     

    How does unraid/docker find out which ports to map then? Does it take the ones from "Expose" part on the docker file?
    How will I then add another port if neccesary without editing the docker file itself?

     

    Maybe it would be nice to grey out the port field then using custom networks? If that is not too much work.

  8. Description:
    Then trying to add a new port when network type is set to Custom it is not possible to add container port
    
    How to reproduce:
    Try to add a new port then network type is set to Custom.
    
    Expected results:
    Shows the Container port field when network type is set to Custom (like it does on network type bridge)
    
    Actual results: 
    Not showing the conatiner port field 
  9. 45 minutes ago, BRiT said:

    @Bjonness406

     

    Has anyone tried using chattr? :ph34r:

     

    Nope, never heard of before!

    This works great, even without changing permissions or owner if the files. 

    So if I want to make all the files uneditable, can I run this command?

    find /mnt/disk1/Media/ -type f -exec chattr +i "{}" \;
    find /mnt/disk2/Media/ -type f -exec chattr +i "{}" \;

     

    And If I need to edit the files again, I run this command?

    find /mnt/disk1/Media/ -type f -exec chattr -i "{}" \;
    find /mnt/disk2/Media/ -type f -exec chattr -i "{}" \;

     

    There is no need to do this on folder too? I could at least not delete any folders with a file that is immutable.

  10. Created a test share to look at this closer.

     

    My windows account is named bjonness406 and the SMB share settings is set to "Private" and "Read/Write" for user bjonness406.

    As you can see I still can make the file writeable from notepad++

    I can't delete the folder or the file itself from windows explorer, or add new files into the Permissions folder. 

    If I try to edit the file with windows notepad, it will not let me and tells me the file is write protected. 

    root@Tower:~# cd /mnt/user/Testing/
    root@Tower:/mnt/user/Testing# ls -l
    total 0
    drwxrwxrwx 1 bjonness406 users 29 Nov 19 15:56 Permissions/
    root@Tower:/mnt/user/Testing# cd Permissions/
    root@Tower:/mnt/user/Testing/Permissions# ls -l
    total 4
    -rw-rw-rw- 1 bjonness406 users 5 Nov 19 15:57 Try\ to\ edit.txt
    root@Tower:/mnt/user/Testing/Permissions# cd ..
    root@Tower:/mnt/user/Testing# chmod 544 Permissions/
    root@Tower:/mnt/user/Testing# chown root Permissions/
    root@Tower:/mnt/user/Testing# ls -l
    total 0
    dr-xr--r-- 1 root users 29 Nov 19 15:56 Permissions/
    root@Tower:/mnt/user/Testing# cd Permissions/
    root@Tower:/mnt/user/Testing/Permissions# ls -l
    total 4
    -rw-rw-rw- 1 bjonness406 users 5 Nov 19 15:57 Try\ to\ edit.txt
    root@Tower:/mnt/user/Testing/Permissions# chmod 444 Try\ to\ edit.txt
    root@Tower:/mnt/user/Testing/Permissions# chown root Try\ to\ edit.txt
    root@Tower:/mnt/user/Testing/Permissions# ls -l
    total 4
    -r--r--r-- 1 root users 5 Nov 19 16:01 Try\ to\ edit.txt
    root@Tower:/mnt/user/Testing/Permissions# ls -l
    total 4
    -rw-rw-rw- 1 root users 10 Nov 19 16:01 Try\ to\ edit.txt
    root@Tower:/mnt/user/Testing/Permissions#

     

    Tried to change the group to root also, but I still can make the file writeable with notepad++! 

    root@Tower:/mnt/user/Testing/Permissions# chown root:root Try\ to\ edit.txt
    root@Tower:/mnt/user/Testing/Permissions# ls -l
    total 4
    -r--r--r-- 1 root root 10 Nov 19 16:01 Try\ to\ edit.txt
    root@Tower:/mnt/user/Testing/Permissions# ls -l
    total 4
    -rw-rw-rw- 1 root root 16 Nov 19 16:23 Try\ to\ edit.txt
    root@Tower:/mnt/user/Testing/Permissions#

     

  11. 11 hours ago, pwm said:

    You have now write-protected the files, i.e. blocked programs from changing them.

     

    You also want to write-protect the directories, to block programs from deleting files.

    Thanks, now I can't delete the files from windows browser. 
    Then my folder and files look like this.

    root@Tower:/mnt/user/Movies# ls -l
    dr--r--r-- 1 root        users 117 Nov 18 23:06 Forrest\ Gump\ (1994)/
    
    root@Tower:/mnt/user/Movies/Forrest Gump (1994)# ls -l
    total 11465972
    -r--r--r-- 1 root users      121133 Feb 14  2016 Forrest\ Gump\ (1994).english.srt
    -r--r--r-- 1 root users 11740930048 Feb 14  2016 Forrest\ Gump\ (1994).mkv
    -r--r--r-- 1 root users       98793 Nov 19 10:59 Forrest\ Gump\ (1994).norweigan.srt

     

    Tried opening a file in windows notepad and I can't edit the file, but if I go into Notepad++ and select "Clear Read-Only Flag" I can edit the file again.

    Anyone has any tips? 

    root@Tower:/mnt/user/Movies/Forrest Gump (1994)# ls -l
    total 11465972
    -r--r--r-- 1 root users      121133 Feb 14  2016 Forrest\ Gump\ (1994).english.srt
    -r--r--r-- 1 root users 11740930048 Feb 14  2016 Forrest\ Gump\ (1994).mkv
    -rw-rw-rw- 1 root users       98793 Nov 19 11:06 Forrest\ Gump\ (1994).norweigan.srt

     

  12. Hmm. I am sure I missed something, but can't figure out what. 
    Way too long since I was active on unraid.. :$

     

    Tried to applying the commands, but I still can delete the files from windows..

    I removed the size part since I want to "lock" down my srt files too. 

    find /mnt/user/Movies/ -type f -exec chmod 444 "{}" \;
    find /mnt/user/Movies/ -type f -exec chown root "{}" \;

     

    ls -l "Forrest Gump (1994)"
    total 11465972
    -r--r--r-- 1 root users      121133 Feb 14  2016 Forrest\ Gump\ (1994).english.srt
    -r--r--r-- 1 root users 11740930048 Feb 14  2016 Forrest\ Gump\ (1994).mkv
    -r--r--r-- 1 root users       98793 Feb 14  2016 Forrest\ Gump\ (1994).norweigan.srt
    

     

  13. On 16.5.2017 at 3:56 AM, BRiT said:

    So to find all the files larger than 10 Megs in size and give a listing:

    find /mnt/user/Media/ -type f -size +10M -ls

     

    To find files smaller than 10 Megs in size and give a listing:

    find /mnt/user/Media/ -type f -size -10M -ls

     

    Other units available for size is 'k' for Kilobytes, 'c' for bytes, 'M' for Megabytes, and 'G' for Gigabytes.

     

    To change permissions to READ only for files larger than 10 Megs in size:

    find /mnt/user/Media/ -type f -size +10M -exec chmod 444 {} \;

     

    Then to change owner to ROOT for files larger than 10 Megs in size:

    find /mnt/user/Media/ -type f -size +10M -exec chown root {} \;

    Oh, nice! 
    Need to add this to a schedule in the user scripts plugin. Changing permissions every monday night on my movies and locking them down.. 

    B|

  14. On 18.5.2017 at 1:45 AM, AnnabellaRenee87 said:

    Telling me that Java is not installed at all.

    Sorry for late answear, I have had a lot to do so forgot about it.

    Thats because the docker that i got asked to make a template for does not have Java installed >:(

    Will see if I can find another docker with java 8 installed, I dont have time to make my own docker atm. 
    If someone finds a AMP docker with java 8, please tell me.

     

    On 8.6.2017 at 7:20 PM, megna22 said:

    I like this convert to MKV docker. I was just wondering if their was an option to change the output folder and what do I have to change to have it output the converted file into a different folder? Dumb it down cause I am new at this. :)

    That is not currently possible with the script, you have to ask @ntrevena at the plex forum for that since he was the one making the script.

    https://forums.plex.tv/discussion/233133/convert2mkv-now-supporting-mp4-h264-and-x265-hevc-output-updated-18-10-16/p1

     

    7 hours ago, megna22 said:

    It would be more useful that way, and off the subject could someone create a docker that would auto get metadata for files like movies. Theirs nothing that does this other then plex witch I do not run as it bogs the server down to much. I use multimedia manager but it's just for windows and no I don't want to run a VM my server will not handle it.

    Plex is what I use and recommend, but does not Emby do the same thing?

  15. 12 hours ago, AnnabellaRenee87 said:

    OK, was lurking in the background hoping you would reply to them.

    The Docker runs Java 7 and its not good at all with Pocket Edition/Windows 10.

    I tried bashing in to the docker and force updating it to 8 but it reverts the moment you restart the docker.

    Source https://forums.cubecoders.com/chat/aborted-launch-for-pe-nukkit-jar-minecraft

    Also more exotic Minecraft Servers may have issues. (i get random errors in my console related to Java on my Spigot server)

    And Pocket/Windows 10 Edition wont work due to the error in that link.

    I see. 
    I don't have so much to to test this atm. Could you test this and give me a feedback on how it is working?
    https://github.com/bjonness406/Testing