Jump to content

[SUPPORT] GRTGBLN - DOCKER TEMPLATES


Recommended Posts

Thanks I did read that but it's still not clear to me what this does.  You take existing content and program your own live TV stream?  I just don't understand why anyone would want to do this when you could just watch the content on demand.  Not trying to be critical I just don't understand the use case.  All the documentation is very vague.  I guess I should just load it up and play with it.  

Edited by pharpe
Link to comment
19 hours ago, pharpe said:

Thanks I did read that but it's still not clear to me what this does.  You take existing content and program your own live TV stream?  I just don't understand why anyone would want to do this when you could just watch the content on demand.  Not trying to be critical I just don't understand the use case.  All the documentation is very vague.  I guess I should just load it up and play with it.  

 

Basically it lets people utilize their own media to create tv stations that they can then add ads in/etc, to simulate older tv. Lots of folks love doing this with their media as a way to just watch things they have without having to go through whatever size collection they have and pick something. It allows you to just randomly watch whatever via whatever channels you create. 

 

:)

Edited by Keating
added context
  • Like 1
Link to comment

Having weird issue with tunarr playing in VLC or Tivimate, just getting a spinner but no video loading but if I use the webplay 

http://ip:8000/web/channels/2ec10db9-206f-440a-abbd-4b8922664bd8/watch

it will only play for about 60 seconds then pauses until I click reload stream

 

enabled quick sync most of the other settings are default

Link to comment

Managed to grab this from log

2024-06-14T11:17:10.061Z [error]: CONCAT - FFMPEG ERROR {"code":254,"cmd":"/usr/bin/ffmpeg -hide_banner -threads 1 -fflags +genpts+discardcorrupt+igndts -re -f concat -safe 0 -stream_loop -1 -protocol_whitelist file,http,tcp,https,tcp,tls -probesize 32 -i http://localhost:8000/playlist?channel=1&audioOnly=false&hls=false -flags cgop -sc_threshold 0 -movflags +faststart -map 0:v -map 0:a -c:v h264_qsv -c:a aac -b:v 2000k -maxrate:v 2000k -bufsize:v 2000k -b:a 192k -maxrate:a 192k -bufsize:a 50k -af aselect=concatdec_select,aresample=async=1 -ac 2 -ar 48k -muxdelay 0 -muxpreload 0 -metadata service_provider=\"tunarr\" -metadata service_name=\"Only Fools and Horses\" -f hls -hls_time 3 -hls_list_size 8 -force_key_frames expr:gte(t,n_forced*3) -hls_delete_threshold 3 -hls_flags independent_segments -hls_flags split_by_time -hls_segment_type mpegts -hls_flags delete_segments -hls_base_url hls/ -hls_segment_filename streams/stream_2ec10db9-206f-440a-abbd-4b8922664bd8/data%05d.ts -master_pl_name master.m3u8 streams/stream_2ec10db9-206f-440a-abbd-4b8922664bd8/stream.m3u8"}


2024-06-14T11:17:10.061Z [error]: CONCAT - FFMPEG ERROR {"code":254,"cmd":"/usr/bin/ffmpeg -hide_banner -threads 1 -fflags +genpts+discardcorrupt+igndts -re -f concat -safe 0 -stream_loop -1 -protocol_whitelist file,http,tcp,https,tcp,tls -probesize 32 -i http://localhost:8000/playlist?channel=1&audioOnly=false&hls=false -flags cgop -sc_threshold 0 -movflags +faststart -map 0:v -map 0:a -c:v h264_qsv -c:a aac -b:v 2000k -maxrate:v 2000k -bufsize:v 2000k -b:a 192k -maxrate:a 192k -bufsize:a 50k -af aselect=concatdec_select,aresample=async=1 -ac 2 -ar 48k -muxdelay 0 -muxpreload 0 -metadata service_provider=\"tunarr\" -metadata service_name=\"Only Fools and Horses\" -f hls -hls_time 3 -hls_list_size 8 -force_key_frames expr:gte(t,n_forced*3) -hls_delete_threshold 3 -hls_flags independent_segments -hls_flags split_by_time -hls_segment_type mpegts -hls_flags delete_segments -hls_base_url hls/ -hls_segment_filename streams/stream_2ec10db9-206f-440a-abbd-4b8922664bd8/data%05d.ts -master_pl_name master.m3u8 streams/stream_2ec10db9-206f-440a-abbd-4b8922664bd8/stream.m3u8"}

