Jump to content

[SUPPORT] GRTGBLN - DOCKER TEMPLATES


Recommended Posts

Support thread for all my Docker Templates for CA.


I am the developer on some of these applications. Others, I simply provide the template of an existing Docker application.

This thread is reserved for issues with the Unraid Docker templates. For issues with an application itself, please redirect your concern to the app's own support channels.

Edited by grtgbln
Disclaimer for app support
Link to comment

I see the ntfy container added today - but one already exists. Same dockerhub repo too of 

binwiederhier/ntfy:latest
 

I believe Squid's normal stance here is whoever had it first should keep their template, unless its unmaintained/depreicated. 

EDIT: Note that I don't want to speak for Squid at all, just speaking from personal experience.

 

I only say something because I saw that ntfy was added yet I already had it installed, made me look at if there was a different container or what.

Edited by CorneliousJD
Link to comment
  • 2 weeks later...
  • 4 months later...

uhhh, not sure if this is the correct link, but it's where's linked from the Docker's install page...

 

trying to install Tauticord, by nwithan8 but keep getting this at the end of the install:

 

"Error: failed to register layer: stat /var/lib/docker/btrfs/subvolumes/d55c1127cda32d7088da9a6435ff7f908cbbff49d5ca47fa96187831562d1540: no such file or directory"

 

never had an error message like this on an install before

Link to comment
  • 5 months later...
On 6/28/2023 at 12:26 PM, gellux said:

uhhh, not sure if this is the correct link, but it's where's linked from the Docker's install page...

 

trying to install Tauticord, by nwithan8 but keep getting this at the end of the install:

 

"Error: failed to register layer: stat /var/lib/docker/btrfs/subvolumes/d55c1127cda32d7088da9a6435ff7f908cbbff49d5ca47fa96187831562d1540: no such file or directory"

 

never had an error message like this on an install before

 

Apologies, I haven't been on the forums in a while. Did this resolve itself?

Link to comment
  • 4 weeks later...
On 12/14/2023 at 7:27 AM, grtgbln said:

A second application release: Plex Prerolls

 

GitHub: https://github.com/nwithan8/plex-prerolls

Docker: https://hub.docker.com/repository/docker/nwithan8/plex_prerolls/general

This application parses a simple schedule and, on a cron job, updates the prerolls used by Plex before a movie.


Where do the prerolls need to be located for this docker to be able to see them?

Link to comment
9 hours ago, SnugglyDino said:


Where do the prerolls need to be located for this docker to be able to see them?

 

The Docker container does not need to access the pre-roll files directly. In your schedule, use the path that Plex would use to access each file.

Link to comment
4 hours ago, grtgbln said:

 

The Docker container does not need to access the pre-roll files directly. In your schedule, use the path that Plex would use to access each file.

Ok so I tried running the program but it does not seem to have changed the current Plex Prerolls and I'm not quite sure what I am doing wrong. I attached an imgur link with my current config.yaml and what the logs are saying. Hopefully you can help me figure out the error in my ways.

 

https://imgur.com/a/yspLthP

Link to comment
10 hours ago, SnugglyDino said:

Ok so I tried running the program but it does not seem to have changed the current Plex Prerolls and I'm not quite sure what I am doing wrong. I attached an imgur link with my current config.yaml and what the logs are saying. Hopefully you can help me figure out the error in my ways.

 

https://imgur.com/a/yspLthP

The path "/mnt/user/data/media/..." doesn't exist inside Plex. You need to use the path to each file as Plex would see it, perhaps something like "/media/...". Refer to the mapped paths on your Plex Docker container.

 

Also, those Fall, Winter et. al schedules won't work with just paths to the prerolls folders, you need to include full paths to individual media files (not sure if perhaps you redacted those for this help session)

Edited by grtgbln
Link to comment
  • 2 weeks later...
On 1/10/2024 at 1:00 AM, grtgbln said:

The path "/mnt/user/data/media/..." doesn't exist inside Plex. You need to use the path to each file as Plex would see it, perhaps something like "/media/...". Refer to the mapped paths on your Plex Docker container.

 

Also, those Fall, Winter et. al schedules won't work with just paths to the prerolls folders, you need to include full paths to individual media files (not sure if perhaps you redacted those for this help session)

OK so I updated the container to use the path Plex sees. Which in my case is "/data/media/prerolls/...". That is what it is currently using for Prerolls.

I have also set the cron to * * * * * so it updates every minute for testing purposes. (Side note, can you update the docker container so the cron section is not considered a password field? This way I can see the current cron being used instead of a bunch of dots?)

The Fall, Winter, et. al schedules are set to "false" and will be utilized in the future. So if my understanding is correct they should not matter. Do I need to comment them out even though they're set to false?

 

Unfortunately the prerolls are still not updating to use the prerolls in the "Always" section.

Link to comment
5 minutes ago, SnugglyDino said:

OK so I updated the container to use the path Plex sees. Which in my case is "/data/media/prerolls/...". That is what it is currently using for Prerolls.

