Everything posted by Eddie Seelke
-
No Webui
I added the pcie_aspm=off option to my startup yesterday, but didn't reboot. I was forced to reboot an hour ago, so will see if that helps. I purchased a UDR from Ubiquiti a couple of months ago and moved my cloudflared to it. So, this is probably not my culprit.
-
Cloudflare Zero Trust Tunnel
Sorry, I had switched to iDrive recently. Change the URL to https://m1l7.c18.e2-3.dev/files/unraid/supervisord The first URL will also work if you use https. But, if I forget to update the SSL certificate, which expires every three months, it might fail. The dev url should always work.
-
No Webui
So, it seems it starts hanging right around the 24 hour mark. Here is the syslog. syslog-127.0.0.1.log
-
No Webui
How do I enable the syslog server if I cannot access the webui? Is there a way to do this via command line? And, if so, would that show why it is unresponsive now?
-
No Webui
Since updating to the last RC version, I lose access to the webui after about a day. The running containers and VM's still seem to work fine though. I am trying to find out what is causing this and hoping someone here can help. I tried the diagnostics command after using SSH to access the command line. But, it has been 12 hours since I ran the command and nothing has happened. Before I reboot, is there any way to find the cause? Thanks
-
[Plugin] CA Appdata Backup / Restore v2.5
Will the new version add an option to stop and start each container as it's appdata folder is being tarred, instead of stopping all docker containers for the entire backup process?
-
aws-cli
I am trying to get aws-cli running on my unRAID server so I can use it with user-scripts. I have un-get installed and was able to install aws-cli using it. It seems it does not handle dependencies, so I am going through until I find them all. I already had python installed. So far, I have installed the following packages. un-get install aws-cli python-botocore python-jmespath python-dateutil python-six python-urllib3 colorama python-docutils python-PyYAML python-s3transfer rsa pyasn1 Now I am getting the following error when trying to run the aws command. Traceback (most recent call last): File "/usr/bin/aws", line 27, in <module> sys.exit(main()) File "/usr/bin/aws", line 23, in main return awscli.clidriver.main() File "/usr/lib64/python3.9/site-packages/awscli/clidriver.py", line 69, in main driver = create_clidriver() File "/usr/lib64/python3.9/site-packages/awscli/clidriver.py", line 78, in create_clidriver load_plugins(session.full_config.get('plugins', {}), File "/usr/lib64/python3.9/site-packages/awscli/plugin.py", line 44, in load_plugins modules = _import_plugins(plugin_mapping) File "/usr/lib64/python3.9/site-packages/awscli/plugin.py", line 61, in _import_plugins module = __import__(path, fromlist=[module]) File "/usr/lib64/python3.9/site-packages/awscli/handlers.py", line 34, in <module> from awscli.customizations.codedeploy.codedeploy import initialize as \ File "/usr/lib64/python3.9/site-packages/awscli/customizations/codedeploy/codedeploy.py", line 17, in <module> from awscli.customizations.codedeploy.push import Push File "/usr/lib64/python3.9/site-packages/awscli/customizations/codedeploy/push.py", line 24, in <module> from awscli.customizations.codedeploy.utils import validate_s3_location File "/usr/lib64/python3.9/site-packages/awscli/customizations/codedeploy/utils.py", line 19, in <module> from awscli.customizations.codedeploy.systems import System, Ubuntu, Windows, RHEL File "/usr/lib64/python3.9/site-packages/awscli/customizations/codedeploy/systems.py", line 14, in <module> import ctypes File "/usr/lib64/python3.9/ctypes/__init__.py", line 8, in <module> from _ctypes import Union, Structure, Array ImportError: libffi.so.7: cannot open shared object file: No such file or directory I'm not sure where to go from here and was hoping someone here may be able to help.
-
[Support] kru-x - wordpress
I run cloudflared directly on the server. I do this so can use the Cloudflare VPN client to access my local network even if the array is stopped. Here is my script if you want to use it. I also run Wordpress. In Zero Trust, I have it set to HTTP and localhost:8050.
-
unRAID server losing internet access
Version: 6.11.5 I recently added a vlan to my unRAID server. Everything seemed to work fine, but when I woke the next morning the server seemed not to be able to connect to any online services. I rebooted and all seemed right again. At least until roughly 12 hours later when connectivity was lost again. I did notice this time that the VM's did not lose connectivity, only the server itself and the docker containers. It seems like it failed when the USBFlashBackup script started. Anyways, I grabbed the diagnostics before rebooting last night. However, this morning I had to reboot again. Thanks for your help, Eddie media-diagnostics-20230301-2330.zip
-
Broken Links
Were the forums and the wiki moved recently? I find myself frequently clicking on links that no longer work. For example, here is the support thread for rclone. http://lime-technology.com/forum/index.php?topic=53365.0 It then redirects to https://unraid.net/forum/index.php?topic=53365.0 Which gives a "File not found." error. I don't recall the link, but I had a similar issue with a wiki link the other day. I have a similar site and use an htaccess file to redirect all links to the correct site. If it helps, this htaccess file should work if placed in both forum folders. <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTP_HOST} ^lime-technology.com/forum$ [OR] RewriteCond %{HTTP_HOST} ^unraid.net/forum$ RewriteRule (.*)$ https://forums.unraid.net/$1 [R=307,L] </IfModule> This way all old links will still open up the correct threads. Hope this helps.
-
[Plugin] IPMI for unRAID 6.1+
I am having the same issue as the last two posts. Has anyone reached out to @SimonFfor comment?
-
How to create script to flash USB drive.
Hello, I am using unassigned devices to mount USB flash drives on unRAID 6.11.5. My goal is to format it with FAT32, copy the contents of an ISO file, copy the contents of a folder from unRAID, and then change a few files and parameters. I seem to have most of the needed commands, but cannot make the device bootable. Here is what I have so far. #!/bin/bash PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin ## Available variables: # ACTION - if mounting, ADD; if unmounting, UNMOUNT; if unmounted, REMOVE; if error, ERROR_MOUNT, ERROR_UNMOUNT # DEVICE - partition device, e.g. /dev/sda1 # UD_DEVICE - unassigned devX designation # SERIAL - disk serial number # LABEL - partition label # LUKS - if the device is encrypted, this is the partition device, e.g. /dev/sda1 # FSTYPE - partition filesystem # MOUNTPOINT - where the partition is mounted # OWNER - "udev" if executed by UDEV, otherwise "user" # PROG_NAME - program name of this script # LOGFILE - log file for this script ISO=/mnt/user/Images/Deployments/USB/apps/Hiren\'s.BootCD.15.2.iso ROOTDRV=/mnt/user/Images/Deployments/USB/Root /usr/local/emhttp/webGui/scripts/notify -e "unRAID Server Notice" -s "USB Script" -d "Starting USB Creation" -i "normal" sleep 10 /usr/local/sbin/rc.unassigned umount ${DEVICE} sfdisk --delete ${DEVICE} echo ',,c;' | sfdisk ${DEVICE} /usr/local/sbin/rc.unassigned mount ${DEVICE} sleep 10 sfdisk -A ${MOUNTPOINT} mlabel -i ${MOUNTPOINT} ::${LABEL} isoinfo -f -R -i $ISO | while read line; do d=$(dirname $line) od=${MOUNTPOINT}${d} [ -f $od ] && rm -f $od [ -d $od ] || mkdir -p $od isoinfo -R -i ${ISO} -x $line > ${MOUNTPOINT}${line} done rsync -a -v ${ROOTDRV} $MOUNTPOINT/ 2>&1 mlabel -i ${MOUNTPOINT} ::MYBOOT /usr/local/sbin/rc.unassigned umount ${DEVICE} /usr/local/emhttp/webGui/scripts/notify -e "unRAID Server Notice" -s "USB Script" -d "USB Drive is ready for use." -i "normal" These are commands I picked up from around the web. They all seem to work so far except the device is not bootable. Or, rather, it does boot, but gives an error instead of the HBCD boot menu.
-
Wireguard: DNS search domains
You are right, using Wireguard I can access local host.domain, but not hostname only. I tried using the Cloudflare tunnel and it was the same. I could reach host.domain, but not hostname only.
-
self hosted email server, or something like it
If you are simply looking to have mail sent by apps, take a look at Mailjet. It is free if less than 200 emails per day. It's what I use for notifications and such.
-
Cloudflare Zero Trust Tunnel
So, I would still love to see this as a plug-in for unRAID. But, I have managed to scrape together a script that will work in the meantime. It's not perfect, but it does work so I thought I would share in case it helps someone else. I am using the User Scripts plugin. I created a script called argo_tunnel and pasted the following into it. #!/bin/bash # #description=Create Cloudflare Zero Trust Tunnel #backgroundOnly=true #arrayStarted=false #noParity=false #clearLog=true # Create Cloudflare Zero Trust Tunnel # #--DEFINE VARIABLES--# # Set tunnel token found at https://one.dash.cloudflare.com argotoken=PASTETOKENHERE # Set folder for executables argofolder=/root/argo #--START SCRIPT--# /usr/local/emhttp/plugins/dynamix/scripts/notify -s "Cloudflare Tunnel" -d "Starting Cloudflare Tunnel." mkdir -p $argofolder # Download supervisor and cloudflared and make executable wget -nc https://m1l7.c18.e2-3.dev/files/unraid/supervisord -P $argofolder/ chmod +x $argofolder/supervisord wget -nc -O $argofolder/cloudflared https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-amd64 chmod +x $argofolder/cloudflared # Create supervisord conf file cat > $argofolder/supervisord.conf << EOL [unix_http_server] file = /var/run/supervisor.sock chmod = 0777 chown= nobody:nogroup [program:cloudflared] command = $argofolder/cloudflared --protocol quic tunnel run --token $argotoken autostart = true autorestart = true startsecs = 20 startretries = 100 redirect_stderr = true stdout_logfile = /var/log/cloudflared.log stdout_logfile_maxbytes = 2M stdout_logfile_backups = 0 stopsignal = INT EOL #Run Cloudflare Tunnel $argofolder/supervisord -c $argofolder/supervisord.conf -d #Stop Notification #/usr/local/emhttp/plugins/dynamix/scripts/notify -s "Cloudflare Tunnel" -d "Stopping Cloudflare Tunnel." There are two variables. $argotoken - You will need to add your token from https://one.dash.cloudflare.com/ replacing PASTETOKENHERE. $argofolder - You can change this or leave the default to your liking. It does not seem as if there is a way to start scripts in User Scripts at boot. Since I wanted this to start even if the array doesn't start, I added the following line to my /boot/config/go file. sh /boot/config/plugins/user.scripts/scripts/argo_tunnel/script If you didn't choose the same name for the script, you will need to update the path for the script above. And, if you don't want to edit the go file, you can simply choose "At First Array Start Only" for your script in User Scripts. If this helps, please leave a comment. And, if you know a better way to implement this, please let me know.
-
Wireguard: DNS search domains
I think it must be an IP address. I added my router IP address into the Peer DNS Server field and I can access local domains without issue.
-
Cloudflare Zero Trust Tunnel
I would love to see cloudflared as a native plugin for unRAID. I know that there is a docker container, but it would be, in my opinion, better to have it native so that it runs even when the array is offline. This is a much easier way to proxy sites to containers. It does not require any ports to be forwarded and users cannot get your home public IP address. And, it can be used to connect to your home network when away by using the 1.1.1.1 client. This seems to be a must have for anyone wanting to share data and keep their network secure.
-
[Support] Josh5 - Unmanic - Library Optimiser
What they mean by don't install the drivers if you are using VM passthrough, is that it will not help. If you passthrough your GPU to a VM, you CANNOT use your GPU with any Docker containers. If you need both, you will need to have two GPU's installed in your unRAID server. This is a hardware limitation and has nothing to do with unRAID on any of the app developers. I have an inexpensive GPU for my WIndows 10 VM and a better GPU for my transcoding. So, one is passed through and the other is used in two Docker containers. Note: If you do have two and one of them is passed through, only the GPU that is not passed through will appear in your Nvidia drivers list as you can see from my screenshots.
-
Unmountable: Unsupported partition layout
I am unable to get this drive added to the array. I used the following steps to add it. 1. Pre-cleared drive #################################################################################################### # Unraid Server Preclear of disk ZA1GCFHY # # Cycle 1 of 1, partition start on sector 64. # # # # Step 1 of 5 - Pre-read verification: [12:04:00 @ 184 MB/s] SUCCESS # # Step 2 of 5 - Zeroing the disk: [12:05:02 @ 183 MB/s] SUCCESS # # Step 3 of 5 - Writing Unraid's Preclear signature: SUCCESS # # Step 4 of 5 - Verifying Unraid's Preclear signature: SUCCESS # # Step 5 of 5 - Post-Read verification: [12:04:10 @ 184 MB/s] SUCCESS # # # # # # # #################################################################################################### # Cycle elapsed time: 36:13:19 | Total elapsed time: 36:13:19 # #################################################################################################### #################################################################################################### # S.M.A.R.T. Status (device type: default) # # # # ATTRIBUTE INITIAL CYCLE 1 STATUS # # Reallocated_Sector_Ct 0 0 - # # Power_On_Hours 25028 25064 Up 36 # # End-to-End_Error 0 0 - # # Reported_Uncorrect 0 0 - # # Airflow_Temperature_Cel 52 45 Down 7 ->Failed in Past<- # # Current_Pending_Sector 0 0 - # # Offline_Uncorrectable 0 0 - # # UDMA_CRC_Error_Count 0 0 - # # # #################################################################################################### # # #################################################################################################### --> ATTENTION: Please take a look into the SMART report above for drive health issues. --> RESULT: Preclear Finished Successfully!. 2. I stopped array and added as disk 5. 3. I started array. 4. I clicked on the checkmark to format the drive. And, then acknowledged the disclaimer. 5. I then click on the Format button. The screen refreshes showing formatting... then refreshes again back to step 4 above. Nothing seems to happen. Not sure what is happening here. media-diagnostics-20221106-1629.zip
-
[Plugin] Nvidia-Driver
I was only using it for a Windows VM and didn't really need the drivers for it. I should get the power cable for the M4000 on Sunday. Hopefully, that will resolve my issue. Thanks
-
[Plugin] Nvidia-Driver
I have installed the Nvidia drivers and have two Nvidia cards installed, a GeForce GT 730 and a Quadro M4000. Both show up under System Devices. But, the Nvidia Driver Package says no devices found. SSH command: root@Media:~# nvidia-smi No devices were found I had used the latest driver when installing and changed to Production to see if that would help. I rebooted every time. The GT 730 is used only for a Windows VM. I had it bound, but un-bound it when trying to get the drivers to show. Diags are attached just in case. Thanks in advance, Eddie EDIT: I just installed the M4000 today. I just found a note about no power adapter in the logs and just ordered a cable. But, the GT 730 does not install drivers even with the M4000 removed. Nov 4 15:11:42 Media kernel: NVRM: GPU 0000:03:00.0: GPU does not have the necessary power cables connected. Nov 4 15:11:42 Media kernel: NVRM: GPU 0000:03:00.0: RmInitAdapter failed! (0x24:0x1c:1377) Nov 4 15:11:42 Media kernel: NVRM: GPU 0000:03:00.0: rm_init_adapter failed, device minor number 0 media-diagnostics-20221104-1511.zip
-
[Support] kru-x - wordpress
Just my 2 cents, but you don't need to run more than one db container. I use phpMyAdmin to manage my databases. As long as you make sure the user has all necessary permissions for the database, it should work. I can start a remote session this afternoon, I am CDT time zone, if that would help. Just send me a PM.
-
[Support] kru-x - wordpress
No, technically you can use the same db user and password as long as you create a new db and give that user permission to read and write it.
-
[Support] kru-x - wordpress
Did you also change the appdata path for the new container?
-
[Support] kru-x - wordpress
I don't know about Cloudflare or Swag, but I host my personal site using a Wordpress container on UnRAID using Traefik and quic.cloud. For the dynamic domain, I transferred my domain to Google Domains and made the default host as dynamic. My next step is to figure out how to change the container to Wordpress with LiteSpeed.