Edited by bally12345
Link to comment
16 hours ago, pille said:

I love the idea of that app. Installing this app would force my disks to be spun up all the time, right? And then the content would be played transcoded or via direct play?

No, it only transcode when a stream is active. For further discussion about Tunarr, DizqueTV, ErsatzTV or the idea of a custom-channel software, please redirect to those respective channels. This thread should be reserved for issues regarding Unraid app templates.

  • Like 1
Link to comment
14 hours ago, bally12345 said:

Having weird issue with tunarr playing in VLC or Tivimate, just getting a spinner but no video loading but if I use the webplay 

http://ip:8000/web/channels/2ec10db9-206f-440a-abbd-4b8922664bd8/watch

it will only play for about 60 seconds then pauses until I click reload stream

 

enabled quick sync most of the other settings are default

Please redirect your question to Tunarr's GitHub page or support channels: https://tunarr.com/

Link to comment

2:04PM INF Success ip=127.0.0.1 latency="42.181µs" method=GET status=200 url=/readyz
2:05PM ERR failed starting/connecting to the gRPC service error="rpc error: code = Unavailable desc = connection error: desc = \"transport: Error while dialing: dial tcp 127.0.0.1:36087: connect: connection refused\""
2:05PM DBG GRPC Service NOT ready

i writed port 8081 on install, because its was taked by Qbitorrent(8080) no idea if this info is needed also my xeon doesnt have avx2(that is correct)

also it says no cuda present on my 1050ti, no idea why

 

3:59PM INF GPU device found but no CUDA backend present
 

Edited by Artiom97es
avx2 not avx
Link to comment

I'm still having issues with Webtrees. If anyone could please help.

 

I can get it to install, and it gets to the login page, but I can't seem to log in.

 

I set up variables for WT_ADMIN, WT_ADMINPW and WT_ADMINMAIL but it doesn't accept that username/password. Is there a default username/pass I can use?

 

I'm also still consistently having issues shutting down the container (it'll give me an execution error message when trying to stop it and it just stays running).

 

Does anyone have any ideas on what I can do next to get in (and fixing the restarting/stopping container issue would be good too)? Thank you.

Link to comment
12 hours ago, God_TM said:

I'm still having issues with Webtrees. If anyone could please help.

 

I can get it to install, and it gets to the login page, but I can't seem to log in.

 

I set up variables for WT_ADMIN, WT_ADMINPW and WT_ADMINMAIL but it doesn't accept that username/password. Is there a default username/pass I can use?

 

I'm also still consistently having issues shutting down the container (it'll give me an execution error message when trying to stop it and it just stays running).

 

Does anyone have any ideas on what I can do next to get in (and fixing the restarting/stopping container issue would be good too)? Thank you.

You can reset your password: https://webtrees.net/faq/password/

Link to comment

Thanks for adding the AUTOMATIC1111 template!

Just a suggestion - as of now it seems that it only saves the output to a tmp directory that doesn't survive container restarts.

I would suggest updating your template to include mounting the path:

  • container mount point: /output to the suggested default path of /mnt/user/appdata/automatic1111/data/output


From there to be safe with permissions on new folders, I consoled into the container and created the subfolders to match the deafult AUTOMATIC1111 settings, so the directory looked like this:

  • /output/img2img 
  • /output/img2img-grids 
  • /output/init-images 
  • /output/saved 
  • /output/txt2img 
  • /output/txt2img-grids

I restarted the container, generated some images, manually saved them in the Ui after generation, restarted the container and I was able to verify they were still there on the host. You could perhaps simplify my process by further enhancing the template, or telling users to create that directory structure at first run, but this seems to be an important part of this template config that I think a lot of people will run in to if they use the default settings of AUTOMATIC1111 and expect their images to be saved.

Hope this helps someone

Edited by birdwatcher
  • Like 1
Link to comment

I tried the LocalAI template with an intel i3 cpu and the latest-cpu tag but I always get the following error:

image.thumb.png.385c3a9553e3cf2a499eb565f00f696b.png

I already tried this: "For Intel iGPU support, add "/dev/dri" as a Device." 

But that didn't help...

 

Any Ideas?

 

Thank you!

 

Edit: Solved

