Beiträge von Nefertiti
-
-
What would be a good GPU for transcoding looking to upgrade from a GeForce GTX 1050
Personally I am using a Quadro p2200 very powerful and not too expensive low consumption
-
Got a problem with plex
network_mode: host able to reach reach ip:32400network_mode: swag_default give me white page
jellyfin same white page working with IP:8196 and network_mode: host but can reach it remote with network_mode: swag_default but not both!
and for nexcloud unable to reach it eitherNo issue with Emby or navidrome both working local and remote
EDIT:
working Nextcloud
-
I ran into this issue I mentioned post #216 RE: omv6 and nvidia gpu
-
Another way to do that, if you already have swag running... (below assumes your swag container is named "swag")
example.. this is my jellyfin container...
Coderoot@openmediavault:~# docker inspect jellyfin | grep NetworkMode "NetworkMode": "jellyfin_default", root@openmediavault:~#
so, assuming you used "swag" as your container name, in all likelihood your swag network mode is "swag_default"
Now, just add the "network_mode" line to your emby stack.
Code--- version: "2.1" services: jellyfin: image: lscr.io/linuxserver/jellyfin:latest container_name: jellyfin network_mode: swag_default environment:
Then redeploy emby..I picked this method above for the set $upstream_app emby; (Working ) if you guys thinking a better way let me know.
-
Bring down the SWAG stack.
Pull and bring it up.
If it doesn't solve it, bring down, save your proxy confs and delete the swag config folder.
Put it up again. It will recreate the cert.
Redo your proxy confs.
It did works and I forgot; I also moved the AppData on the same disk without removing the original, did not see any change for a while
just question about the subdomain.conf
the original line
set $upstream_app emby;
does not work but
set $upstream_app 192.168.50.50;
which is my local IP is working?
-
I just realized my automatic renewal for the swag certificate failed, just wondering if because I move my docker directory out of var/lib. So now how to fix it?
Code
Alles anzeigenGID/UID ─────────────────────────────────────── User UID: 1000 User GID: 100 ─────────────────────────────────────── using keys found in /config/keys Variables set: 0 PGID=100 TZ=America/Los_Angeles URL=xxxxxxxx.duckdns.org SUBDOMAINS=wildcard EXTRA_DOMAINS= ONLY_SUBDOMAINS=false VALIDATION=duckdns CERTPROVIDER= DNSPLUGIN=cloudflare EMAIL=xxxxxxx@gmail.com STAGING=false the resulting certificate will only cover the subdomains due to a limitation of duckdns, so it is advised to set the root location to use www.subdomain.duckdns.org Using Let's Encrypt as the cert provider SUBDOMAINS entered, processing Wildcard cert for xxxxxxxxxx.duckdns.org will be requested E-mail address entered: xxxxxxxx@gmail.com dns validation via duckdns plugin is selected Certificate exists; parameters unchanged; starting nginx The cert is either expired or it expires within the next day. Attempting to renew. This could take up to 10 minutes. <-------------------------------------------------> <-------------------------------------------------> cronjob running on Fri Mar 22 12:58:06 PDT 2024 Running certbot renew Saving debug log to /var/log/letsencrypt/letsencrypt.log - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Processing /etc/letsencrypt/renewal/xxxxxxxx.duckdns.org.conf - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Renewal configuration file /etc/letsencrypt/renewal/le-fou-volant.duckdns.org.conf is broken. The error was: expected /etc/letsencrypt/live/le-fou-volant.duckdns.org/cert.pem to be a symlink . - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - No renewals were attempted. Additionally, the following renewal configurations were invalid: /etc/letsencrypt/renewal/xxxxxxxx.duckdns.org.conf (parsefail)
Compose settings at the section
Leave blank to use a custom /etc/docker/daemon.json
I use to have this
Code{ "data-root": "/var/lib/docker", "runtimes": { "nvidia": { "args": [], "path": "nvidia-container-runtime" } } }
Modified it for
Code{ "data-root": "/srv/dev-disk-by-uuid-9cd27ed0-ef9a-4346-ae1e-5e835ba05832/Media2/docker", "runtimes": { "nvidia": { "args": [], "path": "nvidia-container-runtime" } } }
Not sure if it is the reason since the appData for the swag has not been changed?
-
For me too, but plex is not hw-transcoding with that driver. As far as I remeber you are not using plex, right Nefertiti ?
I must say I never use plex, but the container is installed so it was easy to enable it I got pass anyway. So in Plex Transcoder-Advanced under Hardware transcoding device My Nvidia GPU is listed along the Intel one, and it is running with this driver5.50.54.14 Same for Tdarr no issue.
-
chris_kmn no I am using Emby but I can do some test in few days with Plex.
-
Working for me
-
You definitely do not need the X configuration file but just in case got no issue:
Your X configuration file has been successfully updated. Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64
(version: 550.54.14) is now complete.
-
Maybe the OP should use the ports in swag like mine, open those TCP port in his router and see if he got a certificate from swag
Also the OP did not mention if he was using 2 routers in cascade in that case it could be double NAT
-
Just in case!
I am using duckdns and SWAG wildcard got no issue I can access any service by putting name of service in front ex
https://service-ex.emby.myurl.duckdns.org
Code
Alles anzeigen--- version: "2.1" services: duckdns: image: lscr.io/linuxserver/duckdns container_name: duckdns environment: - PUID=1000 #optional - PGID=100 #optional - TZ=America/Los_Angeles - SUBDOMAINS=XXXXXXXXXXX2,XXXXXXXXX - TOKEN=55555555555555555555555551 - LOG_FILE=true #optional volumes: - /etc/localtime:/etc/localtime:ro #- /NAS/AppData/duckdns:/config restart: unless-stopped
Code
Alles anzeigen--- version: "2.1" services: swag: image: ghcr.io/linuxserver/swag container_name: swag cap_add: - NET_ADMIN environment: - PUID=1000 - PGID=100 - TZ=America/Los_Angeles - URL=xxxxxxxxxx.duckdns.org - SUBDOMAINS=wildcard - DHLEVEL=2048 - VALIDATION=duckdns - CERTPROVIDER= #optional - DNSPLUGIN=cloudflare #optional - DUCKDNSTOKEN=555555555555555555555555555555555551 - EMAIL=xxxxxxxxxx@gmail.com - ONLY_SUBDOMAINS=false - STAGING=false #optional volumes: - /Symlinks/AppData/swag:/config # - AppData/nextcloud/data/nextcloud.log:/nextcloud/nextcloud.log:ro ports: - 450:443 - 90:80 restart: unless-stopped
Code
Alles anzeigen## Version 2021/05/18 # make sure that your dns has a cname set for emby and that your emby container is not using a base url # if emby is running in bridge mode and the container is named "emby", the below config should work as is # if not, replace the line "set $upstream_app emby;" with "set $upstream_app <containername>;" # or "set $upstream_app <HOSTIP>;" for host mode, HOSTIP being the IP address of emby # in emby settings, under "Advanced" change the public https port to 443, leave the local ports as is, set the "external domain" to your url, # and set the "Secure connection mode" to "Handled by reverse proxy" server { listen 443 ssl; listen [::]:443 ssl; server_name emby.*; add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive"; include /config/nginx/ssl.conf; client_max_body_size 0; location / { include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app 192.168.50.50; set $upstream_port 8096; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; proxy_set_header Range $http_range; proxy_set_header If-Range $http_if_range; } }
(I am aware need to update to the latest swag proxy-confs Lol)
in Attachment are my opnsense port forwarding
-
I am using stand alone clonezilla no issue, but the plugin at reboot gave me out of memory by the way my system got 32 GB
-
Make sure in emby under
environment:
you have got
- NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
- NVIDIA_VISIBLE_DEVICES=all
-
If you want to maintain a custom daemon.json AND use a different disk, you need to put whatever path you want in data-root. In the nvidia thread, you will still see data-root in the daemon.json for nvidia
Actually working perfect with the code of chris_kmn. Like I found out above just update the stacks in portainer don't even need to copy move the docker Folder
-
I think I fixed it by running
docker system prune -a was able to start portainer again,
all the stacks was there but with 0 container Just had to deploy the the stacks so far so good
-
Well I did something bad, In order to make room I started to remove an old docker file (what I thought) from a non system disk, and I did not rename it.
Now docker still running but portainer stays down I can still see the container, but they won't restart with error creating overlay2 mount to /var/lib/docker by the way var/lib/doker still have all the files in it specially overlay2!
How can I fix the mess
-
It shouldn't be complicated. You leave it blank if you want to write the daemon.json. You put a path in it if you want daemon.json to only contain data-root. noobs shouldn't be leaving it blank. If they are because they are following a guide, it is that guide's job to explain that they need to set data-root if they don't want the default /var/lib/docker.
So far mine is blank because I am using a custom JSON for Nvidia, but I would love to move my docker folder out of the system drive, so now can I do that without being rewritten?
Because it is still saying "Leave blank to use a custom /etc/docker/daemon.json"
-
Or, edit the config.php since it's a line there.
maintenance=true or similar.
This worked perfect now how to update Nextcloud itself, I did update the app it also the log says?
Code
Alles anzeigen─────────────────────────────────────── using keys found in /config/keys **** The following active confs have different version dates than the samples that are shipped. **** **** This may be due to user customization or an update to the samples. **** **** You should compare the following files to the samples in the same folder and update them. **** **** Use the link at the top of the file to view the changelog. **** ┌────────────┬────────────┬────────────────────────────────────────────────────────────────────────┐ │ old date │ new date │ path │ ├────────────┼────────────┼────────────────────────────────────────────────────────────────────────┤ │ 2021-10-24 │ 2023-04-13 │ /config/nginx/nginx.conf │ │ │ 2024-01-03 │ /config/nginx/site-confs/default.conf │ │ 2022-08-20 │ 2023-08-13 │ /config/nginx/ssl.conf │ └────────────┴────────────┴────────────────────────────────────────────────────────────────────────┘ [custom-init] No custom files found, skipping... [ls.io-init] done.