cen

Members
  • Posts

    34
  • Joined

  • Last visited

Posts posted by cen

  1. 1 hour ago, dlandon said:

    Linux doesn't see a file system on the partition.  You said it was a nvme disk in an external enclosure.  You might want to try reseating the nvme drive.  If that doesn't help, try the nvme drive in another enclosure.

    too bad... I swapped it back into the PC where it was before and started the array. now it says that the drive needs to be formatted... but then I remembered that I set the new drive to an encrypted btrfs format so I set the format back to btrfs again. Starting the array now leaves me with this message: "Unmountable: Invalid pool config" and it wants to format the drive.
    I guess I messed it up and will have to start anew with all my docker configs and saves gone?

  2. 1 hour ago, trurl said:

    The screenshot suggests you haven't actually started the array with the new cache drive assigned. Have you?

    true, just saw at the very bottom of the browser window it states that "Array stopped". But actually I clicked on Start array. And the "funny" thing now is, at the bottom I only have the option to restart or shutdown... no option for stopping the array. hmmm.

  3. I wanted to replace my cache nvme ssd with a larger one so I stopped the array built in the new one and plugged the old one into a external case. Now I wanted to mount the older cache drive in order to rsync over all the docker config files but the mount button in unassigned devices is grey and cannot be used. Any chance I could mount the old cache drive somewhere else or did I mess up? On another linux machine I can only see the cache drive in gparted but it is not mounted.

  4.  I received a question asking how I "installed" the linux rename program for batch renaming on Unraid and I would like to post my answer here in case someone else might also be looking for an option like this.  

       

    If you are a novice in unraid and linux maybe a plugin would be better. You should be able to find something like a rename program or such with a gui over vnc to suit your needs. The Krusader Plugin is one I know of (but I'm not sure if it has a renaming option... but if not then you should be able to add this functionality to Krusader) and I've used it in the past (not in a long time anymore). 

      

    rename is a linux program which is included in serveral distributions from begin but not in Unraid. It is the program I have gotten used to because it is very powerful in renaming a whole bunch of files at once. I use it almost daily and know only one program which is a bit better and has a nice GUI in the windows ecosystem (called "bulk rename utility").

     

    rename is a CLI program which is used in the terminal. This is good for Unraid because access to files via ssh over a command line is the easiest and fastest way to organise your files. rename is very powerful because you can use regex (regular expressions) for renaming files. But using terminal takes getting used to and you should be careful with the terminal over ssh since you can also easily remove and delete or overwrite your files if you're not sure what you're doing (and even if you think you know what you're doing;).  

      

    There are several sites with tutorials on rename for getting started but the option for rename you should use the most is rename -n (which only does a dry run without actually renaming the files but showing the output of the command).   

     

    "Installation":

    Since rename is not available in Unraid I found a version on github which I could "install". The program is downloaded via wget from here: https://gist.github.com/javiermon/3939556 . 

    wget https://gist.githubusercontent.com/javiermon/3939556/raw/b9d0634f2c099b825a483d3d75cae1712fb9aa31/prename.pl

    Then I copied the prename.pl to the /usr/bin/ folder. This is the linux folder for binary files / programs which can be started in the command line without stating where the program is to be found (like /user/bin/prename.pl xyz...) so you can just start it by typing pren + TAB (which should return prename.pl since TAB is autocompletion). After that I could use rename aka prename.pl in the command line via ssh. 

    For example one of the things I use often is the following for getting rid of whitespaces in filenamens: 

    prename.pl 's/\ /./g' ./*

    And some more options can be seen here when renaming music files I bought and which I get from the producer as a zip download containing the music files in the original (not my;) naming-sheme: 

    prename.pl 's/(.*) - Spear.*2020 - (\d\d)\ (.*)/SPEAR104_$2_$1_\L$3/' *.flac

     Hope that helps a bit. 

     

     

  5. 3 hours ago, iilied said:

    cheers for pushing the new update, but i don't see any changes regarding the ownership of the files even after adding key variables. also, soulseek settings are maintained as long as i don't edit the docker‘s template. any edit on the template, soulseek loses all configurations and have to resort to importing last saved config data and re-login. like mentioned before, the appdata config path appears to be empty.

     

    Had the same thing happen to me yesterday. Changed a path folder and after applying the changes it restarted the docker and I had to reconfigure shares, login and the friends-list was empty  (next time I should remember to export and save those settings and lists). 

  6. 13 hours ago, realies said:

    @cen you might have swapped the container/host ports.

    https://docs.docker.com/config/containers/container-networking/

     

    Also, the folder mapping seems wrong. Please refer to the README.

    I adjusted the folder mapping according to the README.

    Argh, thanks for the hint! I hadn't seen that the container needed 6080 and thought it needed 5900 published. The ports were really swapped in my config (sorry for being so blind). 

       It works now and I have access.  

     

  7. @realies, yes. I tried several ports thinking I maybe got something wrong. Removed, updated and reconfigured the container several times. Just tried it again with @iilied hint of port 6080 and unprivileged.

     

    It starts sucessfully with the unraid GUI saying:

    Quote

    root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='soulseek' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -p '6080:5900/tcp' -v '/mnt/cache/appdata/soulseek/config/':'/home/soulseek/config/':'rw' -v '/mnt/disks/ST3000LM016-1N217V_W800VAT4/downloads/Soulseek/Music/':'/home/soulseek/Music/':'rw' -v '/mnt/disks/ST3000LM016-1N217V_W800VAT4/downloads/Soulseek/Downloads/':'/home/soulseek/Downloads/':'rw' -v '/mnt/cache/appdata/soulseek/SoulseekQt/':'/home/soulseek/.SoulseekQt/':'rw' 'realies/soulseek' 

    5294c3a22ba9938fc294c00758d625b92c2cef4605dd8702d9ca4284d18ef24e

    The command finished successfully!

     

    If in the unraid docker menu I click on the symbol and WebUI it sends me to [unraid.ip]:5950 (which leads to connection refused) even though I configured 6080. If I then manually go to [unraid.ip]:6080 it gives me the  "ERR_EMPTY_RESPONSE".

     

    Is there any way via CLI inside the docker I can check what is going wrong?  

     

    Accessing the other docker has been working perfectly for years (on port 9099).

    The other krusader docker on port 6080 is stopped and not running. 

     

  8. @realies  thank you for the update.  

    I still can't get to the WebUI even though the docker seems to start ok. I've tried it with privileged on or off and using different ports and I even tried to set it up via CLI instead of the unraid GUI but nothing works. 

  9. any news on wireguard in unraid?

     

    I'd like to connect my unraid build to my public server already running wireguard as a secure tunnel to home. I guess now the only way would be to have an additional VM running as the wireguard client?

  10. oh nice! thank you for the links. MV has been one of my favorite applications during the past decades (I can't really remember when I started using it) be it as a windows program (that has to be a couple of years back since I last uses windows;) or as a webapp and recently I started using the docker version on my root server (not the unraid home build). Will definitly try it out on unraid soon.

     

    I just found out last week that the webapp version of MV even has a (not so well documented) API. That got me all excited (thinking about automatically pulling my sons favorite show "Sendung mit der Maus" every Sunday) but I couldn't quite get it working the way I intended.

     

  11. 1 hour ago, ridge said:

    @cen I'm sorry I didn't see your question. Try turning privileged off and running it. That's really the only difference I see between your config and mine.

     

    @ridge thank you for the tip. Nope, doesn't change. The docker starts as the log says it all started sucessfully but the webpage does not load. I tried with port 6080 and priviledged turned on and also turned off. Really don't know why this shouldn't work. Is there something from the bash inside the docker I could maybe check? The krusader docker ist stopped and on it the port 6080 works well for the vnc part. 

     

     

  12. 2 minutes ago, Squid said:

    Zero reason to do this on unRaid.  There's nothing that you can do via the CLI that you cannot do from the Add Container on the docker tab, and by by-passing the template system you may lose functionality in managing the containers via the GUI

    Yes I know. Which is why I am trying to get it to work via the docker tab (see for example my question a few posts above where maybe you could help me?).

     

    @iilied is trying to get it working in unraid cli so I thought my answer would at least help him.

     

  13. @iilied  you can add paths via dockers volume bind option when starting the docker via your cli command. You would have to add every folder you want accessible in the docker via:  -v /mount/path/to/unraid/folder/:/where/to/mount/in/container/  (and for every next folder which should also be accessible you need another  -v /unraid/folder/:/container/folder/ ).

     

    The same works with ports so if you want to change the port the container is available from you would need to add this into your cli command:   -p 5950:5900 (for using 5950 instead of your 6080).

     

    Hope that helps.

  14. I've tried several configuration options and the docker starts (from what the logs tell me) but I cannot access the webGUI.

    In the browser tab I get: 

    Quote

    This page isn't working

    [my.unraid.ip] didn’t send any data.

    ERR_EMPTY_RESPONSE

    Is there anything I'm missing?  @realies , @ridge do you see something wrong in my config?

     

    dockerconfig.png

  15.  

    Hi there,

     

    over the years I have been using the bash  rename  for renaming the music (mp3 and/or flac) I buy (which of course never comes named as I prefer). I would also like to use this on unraid when I log in via SSH or when I use the link to the (web)Terminal but it doesn't work as expected (due to the fact that there are at least 3 different rename's out there).

     

    I guess upto now I never had the problem of a non working rename command as I would always automatically install the perl version of rename with the regex renaming I am used to. On unraid it uses rename from unix-util.

     

    Is there any non-system-corrupting option (in case other programs use the unix-util rename) of using the perl rename in unraid?

    Thank you.

     

     

     

  16. On 2/26/2019 at 7:17 PM, nekromantik said:

    hi i am trying the qbittorrent image and? I am getting following error as its using IPv6 for some reason which I dont use:

    
    Tue Feb 26 19:13:01 2019 TUN/TAP device tun0 opened
    Tue Feb 26 19:13:01 2019 TUN/TAP TX queue length set to 100
    Tue Feb 26 19:13:01 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=1
    Tue Feb 26 19:13:01 2019 /sbin/ip link set dev tun0 up mtu 1500
    Tue Feb 26 19:13:01 2019 /sbin/ip addr add dev tun0 10.x.x.x/16 broadcast xx.xx.255.255
    Tue Feb 26 19:13:01 2019 /sbin/ip -6 addr add fdda:d0d0:cafe:1301::1006/64 dev tun0
    RTNETLINK answers: Permission denied
    Tue Feb 26 19:13:01 2019 Linux ip -6 addr add failed: external program exited with error status: 2
    
    Tue Feb 26 19:13:01 2019 Exiting due to fatal error

    How do I stop the container using IPv6?

     

    Hi @nekromantik

    I just had a similar problem in the transmission_vpn docker where it would constantly restart with the 'RTNETLINK answers: Permission denied' error. Solved it following this guide  https://stackoverflow.com/questions/50600116/ipv6-with-openvpn-in-docker  by editing the settings of the docker, while changing from the 'Basic View' to the 'Advanced View' of the settings and then adding to the part 'Extra Parameters:' this: '--sysctl net.ipv6.conf.all.disable_ipv6=0 ' . After applying the docker started without problems. Hope it helps.

  17. Hi, I feel kindof dumb because I cannot get the Transmission_VPN installed (had no problem with e.g. a krusader docker). How do I add the template? I added the link to https://github.com/clowrym/docker-templates/blob/master/Transmission_VPN.xml into the docker template repositories but then I cannot use it when adding a docker. It is not shown in the dropdown "Select a template". 

     

    Nevermind... I didn't see that I could update the CA-plugin... now I feel even more dumb 😃 

  18. On 2/17/2019 at 5:20 AM, ridge said:

    @realiesHoping you can fix this: Using your container, files downloaded from Soulseek are owned by root:root and not nobody:users. Means I have to go through an extra couple of steps to clean up my "complete" folder [...]

     

    As a quick fix you could add a cronjob to regularly do a 'chown -R nobody:users ...' to your complete-directory.