Changed the extra parameters on the docker to: --device=/dev/dri

Edited by Terrier
  • Like 1
Link to comment
On 6/19/2024 at 1:18 AM, birdwatcher said:

Thanks for adding the AUTOMATIC1111 template!

Just a suggestion - as of now it seems that it only saves the output to a tmp directory that doesn't survive container restarts.

I would suggest updating your template to include mounting the path:

  • container mount point: /output to the suggested default path of /mnt/user/appdata/automatic1111/data/output


From there to be safe with permissions on new folders, I consoled into the container and created the subfolders to match the deafult AUTOMATIC1111 settings, so the directory looked like this:

  • /output/img2img 
  • /output/img2img-grids 
  • /output/init-images 
  • /output/saved 
  • /output/txt2img 
  • /output/txt2img-grids

I restarted the container, generated some images, manually saved them in the Ui after generation, restarted the container and I was able to verify they were still there on the host. You could perhaps simplify my process by further enhancing the template, or telling users to create that directory structure at first run, but this seems to be an important part of this template config that I think a lot of people will run in to if they use the default settings of AUTOMATIC1111 and expect their images to be saved.

Hope this helps someone

Thanks for letting me know, I missed that in the Docker Compose that I used as a model. I've updated the template to include a mapping for the "/output" directory.

Link to comment
13 hours ago, Terrier said:

I tried the LocalAI template with an intel i3 cpu and the latest-cpu tag but I always get the following error:

image.thumb.png.385c3a9553e3cf2a499eb565f00f696b.png

I already tried this: "For Intel iGPU support, add "/dev/dri" as a Device." 

But that didn't help...

 

Any Ideas?

 

Thank you!

 

Edit: Solved

Changed the extra parameters on the docker to: --device=/dev/dri

Thanks for letting me know. I've updated the template to document that.

Link to comment
1 hour ago, grtgbln said:

Thanks for letting me know, I missed that in the Docker Compose that I used as a model. I've updated the template to include a mapping for the "/output" directory.

Any plans on adding mappings for the default checkpoints and lora folders?

Link to comment
On 6/22/2024 at 5:08 AM, grtgbln said:

I can add them if you can point me in the right direction where they're documented.

Awesome! This is the documentation for changing the default location, but it also states the default location. 

 

https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Change-model-folder-location

 

Quote

The default model folder is stable-diffusion-webui/models

That folder holds all the checkpoints and loras and whatnot, so that should be the only one that needs to be mapped.

Link to comment
On 6/23/2024 at 7:48 PM, GsMumbo said:

Awesome! This is the documentation for changing the default location, but it also states the default location. 

 

https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Change-model-folder-location

 

That folder holds all the checkpoints and loras and whatnot, so that should be the only one that needs to be mapped.

Thanks for letting me know. I've updated the template accordingly.

Link to comment

Hey, thanks for providing the AUTOMATIC1111-Stable-Diffusion-Web-UI template! I just wanted to try it out but it couldn't start. The container starts and then immediately stops again. Below is a part of the logs that I could find. I'm running it on the latest version of Unraid with a Nvidia GPU with working drivers and didn't change the template before starting. Any other information that I can give to help to find issue? I hope it is just some small thing :)

 

