-
Posts
66 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by Eddie Seelke
-
-
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.
-
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.
-
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.
-
4
-
-
1 minute ago, xlucero1 said:
To hopefully wrap this up here then; I'm sure everyone has GPU passed thru to their VM. The Nvidia Driver plugin says dont install it if you pass thru GPU to VM. So how do I do it? Download the plugin anyway? VM and Unmatic should still work or no?
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.
-
2
-
-
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.
-
11 minutes ago, ich777 said:
The GT730 is a pretty bad card for transcoding because it doesn't support h.265 (HEVC).
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
-
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
-
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.
-
1
-
-
1 minute ago, mjeshurun said:
Do I need to create a second mariadb container with a different appdata folder and port?
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.
-
Just now, mjeshurun said:
Can anyone please explain how to setup a second wordpress instance on the same home server to host a completely different website?
I created a new mariadb database using Adminer, called the database by a new name, created a new user and gave the user a unique password.
I then tried installing the wordpress app again with a different container name, and the unique db info I created earlier (db name, db user and db password). The db server info (ip and port) are the same as the first website, but that's the only similarity.
The second instance installs ok, but when I try to open the webui I get the following error message:
Error establishing a database connection
Am I doing something wrong?
Did you also change the appdata path for the new container?
-
1
-
-
11 hours ago, mjeshurun said:
Hi Friends,
I've installed the Wordpress docker app for UnRAID and was able to migrate my website from Namecheap to my UnRAID home server. I'm able to open the website using my server's local [IP address]:[port] and all the website data seems to have been migrated well.
As a second step, I would like to configure the Wordpress website I created on my local server to be reachable using my registered domain name.
Can anyone suggest what steps I should take to connect between the Wordpress website, Cloudflare and Swag (which I use to create Let's Encrypt SSL certificates)?
Any help will be much appreciated.
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.
-
1
-
-
Here is my diagnostics, in case it helps.
-
I am having an issue with drives not spinning down if they were spun up manually. This started after upgrading to 6.11.1
If it is spun up by the system, it will spin down after timeout. But, the only way I have found so far to get the disk(s) to spin down if I manually spun it up is to reboot the server.
-
For those that are increasing a Windows 10/11 VM, you do not need to download a 3rd party partition utility. Windows comes with a built-in utility called diskpart that will delete the Recovery partition for you. It is not difficult to use.
- Open a command prompt as Administrator.
- Type diskpart and press Enter.
- Find the disk number for your OS, usually disk 0 with the command list disk. You will see at least one disk listed.
- Make sure to select the correct disk. Assuming your OS is Disk 0, enter command select disk 0.
- Now, we need to list the partitions. Enter the command list part.
- If you used the default setup when installing Windows you likely have 4 partitions and the Recovery partition is Partition 4. So select it with the command select partition 4.
- Now, to delete use the command delete partition override.
- Lastly, right-click the Start menu, and select Disk Management. You should be able to Extend Volume by right-clicking on the C partition. Follow the wizard to complete.
-
2
-
1
-
Would it be possible to install wp cli inside the container?
-
Has anyone been able to get this working recently?
I would love to be able to control my VM's in Home Assistant. But, every time I run this I lose access to my Unraid server. I tried changing the memory limit as above, but it didn't help.
-
I am having an issue and am at a loss on how to troubleshoot.
If Unmanic is idle for a period and then detects a new file to process, it will just spin and spin on the first processing state. Currently, there are multiple files that were added 3 days ago and nothing is actually being processed.
If I restart the docker though, it will complete the process on these files.
So, how to I either resolve the issue or troubleshoot it?
Thanks, Eddie
-
Does anyone know how to update ZT to 1.8.10 in this?
-
If I choose to encode audio using the AAC encoder, it shows as successful. But when playing on Plex in the Chrome browser it fails with the error "Error code: s3015 (Media)". It does play fine on a Chromecast though.
Any ideas on how I can get it to play in Chrome as well?
-
Thanks for the reply.
Is it possible to do that with unRAID running? My USB drive is plugged into the internal USB port.
As for the IP, yes I am sure. It ran with the same configuration for two years, then I updated so I could get TPM. Oddly though, sometimes the forwarding does work. I just can't make it work consistently.
-
Hi,
I have a major issue as explained here.
Until this is resolved I am wondering how can I downgrade back to 6.9? I am currently running 6.10.0-rc4 and the only restore option is 6.10.0-rc3.
Thanks, Eddie
-
I removed the /boot/config/ssh folder and rebooted.
When I try to add the key using the webui for the root user, I get the following error.
The key is exactly as I would add to another system in the authorized_keys file, which does work.
-
Hello,
I am using Putty to login via SSH using a key in order to avoid entering a password. However, I continue to receive the error "Server refused our key".
I do have the correct key in /root/.ssh/authorized_keys and have verified it is correct, as well as deleting and re-adding. Still continue to get this error. Putty is also pointed to the correct ppk file. I am using the same setup on several other systems and they work fine.
Any help is appreciated.
Eddie
-
Still hoping to find a resolution.
self hosted email server, or something like it
in Lounge
Posted
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.