Cpt. Chaz

Members
  • Posts

    220
  • Joined

  • Last visited

Posts posted by Cpt. Chaz

  1. On 1/22/2023 at 11:32 AM, nraygun said:

    Confirming this worked for me too. Not sure I needed to replace both, but I did anyway and Swag and Nextcloud are both back and up and running.

    For noobs like me, here's what I did:

    1. Stop the Swag container

    2. Go to the /mnt/appdata/swag folder

    3. Rename your ssl.conf to ssl.conf.old and nginx.conf to nginx.conf.old (just in case we to restore them)

    4. Copy ssl.conf.sample to ssl.conf and nginx.conf.sample to nginx.conf

    5. Start the container and you should be good.

     

    For anyone experiencing this issue (for noobs, it doesn't matter if you still have this container called letsencrypt, directory structure is still the same), this is exactly the fix for it. Although it's worth pointing out these .conf files are in the nginx sub-folder for this container, so the full path is:

    /mnt/user/appdata/swag/nginx

    inside this folder, you'll find the nginx.conf and ssl.conf files. if you're using the terminal, use these commands:

    mv nginx.conf nginx.conf.bak
    mv ssl.conf ssl.conf.bak

    Then start the container. Step 4 above is unnecessary, when you start the container it'll generate new/updated .conf files. Thanks to @BigBoyMarky for pointing this out for all of us!

    • Upvote 1
  2. On 9/25/2022 at 6:17 AM, dhstsw said:


    It's doing it with any video i use as input, even the ones without any kind of bars on the sides: it just adds that black bar to the right. I guess it's something in the metadata it adds, dunno. :(

    I haven’t come across this before. But you could try the new “transcode video” plugin, as it has an option to remove black bars

  3. 22 hours ago, eagle470 said:

    Hello, I have a bunch of RAW .avi files I've been thus far unable to convert in any way. does anyone know how to do this?

    From the unmanic discord faq channel:

     

    **Q: I'm trying to convert my .avi files to x265, but the files don't seem to work afterwards.**
    > A: The .avi file format does not support x265. To resolve this, use the remux plugin to convert .avi files specifically to .mp4 first. Once converted to .mp4, these files should be able to convert to x265 and/or .mkv format. More on this here https://discord.com/channels/819327740279914516/828703056971169822/1012350586718535710

    • Thanks 1
  4. 7 hours ago, lordvaderxiii said:

    Hi Everyone. 

     

    Is anyone able to assist me please. I am running Unmanic and I am finding that the bitrate is too high on some 4K content for my Wifi. I know that there is now an option to set custom settings for plugins but Im unsure how to use it correctly. Is anyone able to help me set a bitrate limit or average on the Video Encoder H265/HEVC - libx265 (CPU) plugin?

    The libx265 plugin uses CRF values. Not sure what you currently have it set at. For 1080p, I find the “medium” profile with a CRF value of 25 is a good option of quality, size, and transcode time. Ymmv on 4K content. The lower the CRF, the better the quality (and bigger resulting file).
     

    if your 4K content is already x265, unmanic won’t process the video if x265 is the desired output. 

  5. 16 hours ago, ridge said:

    Bumping this potential issue with certain files just not converting.

    Without seeing the ffmpeg log to see the specific error / reason for failure, my best guess is the additional subtitle streams “hdmv_pgs_subtitle”. 
     

    especially if you’re converting that mkv to an mp4. Try using the “remove all subtitles” plugin, and put it early in your workflow (before any remuxing / transcoding). See how that does. 

  6. Hi @DepthVader, sorry it took so long to get back to you. Not sure if you were able to solve this or not, but I admittedly had to do a little googling to find the answer. 
     

    this forum here seems to show in good detail what you need. In case the link is broken in the future for anyone else coming across this post, here’s a snippet of the relevant text:

     

    To exclude files and folders starting with “.” or “@“

     

    find /path/to/start/search/ -not -path '*/[@.]*' -type f -mtime -2


    So in your case, (since you don’t need to exclude the “@“) I think it would be something like:

    find $dir* -not -path ‘*/[.]*’ -mtime +3 -exec rm -rfv {} \;


    I have not personally tested this, so I don’t know for sure. Give this a try, make backups or use some test files/folders to be sure beforehand, and double check me. But I think this is it! Let me know how it goes. 

     

    • Thanks 1
  7. After doing some research, there's a feature that the qbt devs changed sometime between version 4.2.1 and 4.2.5+. It was the ability to put individual torrents in individual folders with the torrent name. anything 4.2.5 and up, they changed to "create subfolder" which doesn't include the torrent name. This presents issues in sonarr import under certain circumstances. I haven't seen this feature anywhere else.

     

    In any case, i'm wondering how hard it would be to make a new container based on the current image (wireguard and all) with 4.2.1 instead of the current 4.4.0? i tried rolling back but it seems at the time the container template must've been different, and was only OVPN (terribly slow compared to wireguard). Thoughts?

  8. On 2/5/2022 at 2:30 PM, Protheus said:

    You are my Hero!

    After 3 Hours searching for a possibility to daily Backup the Flashdrive or its content i found this script.

     

    And what to say...

    Create Folders

    C&P the Script

    Fill the blanks

    Set the Schedule

    Fire and Forget

     

    Awesome! Thank you

     

    P.S: optional e-mail notification would be nice (i'm not so ften on my unraid gui)

    Glad you like it! At the moment, i don't have enough hours in the day to tackle e-mail notifications for this. Maybe someone else could tack on and i'd be happy to add to the OP. If not, perhaps at some point in the future I could see what i can do in that regard. Cheers!

  9. 1 hour ago, L0rdRaiden said:

     

    Thanks, it works perfectly  :) I have learnt a lot with you

     

    Together with this Script (the first one in my life) and Kopia I have tune up my backup system 

     

    #!/bin/bash
    /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "OneDrive backup started" -d "Synchronizing Kopia backup to OneDrive" -i "normal"
    echo 'OneDrive backup started'
    
    rclone sync /mnt/user/Backup/Kopia OneDrive:"/Backup/Kopia"
    
    /usr/local/emhttp/webGui/scripts/notify -e "Unraid Server Notice" -s "OneDrive backup finished" -d "Synchronization completed" -i "normal"
    echo 'One Drive backup completed'

     

    good deal! glad it all worked out.

  10. you're on the right track! however the rm syntax requires a target. try this instead

     

    rm -rfv "$dir"*
    echo 'All files deleted'

     

     

    if you want to confirm this works before trying on "mission critical" files, take everything out of $dir. Then cd into the directory, and run this

    touch test1.txt test2.txt
    mkdir testfolder

    this just simply puts in a couple basic files and a directory. If the commands i gave you for section 4 work correctly, it should remove these test files, and the rest of the flow should result in the latest unzipped backup copy of your flash drive.

     

    • Thanks 1
  11. 6 hours ago, L0rdRaiden said:

    Does someone has a version of this script that just copy the files without making a zip file?

    The next time the backup is done is ok if it deletes everything in that folder and put the new files.

     

    This script is built on the native unraid script that includes the zip function. However, it would be easy enough to add an unzip function to my backup script for you to use. I wrote this fairly quickly and only tested once to make sure it worked. Looks like it did, but please use caution until you've tested and are certain. Also, this assumes you only have the one single zip file in $dir. the way it's written, it will unzip every zip file in $dir. Just copy and paste to the end of your script. Hope it helps.

     

    #### SECTION 7 ####------------------------------------------------------------------------------------------------------
    
    echo 'Unzip Flash Backup'
    
    cd "$dir"
    unzip *.zip
    
    #UNCOMMENT THE NEXT LINE IF YOU WISH TO DELETE THE ORIGINAL ZIP FILE AFTER EXTRACTION
    #rm -rfv *.zip

     

    • Thanks 1
  12. On 1/21/2022 at 10:33 AM, binhex said:

    @dyno @Cpt. Chaz the solution is simple, add the vpn network range to LAN_NETWORK, for example assuming a vpn network of 192.168.10.x and a lan network of 192.168.1.x i would define LAN_NETWORK as follows:-

     

    192.168.1.0/24,192.168.10.0/24

    if you need more networks, just keep adding them comma separated. 

     

    edit - gonna turn this into a faq.

    excellent. thanks @binhex!

  13. 20 hours ago, dyno said:

    I use a VPN to remotely access my Unraid webUI, *ARR dockers, etc.  I'm able to access webUI's for all my dockers, except for qbittorrentvpn.  The webUI is accessible when I'm on the LAN, but not remotely via VPN.   I just get a time out error.

     

    Is there something I need to change in order to enable this?  What do you need from me in order to provide some guidance?

    did you find a solution to this? i'm having the same issue.

  14. 3 hours ago, binhex said:

    you are running the wrong version of the server, you need bedrock edition, quote from mojang:-

    Bedrock, or Bedrock Edition, is the version of Minecraft that brings together consoles, iOS/Android, and Windows 10. Bedrock originated as "Pocket Edition" (MCPE/PE), as it was originally only available on mobile devices.

    go take a look in CA for the minecraftbedrockserver

    Much appreciated!

  15. hi everyone. minecraft noob here, wanted to set this server up for my boys, and i think i must be missing something (hopefully simple). just installed, pretty straightforward, but even on my LAN, i'm not able to connect to the server from an ipad on the same lan. 

     

    local ip is 192.168.1.121, port is 25565, confirmed here in screenshots. 

    801396455_2021-12-0511_30_18pm.png.a5a43020c79271738ecf6ccf6ffecb4d.pngIMG_3672.thumb.jpeg.a5d656080e4f6c78eb5095e361c18df7.jpegIMG_3674.thumb.jpeg.7b9705a5327f7cbf43bfea3068e3cf64.jpeg

     

    it's not showing any ping at all, and won't connect when i click on it. aside from setting a web ui password, i left the container settings as default. i can connect to the web ui just fine, and the container log shows the ip of the machine connected to the webui just fine - i don't see any errors anywhere either. i'm trying to connect to the server from ios devices if that makes an difference. any help appreciated, happy to provide any info. thanks!

     

  16. 14 hours ago, shbr said:

    If you would be open to it sure. I’ll try to get started on a PR in the near future. Will reach out to you if I have any questions. 

    +1 for this, i think it would be awesome. i have multiple unmanic instances running as well, doing different things and some the same. i could easily see the use case for this.

  17. Also worth noting, your 3tb USB hard drive won’t be included in the array. That will have to be mounted using the “unassigned devices” plug-in (that I speculate 99% of all UnRaid users use). So if you keep anything crucial on it, as you said grab & go for emergencies, you should also plan for a backup process to the main array so it’s covered by parity. 

    • Like 1
  18. hi guys,

     

    i'm needing a little creative help, as i've hit a wall. i've got a basic script to change container network settings that needs to run after a container has started up. i've modified the script where it can either be run from inside the container, or externally on unraid. so far i've tried mapping a path outside the container, and placing the path to the script in the post arguments, per this old post here, but it failed every time. (i'm also using --cap-add=NET_ADMIN in extra parameters). i've also thought of just using a user script to execute container start, and then the sub-script, but that doesn't quite achieve the level of automation i'd like to have. if anyone has suggestions, i'm all ears. thanks