/stable-diffusion-webui\n","stream":"stdout","time":"2024-06-26T08:45:23.199190704Z
total 700K\n","stream":"stdout","time":"2024-06-26T08:45:23.203739324Z
drwxr-xr-x 1 root root  1.1K Jun 10 09:29 .\n","stream":"stdout","time":"2024-06-26T08:45:23.203756354Z
drwxr-xr-x 1 root root   268 Jun 26 08:45 ..\n","stream":"stdout","time":"2024-06-26T08:45:23.203761884Z
-rw-r--r-- 1 root root    48 Jun 10 09:28 .eslintignore\n","stream":"stdout","time":"2024-06-26T08:45:23.203766634Z
-rw-r--r-- 1 root root  3.4K Jun 10 09:28 .eslintrc.js\n","stream":"stdout","time":"2024-06-26T08:45:23.203771094Z
drwxr-xr-x 1 root root   156 Jun 10 09:28 .git\n","stream":"stdout","time":"2024-06-26T08:45:23.203775494Z
-rw-r--r-- 1 root root    55 Jun 10 09:28 .git-blame-ignore-revs\n","stream":"stdout","time":"2024-06-26T08:45:23.203778964Z
drwxr-xr-x 1 root root    94 Jun 10 09:28 .github\n","stream":"stdout","time":"2024-06-26T08:45:23.203782244Z
-rw-r--r-- 1 root root   521 Jun 10 09:28 .gitignore\n","stream":"stdout","time":"2024-06-26T08:45:23.203785424Z
-rw-r--r-- 1 root root   119 Jun 10 09:28 .pylintrc\n","stream":"stdout","time":"2024-06-26T08:45:23.203788654Z
-rw-r--r-- 1 root root   84K Jun 10 09:28 CHANGELOG.md\n","stream":"stdout","time":"2024-06-26T08:45:23.203791754Z
-rw-r--r-- 1 root root   243 Jun 10 09:28 CITATION.cff\n","stream":"stdout","time":"2024-06-26T08:45:23.203794994Z
-rw-r--r-- 1 root root   657 Jun 10 09:28 CODEOWNERS\n","stream":"stdout","time":"2024-06-26T08:45:23.203798114Z
-rw-r--r-- 1 root root   35K Jun 10 09:28 LICENSE.txt\n","stream":"stdout","time":"2024-06-26T08:45:23.203801344Z
-rw-r--r-- 1 root root   13K Jun 10 09:28 README.md\n","stream":"stdout","time":"2024-06-26T08:45:23.203804474Z
-rw-r--r-- 1 root root   146 Jun 10 09:28 _typos.toml\n","stream":"stdout","time":"2024-06-26T08:45:23.203807704Z
drwxr-xr-x 1 root root   288 Jun 10 09:28 configs\n","stream":"stdout","time":"2024-06-26T08:45:23.203810824Z
drwxr-xr-x 1 root root    86 Jun 10 09:28 embeddings\n","stream":"stdout","time":"2024-06-26T08:45:23.203814073Z
-rw-r--r-- 1 root root   167 Jun 10 09:28 environment-wsl2.yaml\n","stream":"stdout","time":"2024-06-26T08:45:23.203817193Z
drwxr-xr-x 1 root root    46 Jun 10 09:28 extensions\n","stream":"stdout","time":"2024-06-26T08:45:23.203820453Z
drwxr-xr-x 1 root root   278 Jun 10 09:28 extensions-builtin\n","stream":"stdout","time":"2024-06-26T08:45:23.203823573Z
drwxr-xr-x 1 root root   630 Jun 10 09:28 html\n","stream":"stdout","time":"2024-06-26T08:45:23.203826833Z
drwxr-xr-x 1 root root   116 Jun 10 09:29 interrogate\n","stream":"stdout","time":"2024-06-26T08:45:23.203829953Z
drwxr-xr-x 1 root root   764 Jun 10 09:28 javascript\n","stream":"stdout","time":"2024-06-26T08:45:23.203833203Z
-rw-r--r-- 1 root root  1.3K Jun 10 09:28 launch.py\n","stream":"stdout","time":"2024-06-26T08:45:23.203836383Z
drwxr-xr-x 1 root root    62 Jun 10 09:28 localizations\n","stream":"stdout","time":"2024-06-26T08:45:23.203839653Z
drwxr-xr-x 1   99 users    0 Jun 26 08:39 models\n","stream":"stdout","time":"2024-06-26T08:45:23.203842763Z
drwxr-xr-x 1 root root  4.2K Jun 10 09:28 modules\n","stream":"stdout","time":"2024-06-26T08:45:23.203845993Z
-rw-r--r-- 1 root root   185 Jun 10 09:28 package.json\n","stream":"stdout","time":"2024-06-26T08:45:23.203849113Z
-rw-r--r-- 1 root root   841 Jun 10 09:28 pyproject.toml\n","stream":"stdout","time":"2024-06-26T08:45:23.203853903Z
drwxr-xr-x 1 root root   214 Jun 10 09:27 repositories\n","stream":"stdout","time":"2024-06-26T08:45:23.203857043Z
-rw-r--r-- 1 root root    49 Jun 10 09:28 requirements-test.txt\n","stream":"stdout","time":"2024-06-26T08:45:23.203860183Z
-rw-r--r-- 1 root root   371 Jun 10 09:28 requirements.txt\n","stream":"stdout","time":"2024-06-26T08:45:23.203863313Z
-rw-r--r-- 1 root root    42 Jun 10 09:28 requirements_npu.txt\n","stream":"stdout","time":"2024-06-26T08:45:23.203873743Z
-rw-r--r-- 1 root root   645 Jun 10 09:28 requirements_versions.txt\n","stream":"stdout","time":"2024-06-26T08:45:23.203877483Z
-rw-r--r-- 1 root root  411K Jun 10 09:28 screenshot.png\n","stream":"stdout","time":"2024-06-26T08:45:23.203880783Z
-rw-r--r-- 1 root root  6.1K Jun 10 09:28 script.js\n","stream":"stdout","time":"2024-06-26T08:45:23.203883983Z
drwxr-xr-x 1 root root   436 Jun 10 09:28 scripts\n","stream":"stdout","time":"2024-06-26T08:45:23.203887143Z
-rw-r--r-- 1 root root   43K Jun 10 09:28 style.css\n","stream":"stdout","time":"2024-06-26T08:45:23.203890813Z
drwxr-xr-x 1 root root   284 Jun 10 09:28 test\n","stream":"stdout","time":"2024-06-26T08:45:23.203893993Z
drwxr-xr-x 1 root root   168 Jun 10 09:28 textual_inversion_templates\n","stream":"stdout","time":"2024-06-26T08:45:23.203897163Z
-rw-r--r-- 1 root root   670 Jun 10 09:28 webui-macos-env.sh\n","stream":"stdout","time":"2024-06-26T08:45:23.203900373Z
-rw-r--r-- 1 root root    84 Jun 10 09:28 webui-user.bat\n","stream":"stdout","time":"2024-06-26T08:45:23.203903543Z
-rw-r--r-- 1 root root  1.4K Jun 10 09:28 webui-user.sh\n","stream":"stdout","time":"2024-06-26T08:45:23.203906702Z
-rw-r--r-- 1 root root  2.3K Jun 10 09:28 webui.bat\n","stream":"stdout","time":"2024-06-26T08:45:23.203909892Z
-rw-r--r-- 1 root root  5.3K Jun 10 09:28 webui.py\n","stream":"stdout","time":"2024-06-26T08:45:23.203913042Z
-rwxr-xr-x 1 root root   11K Jun 10 09:28 webui.sh\n","stream":"stdout","time":"2024-06-26T08:45:23.203916222Z
rsync: [sender] change_dir \"/stable-diffusion-webui/models/VAE-approx\" failed: No such file or directory (2)\n","stream":"stderr","time":"2024-06-26T08:45:23.266224838Z
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1338) [sender=3.2.7]\n","stream":"stderr","time":"2024-06-26T08:45:23.407242922Z

 