I have also set the cron to * * * * * so it updates every minute for testing purposes. (Side note, can you update the docker container so the cron section is not considered a password field? This way I can see the current cron being used instead of a bunch of dots?)

The Fall, Winter, et. al schedules are set to "false" and will be utilized in the future. So if my understanding is correct they should not matter. Do I need to comment them out even though they're set to false?

 

Unfortunately the prerolls are still not updating to use the prerolls in the "Always" section.

So commenting out everything below the "Always" Section got it to work. So clearly it works, but the logic for how it works is not clicking in my head. Gotta play around with it some more.

Link to comment

Ok so I figured out an issue. The "monthly" section is not limiting itself to the prescribed month. When I went through re-enabling things section by section everything was working as I expected until I got to the "monthly" section.

https://imgur.com/a/JgzPOJt

 

When I re-enabled the month of October and checked the logs it showed that the "Always" section got disabled even though it's not October. I did not have this problem when re-enabling any other section (but they are set to false so that might be why). Why is the October's setting for "disable_always" triggering even though it is not October?

Link to comment
7 hours ago, SnugglyDino said:

Ok so I figured out an issue. The "monthly" section is not limiting itself to the prescribed month. When I went through re-enabling things section by section everything was working as I expected until I got to the "monthly" section.

https://imgur.com/a/JgzPOJt

 

When I re-enabled the month of October and checked the logs it showed that the "Always" section got disabled even though it's not October. I did not have this problem when re-enabling any other section (but they are set to false so that might be why). Why is the October's setting for "disable_always" triggering even though it is not October?

 
Thank you for bringing the bug to my attention, it has been patched and will be available in the latest version shortly. The masking of the cron template has also been fixed.

In the future, please open an issue on GitHub about the project: https://github.com/nwithan8/plex-prerolls, I check that more often than I check these forums.

Link to comment
8 hours ago, grtgbln said:

 
Thank you for bringing the bug to my attention, it has been patched and will be available in the latest version shortly. The masking of the cron template has also been fixed.

In the future, please open an issue on GitHub about the project: https://github.com/nwithan8/plex-prerolls, I check that more often than I check these forums.

Thank you for making those fixes!

 

I normally would open the issue on GitHub but I cannot seem to find the "Issues" tab on your project page https://imgur.com/a/rE3c9tS. As a novice with GitHub I'm not sure how I can report an issue when there is no "Issues" tab.

Link to comment
16 minutes ago, animeking1987 said:

I cant get mine to work I get this error when I try to run it manually. My config file is there. 

image.thumb.png.7e5d0de3154ff98a12c2618674eec9df.png

image.png.c668365cb84fbcb16da9e84475ec7467.png

 As the error suggests, your command is incorrect. You need to provide the "-c" flag when providing a config file path. Use the following instead:
 

python run.py -c /mnt/user/appdata/prerolls/config.yaml



Also, please reserve this thread for discussion specifically about running this Community App as a Docker container on Unraid. For general questions about running the Python script directly, please open an issue on the project's GitHub page: https://github.com/nwithan8/plex-prerolls

Edited by grtgbln
Link to comment
  • 2 months later...

When i try to install anythingllm I get:

 