Link to comment
On 6/23/2024 at 7:48 PM, GsMumbo said:

Awesome! This is the documentation for changing the default location, but it also states the default location. 

 

https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Change-model-folder-location

 

That folder holds all the checkpoints and loras and whatnot, so that should be the only one that needs to be mapped.

And that confirms my concern about mapping that models directory, the application expects those files to be there and they're not. Unfortunately means we can't have the model directory mapped, since there is no step in the Docker install that would download the models and place them in that directory.

I looks like instead, @GsMumbo, you can add custom models via the "/data" folder, which in Unraid is mapped to "/mnt/user/appdata/automatic1111/data": https://github.com/AbdBarho/stable-diffusion-webui-docker/wiki/Usage#custom-models

I've rolled back the template change @SenseiMarv, should be available in a few hours. Or you can simply delete the "models" mapped directory from the template in the meantime.

  • Thanks 1
Link to comment
1 hour ago, grtgbln said:

And that confirms my concern about mapping that models directory, the application expects those files to be there and they're not. Unfortunately means we can't have the model directory mapped, since there is no step in the Docker install that would download the models and place them in that directory.

I looks like instead, @GsMumbo, you can add custom models via the "/data" folder, which in Unraid is mapped to "/mnt/user/appdata/automatic1111/data": https://github.com/AbdBarho/stable-diffusion-webui-docker/wiki/Usage#custom-models

I've rolled back the template change @SenseiMarv, should be available in a few hours. Or you can simply delete the "models" mapped directory from the template in the meantime.

I can confirm, removing the "models" directory makes it work again. Thanks for the help :)

  • Thanks 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...