docker: 
Error response from daemon: 
failed to create task for container: 
failed to create shim task: 
OCI runtime create failed: 
runc create failed: 
unable to start container process: 
error during container init: 
error mounting "/mnt/user/appdata/anythingllm/.env" to rootfs at "/app/server/.env": 
mount /mnt/user/appdata/anythingllm/.env:/app/server/.env (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.



Lookslike the .env is created as dir but is supposed to be a file?

Link to comment
On 1/16/2023 at 12:03 AM, grtgbln said:

Summary: Support thread for all my Docker Templates for CA.


I am the developer on some of these applications. Others, I simply provide the template of an existing Docker application.

Hello there. I just installed your "LocalAI". It seemed quick and easy. My issue is that I cant change the port from 8080 to anything else. I have tried to change it at the "WebUI HTTP Port:" variable you added to the templet and that did not do it. I know it works cause I was able to go into the WebUI from the docker and it shows the installed modules. However, I have no clue how to use them :/. Any more information on how to use the modules? I looked at the documentation, "https://localai.io/" but that was no much help for someone like me who does not understand anything from there. 

 

Any help on how I can use the modules I would be greatly appreciated. 

Link to comment
7 hours ago, JustAnotherMe said:

When i try to install anythingllm I get:

 

docker: 
Error response from daemon: 
failed to create task for container: 
failed to create shim task: 
OCI runtime create failed: 
runc create failed: 
unable to start container process: 
error during container init: 
error mounting "/mnt/user/appdata/anythingllm/.env" to rootfs at "/app/server/.env": 
mount /mnt/user/appdata/anythingllm/.env:/app/server/.env (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.



Lookslike the .env is created as dir but is supposed to be a file?

 Thanks for letting me know. The `.env` file must exist before running, otherwise Docker will try to make it (and assumes it's a folder, not a file). I have updated the template to note that.

Link to comment
5 hours ago, NotHere said:

Hello there. I just installed your "LocalAI". It seemed quick and easy. My issue is that I cant change the port from 8080 to anything else. I have tried to change it at the "WebUI HTTP Port:" variable you added to the templet and that did not do it. I know it works cause I was able to go into the WebUI from the docker and it shows the installed modules. However, I have no clue how to use them :/. Any more information on how to use the modules? I looked at the documentation, "https://localai.io/" but that was no much help for someone like me who does not understand anything from there. 

 

Any help on how I can use the modules I would be greatly appreciated. 

You'll need some kind of integration that can use the models. I'd recommend a GUI like bigAGI: https://localai.io/docs/integrations/ 

Link to comment
17 hours ago, grtgbln said:

You'll need some kind of integration that can use the models. I'd recommend a GUI like bigAGI: https://localai.io/docs/integrations/ 

Thanks so much for the information. Sucks that I just couldn't figure it out :(. 

 

Is there a way to change the port from 8080 to anything else? No matter that i do I just cant change the port. Could be a me problem of course, I just have changed ports to containers before without issues, but this one wont do it. 

image.thumb.png.b198a59a80bed353822e1df2d39bd5b2.png

Link to comment
5 hours ago, NotHere said:

Thanks so much for the information. Sucks that I just couldn't figure it out :(. 

 

Is there a way to change the port from 8080 to anything else? No matter that i do I just cant change the port. Could be a me problem of course, I just have changed ports to containers before without issues, but this one wont do it. 

image.thumb.png.b198a59a80bed353822e1df2d39bd5b2.png

I just pushed out an update to the template that should fix this, check back tomorrow once it's synced.

Link to comment

That whole .env file issue, what are the contents of it? where can I find it? Also, I renamed an env.example file I found that seems to be what I need but then I run into this:

Error: Schema engine error:
SQLite database error
unable to open database file: ../storage/anythingllm.db

Error: Schema engine error:
SQLite database error
unable to open database file: ../storage/anythingllm.db

Error: Schema engine error:
SQLite database error
unable to open database file: ../storage/anythingllm.db

Collector hot directory and tmp storage wiped!
Document processor app listening on port 8888
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma

✔ Generated Prisma Client (v5.3.1) to ./node_modules/@prisma/client in 198ms

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
```
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
```
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
```
import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()
```

See other ways of importing Prisma Client: http://pris.ly/d/importing-client

Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:../storage/anythingllm.db"

Collector hot directory and tmp storage wiped!
Document processor app listening on port 8888
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma

✔ Generated Prisma Client (v5.3.1) to ./node_modules/@prisma/client in 221ms

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
```
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
```
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
```
import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()
```

See other ways of importing Prisma Client: http://pris.ly/d/importing-client

Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:../storage/anythingllm.db"

Collector hot directory and tmp storage wiped!
Document processor app listening on port 8888
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma

✔ Generated Prisma Client (v5.3.1) to ./node_modules/@prisma/client in 203ms

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
```
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
```
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
```
import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()
```

See other ways of importing Prisma Client: http://pris.ly/d/importing-client

Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:../storage/anythingllm.db"

 

and no files in any of my appdata folders

Link to comment
Posted (edited)
14 minutes ago, scottygood said:

That whole .env file issue, what are the contents of it? where can I find it? Also, I renamed an env.example file I found that seems to be what I need but then I run into this:

Error: Schema engine error:
SQLite database error
unable to open database file: ../storage/anythingllm.db

Error: Schema engine error:
SQLite database error
unable to open database file: ../storage/anythingllm.db

Error: Schema engine error:
SQLite database error
unable to open database file: ../storage/anythingllm.db

Collector hot directory and tmp storage wiped!
Document processor app listening on port 8888
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma

✔ Generated Prisma Client (v5.3.1) to ./node_modules/@prisma/client in 198ms

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
```
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
```
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
```
import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()
```

See other ways of importing Prisma Client: http://pris.ly/d/importing-client

Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:../storage/anythingllm.db"

Collector hot directory and tmp storage wiped!
Document processor app listening on port 8888
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma

✔ Generated Prisma Client (v5.3.1) to ./node_modules/@prisma/client in 221ms

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
```
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
```
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
```
import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()
```

See other ways of importing Prisma Client: http://pris.ly/d/importing-client

Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:../storage/anythingllm.db"

Collector hot directory and tmp storage wiped!
Document processor app listening on port 8888
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma

✔ Generated Prisma Client (v5.3.1) to ./node_modules/@prisma/client in 203ms

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
```
import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
```
or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
```
import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()
```

See other ways of importing Prisma Client: http://pris.ly/d/importing-client

Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:../storage/anythingllm.db"

 

and no files in any of my appdata folders

Run

touch anythingllm.db

from inside your "/mnt/user/appdata/anythingllm" folder. I have just updated the template to mention this.

Edited by grtgbln
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...