Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SUPPORT] GRTGBLN - DOCKER TEMPLATES

Featured Replies

question for the plex pre-roll
i have a pre-roll setup and I'm trying to setup my normal pre-rolls to be removed when special holidays roll around (Halloween, Christmas, etc..._) but re-added after they end. how do I accomplish that? 

Config Link: https://dpaste.org/xwK61

  • Replies 340
  • Views 83.9k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

Posted Images

  • Author
15 hours ago, animeking1987 said:

question for the plex pre-roll
i have a pre-roll setup and I'm trying to setup my normal pre-rolls to be removed when special holidays roll around (Halloween, Christmas, etc..._) but re-added after they end. how do I accomplish that? 

Config Link: https://dpaste.org/xwK61

Use `disable_always` for those Holiday schedules: https://github.com/nwithan8/plex-prerolls?tab=readme-ov-file#disable-always

how hard would it be to make a unrad Community app from a github?

i'm working on using a nodejs application hfs 3
https://github.com/damienzonly/hfs-docker

back in the day i worked with rejeto on hfs 2 and would like to see where the project is at...

https://github.com/rejetto/hfs

while there is a docker compose that i'm testing atm it would be cool to see hfs on unraid...
 

version: '3'

services:
  hfs:
    image: rejetto/hfs:v0.53.0
    volumes:
      - /mnt/user/Dockers/hfs-docker/hfsconf:/home/hfs/.hfs # for hfs conf persistence
      - /mnt/user/Users/:/app/myDisk # for your files
      - /mnt/user/Dockers/hfs-docker/certs:/app/certs # for HTTPS certificates
      - /mnt/user/Dockers/hfs-docker/logs:/app/logs # for log files
    environment:
      - HFS_PORT=80 # default is 80
      - HFS_CREATE_ADMIN=P@ssw0rd # will create the admin user passwrd
      - HFS_CERT=/app/certs/cert.pem # path to HTTPS certificate
      - HFS_PRIVATE_KEY=/app/certs/privkey.pem # path to HTTPS private key
      - HFS_LOG=/app/logs/access.log # path to access log file
      - HFS_ERROR_LOG=/app/logs/error.log # path to error log file
      - HFS_LOG_ROTATION=weekly # log rotation frequency
      - HFS_HTTPS_PORT=443 # https port configuration
      - HFS_FORCE_HTTPS=true # force HTTPS traffic
      - HFS_ADMIN_NET=192.168.2.0/24 # limit admin access to local network
    ports:
      - 80:80
      - 8080:8080
    networks:
      bond0:
        ipv4_address: 192.168.2.50
    labels:
      net.unraid.docker.webui: http://[IP]:[PORT:80]
      net.unraid.docker.icon: '/mnt/user/Dockers/hfs-docker/hfs.png'
      folder.view: hfs-docker
      net.unraid.docker.managed: 'composeman'

networks:
  bond0:
    external: true

 

Edited by bmartino1
updated copose example

Any idea why I cannot start my AnythingLLM Container?

 

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.

 

But when I check:

 

root@nasty:/mnt/user/appdata/anythingllm# ls -la
total 0
drwxr-xr-x 1 root   root   26 Apr 25  2024 ./
drwxrwxrwx 1 nobody users 210 Sep 21 16:45 ../
drwxr-xr-x 1 nobody users   6 Apr 25  2024 .env/

 

.env is actually a directory, so why it doesn't recognize?

  • Author
17 hours ago, animeking1987 said:

I have it like this, thought this was correct? image.png.1c0500631cac64f61ef08274189e3aa7.png

Since this is actually an app that I created, rather than just made an Unraid template for, let's transfer the conversation to the GitHub for the project. This isn't an Unraid issue at this point. Please open a ticket and provide logs, please: https://github.com/nwithan8/plex-prerolls/issues

  • Author
13 hours ago, bmartino1 said:

how hard would it be to make a unrad Community app from a github?

i'm working on using a nodejs application hfs 3
https://github.com/damienzonly/hfs-docker

back in the day i worked with rejeto on hfs 2 and would like to see where the project is at...

https://github.com/rejetto/hfs

while there is a docker compose that i'm testing atm it would be cool to see hfs on unraid...
 

version: '3'

services:
  hfs:
    image: rejetto/hfs:v0.53.0
    volumes:
      - /mnt/user/Dockers/hfs-docker/hfsconf:/home/hfs/.hfs # for hfs conf persistence
      - /mnt/user/Users/:/app/myDisk # for your files
      - /mnt/user/Dockers/hfs-docker/certs:/app/certs # for HTTPS certificates
      - /mnt/user/Dockers/hfs-docker/logs:/app/logs # for log files
    environment:
      - HFS_PORT=80 # default is 80
      - HFS_CREATE_ADMIN=P@ssw0rd # will create the admin user passwrd
      - HFS_CERT=/app/certs/cert.pem # path to HTTPS certificate
      - HFS_PRIVATE_KEY=/app/certs/privkey.pem # path to HTTPS private key
      - HFS_LOG=/app/logs/access.log # path to access log file
      - HFS_ERROR_LOG=/app/logs/error.log # path to error log file
      - HFS_LOG_ROTATION=weekly # log rotation frequency
      - HFS_HTTPS_PORT=443 # https port configuration
      - HFS_FORCE_HTTPS=true # force HTTPS traffic
      - HFS_ADMIN_NET=192.168.2.0/24 # limit admin access to local network
    ports:
      - 80:80
      - 8080:8080
    networks:
      bond0:
        ipv4_address: 192.168.2.50
    labels:
      net.unraid.docker.webui: http://[IP]:[PORT:80]
      net.unraid.docker.icon: '/mnt/user/Dockers/hfs-docker/hfs.png'
      folder.view: hfs-docker
      net.unraid.docker.managed: 'composeman'

networks:
  bond0:
    external: true

 

Those networks might cause some issues, but I can take a look. You can also request it from the community via the SelfHoster's Unraid template repository: https://github.com/selfhosters/unRAID-CA-templates

  • Author
5 hours ago, W0nderW0lf said:

Any idea why I cannot start my AnythingLLM Container?

 

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.

 

But when I check:

 

root@nasty:/mnt/user/appdata/anythingllm# ls -la
total 0
drwxr-xr-x 1 root   root   26 Apr 25  2024 ./
drwxrwxrwx 1 nobody users 210 Sep 21 16:45 ../
drwxr-xr-x 1 nobody users   6 Apr 25  2024 .env/

 

.env is actually a directory, so why it doesn't recognize?

.env should be a file, not a directory. If the file doesn't exist prior to starting the container for the first time, it will automatically create a directory at the mountpoint.

 

Please refer to the "Requires" warning that should have popped up when you downloaded the template from the store: https://github.com/nwithan8/unraid_templates/blob/0f35f0537ba6ae6ca4c9eb09ebfdc7f842a359f9/templates/anything_llm.xml#L25

Delete the folder and instead create a file, then start your container.

Edited by grtgbln

Oh, strange.. I remember that warning but that was almost 4 months ago. I already had it running twice to see how it works, but it seems that it can be a reoccuring "issue"

9 hours ago, grtgbln said:

Those networks might cause some issues, but I can take a look. You can also request it from the community via the SelfHoster's Unraid template repository: https://github.com/selfhosters/unRAID-CA-templates


Thanks, I will review and may request one..

I made a Fork atm for my need to run this on my Unraid.

https://github.com/bmartino1/hfs-docker

I can make a template to be easier:

XML:

<?xml version="1.0"?>
<Container version="2">
  <Name>HFS3</Name>
  <Repository>rejetto/hfs:v0.53.0</Repository>
  <Registry/>
  <Network>bond0</Network>
  <MyIP>192.168.2.50</MyIP>
  <Shell>sh</Shell>
  <Privileged>false</Privileged>
  <Support/>
  <Project>https://github.com/rejetto/hfs/discussions</Project>
  <Overview>Rejeto HFS Http File Server&#xD;
&#xD;
https://www.rejetto.com/hfs/ &#xD;
Access via web your files directly from your disk&#xD;
You be the server! Share files fresh from your disk, with unlimited space and bandwidth.&#xD;
Fast! Try zipping 100GB, downloads starts immediately!&#xD;
Share even a single file with our virtual file system, even with a different name, all without touching the real file. Present things the way you want!&#xD;
Watch all activities in real-time.&#xD;
Control bandwidth: decide how much to give.&#xD;
No intermediaries: give a huge file to your friend without waiting for it to be uploaded on a server first.&#xD;
Intelligent: HFS tries to detect problems and suggest solutions.&#xD;
Expandable: find the right plugin, or make you own&#xD;
&#xD;
Easily run a web page, mange users groups and  share a file thorugh your Web Browser.&#xD;
&#xD;
Docker Compose Varient&#xD;
https://github.com/bmartino1/hfs-docker&#xD;
&#xD;
## Other Environment HFS Variables&#xD;
This docker image doesn't have any specific env. Every env starting with `HFS_` will be passed to HFS.&#xD;
Read (https://github.com/rejetto/hfs/blob/main/config.md#how-to-modify-configuration) page to learn more about how envs work.&#xD;
&#xD;
## Docker Volumes and Mounts&#xD;
You can mount as many volumes as you wish in docker to persist the file storage, but keep in mind that if you want to persist HFS configurations as well you **must** mount a volume that points to the `cwd` of HFS (which you can override with `HFS_CWD` env).&#xD;
The default hfs cwd of the container is `/home/hfs/.hfs`&#xD;
&#xD;
## HTTPS make certs:&#xD;
openssl req -x509 -newkey rsa:4096 -keyout /mnt/user/appdata/hfs/certs/privkey.pem -out /mnt/user/appdata/hfs/certs/cert.pem -days 365 -nodes&#xD;
</Overview>
  <Category>Downloaders: Tools: MediaApp:Video MediaApp:Music MediaApp:Books MediaApp:Photos MediaApp:Other MediaServer:Video MediaServer:Music MediaServer:Books MediaServer:Photos MediaServer:Other Network:Web Network:FTP Network:Proxy Network:Other Status:Beta</Category>
  <WebUI>http://[IP]:[PORT:80]/~/admin/</WebUI>
  <TemplateURL/>
  <Icon>https://raw.githubusercontent.com/bmartino1/hfs-docker/refs/heads/main/hfs.png</Icon>
  <ExtraParams>--mac-address 02:42:c0:a8:02:D4 --hostname HFS3 -p 8080:8080 -p 80:80 -p 443:443</ExtraParams>
  <PostArgs/>
  <CPUset/>
  <DateInstalled>1730349932</DateInstalled>
  <DonateText/>
  <DonateLink/>
  <Requires/>
  <Config Name="hfs conf persistence" Target="/home/hfs/.hfs" Default="/mnt/user/appdata/hfs/Config" Mode="rw" Description="" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/hfs/config</Config>
  <Config Name="Https Certificate" Target="/app/certs" Default="/mnt/user/appdata/hfs/certs" Mode="rw" Description="for HTTPS certificates&#13;&#10;created before hand or within the admin interface&#13;&#10;" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/hfs/certs/</Config>
  <Config Name="HFS Logs" Target="/app/logs" Default="/mnt/user/appdata/hfs/logs" Mode="rw" Description="for log files" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/appdata/hfs/logs/</Config>
  <Config Name="hfs files shared" Target="/app/myDisk" Default="/mnt/user/" Mode="rw" Description="For your files that you want to share" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/</Config>
  <Config Name="HFS_PORT" Target="HFS_PORT" Default="8080" Mode="" Description="Set the http port for use" Type="Variable" Display="always" Required="true" Mask="false">80</Config>
  <Config Name="HFS_CREATE_ADMIN" Target="HFS_CREATE_ADMIN" Default="" Mode="" Description="Set a Admin Password" Type="Variable" Display="always" Required="true" Mask="true">P@ssw0rd</Config>
  <Config Name="HFS_LOG_ROTATION" Target="HFS_LOG_ROTATION" Default="weekly" Mode="" Description="Rotate logs" Type="Variable" Display="always" Required="false" Mask="false">weekly</Config>
  <Config Name="HFS_HTTPS_PORT" Target="HFS_HTTPS_PORT" Default="443" Mode="" Description="HFS https port configuration" Type="Variable" Display="always" Required="true" Mask="false">443</Config>
  <Config Name="HFS_FORCE_HTTPS" Target="HFS_FORCE_HTTPS" Default="true" Mode="" Description="force HTTPS traffic" Type="Variable" Display="always" Required="true" Mask="false">true</Config>
  <Config Name="HFS_ADMIN_NET" Target="HFS_ADMIN_NET" Default="192.168.1.0/24" Mode="" Description="# limit admin access to your local network" Type="Variable" Display="always" Required="true" Mask="false">192.168.1.0/24</Config>
  <Config Name="HFS_VFS" Target="HFS_VFS" Default="" Mode="" Description="WIP&#13;&#10;sets default vfs hfs file share container path&#13;&#10;https://github.com/rejetto/hfs/discussions/792&#13;&#10;ATM this needs to be Done manualy" Type="Variable" Display="advanced-hide" Required="false" Mask="false">"[{'name': 'root', 'source': '/app/myDisk'}]"</Config>
  <Config Name="HFS_CERT" Target="HFS_CERT" Default="/app/certs/cert.pem" Mode="" Description="HTTPS Self Signed Certificate:&#13;&#10;# Use Volume path to HTTPS certificate&#13;&#10;default self signed cert:&#13;&#10;/home/hfs/.hfs/self.cer&#13;&#10;&#13;&#10;Letsencrypt Create in admin interface or before hand&#13;&#10;/app/certs/cert.pem" Type="Variable" Display="advanced-hide" Required="true" Mask="false">/home/hfs/.hfs/self.cer</Config>
  <Config Name="HFS_ERROR_LOG" Target="HFS_ERROR_LOG" Default="/app/logs/error.log" Mode="" Description="" Type="Variable" Display="advanced-hide" Required="true" Mask="false">/app/logs/error.log</Config>
  <Config Name="HFS_PRIVATE_KEY" Target="HFS_PRIVATE_KEY" Default="/app/certs/privkey.pem" Mode="" Description="HTTPS Self Signed Certificate:&#13;&#10;# Use Volume path to HTTPS certificate&#13;&#10;Self signed:&#13;&#10;/home/hfs/.hfs/self.key&#13;&#10;&#13;&#10;LetsEncrypt Create in admin interface or before &#13;&#10;hand&#13;&#10;/app/certs/privkey.pem" Type="Variable" Display="advanced-hide" Required="true" Mask="false">/home/hfs/.hfs/self.key</Config>
  <Config Name="HFS_LOG" Target="HFS_LOG" Default="/app/logs/access.log" Mode="" Description="" Type="Variable" Display="advanced-hide" Required="true" Mask="false">/app/logs/access.log</Config>
</Container>


COMMAND:
 

/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker create --name='HFS3' --net='bond0' --ip='192.168.2.50' --pids-limit 2048 -e TZ="America/Chicago" -e HOST_OS="Unraid"


Just want sure how to summit it or who to go through

Edited by bmartino1
fix XML code for working tmeplate

2 hours ago, grtgbln said:

Since this is actually an app that I created, rather than just made an Unraid template for, let's transfer the conversation to the GitHub for the project. This isn't an Unraid issue at this point. Please open a ticket and provide logs, please: https://github.com/nwithan8/plex-prerolls/issues

I have created an issue on github

  • Author
7 hours ago, bmartino1 said:


Thanks, I will review and may request one..

I made a Fork atm for my need to run this on my Unraid.

https://github.com/bmartino1/hfs-docker

I can make a template to be easier:

XML:

<?xml version="1.0"?>
<Container version="2">
  <Name>HFS3</Name>
  <Repository>rejetto/hfs:v0.53.0</Repository>
  <Registry/>
  <Network>bond0</Network>
  <MyIP>192.168.2.50</MyIP>
  <Shell>sh</Shell>
  <Privileged>false</Privileged>
  <Support/>
  <Project>https://github.com/rejetto/hfs/discussions</Project>
  <Overview>Rejeto HFS Http File Server&#xD;
&#xD;
https://www.rejetto.com/hfs/ &#xD;
Access via web your files directly from your disk&#xD;
You be the server! Share files fresh from your disk, with unlimited space and bandwidth.&#xD;
Fast! Try zipping 100GB, downloads starts immediately!&#xD;
Share even a single file with our virtual file system, even with a different name, all without touching the real file. Present things the way you want!&#xD;
Watch all activities in real-time.&#xD;
Control bandwidth: decide how much to give.&#xD;
No intermediaries: give a huge file to your friend without waiting for it to be uploaded on a server first.&#xD;
Intelligent: HFS tries to detect problems and suggest solutions.&#xD;
Expandable: find the right plugin, or make you own&#xD;
&#xD;
Easily run a web page, mange users groups and  share a file thorugh your Web Browser.&#xD;
&#xD;
Docker Compose Varient&#xD;
https://github.com/bmartino1/hfs-docker&#xD;
&#xD;
## Other Environment HFS Variables&#xD;
This docker image doesn't have any specific env. Every env starting with `HFS_` will be passed to HFS.&#xD;
Read (https://github.com/rejetto/hfs/blob/main/config.md#how-to-modify-configuration) page to learn more about how envs work.&#xD;
&#xD;
## Docker Volumes and Mounts&#xD;
You can mount as many volumes as you wish in docker to persist the file storage, but keep in mind that if you want to persist HFS configurations as well you **must** mount a volume that points to the `cwd` of HFS (which you can override with `HFS_CWD` env).&#xD;
The default hfs cwd of the container is `/home/hfs/.hfs`&#xD;
&#xD;
## HTTPS make certs:&#xD;
openssl req -x509 -newkey rsa:4096 -keyout /mnt/user/appdata/hfs/certs/privkey.pem -out /mnt/user/appdata/hfs/certs/cert.pem -days 365 -nodes&#xD;
</Overview>
  <Category>Downloaders: Tools: MediaApp:Video MediaApp:Music MediaApp:Books MediaApp:Photos MediaApp:Other MediaServer:Video MediaServer:Music MediaServer:Books MediaServer:Photos MediaServer:Other Network:Web Network:FTP Network:Proxy Network:Other Status:Beta</Category>
  <WebUI>http://[IP]:[PORT:80]/~/admin/</WebUI>
  <TemplateURL/>
  <Icon>https://raw.githubusercontent.com/bmartino1/hfs-docker/refs/heads/main/hfs.png</Icon>
  <ExtraParams>--mac-address 02:42:c0:a8:02:D4 --hostname HFS3 -p 8080:8080 -p 80:80 -p 443:443</ExtraParams>
  <PostArgs/>
  <CPUset/>
  <DateInstalled>1730346227</DateInstalled>
  <DonateText/>
  <DonateLink/>
  <Requires/>
  <Config Name="hfs conf persistence" Target="/home/hfs/.hfs" Default="/mnt/user/appdata/hfs/Config" Mode="rw" Description="" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/Dockers/hfs-docker/hfsconf/</Config>
  <Config Name="Https Certificate" Target="/app/certs" Default="/mnt/user/appdata/hfs/certs" Mode="rw" Description="for HTTPS certificates&#13;&#10;created before hand or within the admin interface&#13;&#10;" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/Dockers/hfs-docker/certs/</Config>
  <Config Name="HFS Logs" Target="/app/logs" Default="/mnt/user/appdata/hfs/logs" Mode="rw" Description="for log files" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/Dockers/hfs-docker/logs/</Config>
  <Config Name="hfs files shared" Target="/app/myDisk" Default="/mnt/user/" Mode="rw" Description="For your files that you want to share" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/Users/</Config>
  <Config Name="HFS_PORT" Target="HFS_PORT" Default="8080" Mode="" Description="Set the http port for use" Type="Variable" Display="always" Required="true" Mask="false">80</Config>
  <Config Name="HFS_CREATE_ADMIN" Target="HFS_CREATE_ADMIN" Default="" Mode="" Description="Set a Admin Password" Type="Variable" Display="always" Required="true" Mask="true">56FDsH2l1!</Config>
  <Config Name="HFS_LOG_ROTATION" Target="HFS_LOG_ROTATION" Default="weekly" Mode="" Description="Rotate logs" Type="Variable" Display="always" Required="false" Mask="false">weekly</Config>
  <Config Name="HFS_HTTPS_PORT" Target="HFS_HTTPS_PORT" Default="443" Mode="" Description="HFS https port configuration" Type="Variable" Display="always" Required="true" Mask="false">443</Config>
  <Config Name="HFS_FORCE_HTTPS" Target="HFS_FORCE_HTTPS" Default="true" Mode="" Description="force HTTPS traffic" Type="Variable" Display="always" Required="true" Mask="false">true</Config>
  <Config Name="HFS_ADMIN_NET" Target="HFS_ADMIN_NET" Default="192.168.1.0/24" Mode="" Description="# limit admin access to your local network" Type="Variable" Display="always" Required="true" Mask="false">192.168.2.0/24</Config>
  <Config Name="HFS_VFS" Target="HFS_VFS" Default="/app/myDisk" Mode="" Description="sets default vfs hfs file share container path" Type="Variable" Display="advanced-hide" Required="true" Mask="false">/app/myDisk</Config>
  <Config Name="HFS_CERT" Target="HFS_CERT" Default="/app/certs/cert.pem" Mode="" Description="HTTPS Self Signed Certificate:&#13;&#10;# Use Volume path to HTTPS certificate&#13;&#10;Create in admin interface or before hand" Type="Variable" Display="advanced-hide" Required="true" Mask="false">/app/certs/cert.pem</Config>
  <Config Name="HFS_ERROR_LOG" Target="HFS_ERROR_LOG" Default="/app/logs/error.log" Mode="" Description="" Type="Variable" Display="advanced-hide" Required="true" Mask="false">/app/logs/error.log</Config>
  <Config Name="HFS_PRIVATE_KEY" Target="HFS_PRIVATE_KEY" Default="/app/certs/privkey.pem" Mode="" Description="HTTPS Self Signed Certificate:&#13;&#10;# Use Volume path to HTTPS certificate&#13;&#10;Create in admin interface or before hand" Type="Variable" Display="advanced-hide" Required="true" Mask="false">/app/certs/privkey.pem</Config>
  <Config Name="HFS_LOG" Target="HFS_LOG" Default="/app/logs/access.log" Mode="" Description="" Type="Variable" Display="advanced-hide" Required="true" Mask="false">/app/logs/access.log</Config>
</Container>


COMMAND:
 

/usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker create --name='HFS3' --net='bond0' --ip='192.168.2.50' --pids-limit 2048 -e TZ="America/Chicago" -e HOST_OS="Unraid"


Just want sure how to summit it or who to go through

You can submit it to the SelfHosters repo on GitHub.

Thank you for your assistance and expertise in this matter. I will when I iron out the xml and bugs for a production release.
Need to fix 1 variable and then unrad community / HFS community can have at it.

Hey i was very happy to see your sunshine docker in unraid. I have problems with downloading and starting it. Default template is even not downloadable. Can you check it again? I can help if needed.

  • Author
1 hour ago, sam90 said:

Hey i was very happy to see your sunshine docker in unraid. I have problems with downloading and starting it. Default template is even not downloadable. Can you check it again? I can help if needed.

I'm chatting with the Sunshine devs currently to investigate similar reports, although I haven't heard about issues with downloading the image, that's new to me. What tag is it attempting to download (which branch did you select)?

15 hours ago, grtgbln said:

I'm chatting with the Sunshine devs currently to investigate similar reports, although I haven't heard about issues with downloading the image, that's new to me. What tag is it attempting to download (which branch did you select)?

sorry for my late answer now. If im install lizardbyte/sunshine:latest thats the first then nothing will be downloaded. The other branches will be downloaded and info log says it is started, but if i go to the dockers its stopped. with this log: 

image.thumb.png.c7bcdf922cc453d0ed8180e1983de8c7.png

 

On Main latest branch it looks like this: 

 

image.png.ca9fe35f12600354390deebd22ea444f.png

There you can see latest not found

 

Edit: Sorry i saw i need to give permissions for the folder of Sunshine to read/save. Then the docker is started. But now i have this:

 

image.thumb.png.b3c32fd4b08696f27a2adf37677b6125.png

Edited by sam90

I am still not able to start the container properly:

 

Error: SQLite database error
attempt to write a readonly database
   0: sql_schema_connector::sql_migration_persistence::initialize
           with namespaces=None
             at schema-engine/connectors/sql-schema-connector/src/sql_migration_persistence.rs:14
   1: schema_core::state::ApplyMigrations
             at schema-engine/core/src/state.rs:201

┌─────────────────────────────────────────────────────────┐
│  Update available 5.3.1 -> 5.21.1                       │
│  Run the following to update                            │
│    npm i --save-dev prisma@latest                       │
│    npm i @prisma/client@latest                          │
└─────────────────────────────────────────────────────────┘
Error: SQLite database error
attempt to write a readonly database
   0: sql_schema_connector::sql_migration_persistence::initialize
           with namespaces=None
             at schema-engine/connectors/sql-schema-connector/src/sql_migration_persistence.rs:14
   1: schema_core::state::ApplyMigrations
             at schema-engine/core/src/state.rs:201

 

But my anything.db has read/write for all...

 

-rw-rw-rw- 1 nobody users    0 Nov  4 20:05 .env
-rw-rw-r-- 1 nobody users 9959 Nov  4 19:00 .env.example
-rw-rw-rw- 1 nobody users    0 Nov  4 20:05 anythingllm.db

 

I tried to remove and recreate multiple times, but still no success... I also tried with root or "privileged" to see if it works.. but it doesnt.

 

edit:

 

Seems like the easiest solution is to chmod 777 on the anythingllm directory.

Edited by W0nderW0lf
solution

No matter what "AI" Container I choose, I always have trouble.

When I try Ollama or LocalAI (AIO CPU), I receive

 

docker run
  -d
  --name='LocalAI'
  --net='bridge'
  --pids-limit 2048
  --privileged=true
  -e TZ="Europe/Berlin"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="nasty"
  -e HOST_CONTAINERNAME="LocalAI"
  -e 'DEBUG'='false'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:8080]/'
  -l net.unraid.docker.icon='https://github.com/go-skynet/LocalAI/assets/2420543/0966aa2a-166e-4f99-a3e5-6c915fc997dd?raw=1'
  -p '8090:8080/tcp'
  -v '/mnt/user/appdata/local_ai/models':'/build/models':'rw'
  --gpus=all 'localai/localai:latest-aio-cpu'

12f3b23eb9447ff8fcea20cbe8b3c137f7b1390c8daaf5d12b6327c631b87040
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].

The command failed.

 

I managed to get anythingllm running, but I am not able to get a connection to list some models

When I have to configure the local ai / base url

I receive the following:

 

[backend] info: [MetaGenerator] fetching custom meta tag settings...
[backend] error: Error: The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).
    at new OpenAI (/app/server/node_modules/openai/index.js:53:19)
    at openAiModels (/app/server/utils/helpers/customModels.js:77:18)
    at getCustomModels (/app/server/utils/helpers/customModels.js:35:20)
    at /app/server/endpoints/system.js:955:41
    at Layer.handle [as handle_request] (/app/server/node_modules/express/lib/router/layer.js:95:5)
    at next (/app/server/node_modules/express/lib/router/route.js:149:13)
    at validatedRequest (/app/server/utils/middleware/validatedRequest.js:20:5)
[backend] error: LocalAI:listModels Connection error.
[backend] error: LocalAI:listModels Connection error.
[backend] error: LocalAI:listModels Connection error.
[backend] error: LocalAI:listModels Connection error.
[backend] error: LocalAI:listModels Connection error.

 

No matter what URL I enter when I try to use LocalAI

http://127.0.0.1:3001/v1

http://localhost:3001/v1

http://<containerIP>:3001/v1

http://127.0.0.1:11434/v1

http://localhost:11434/v1

http://<containerIP>:11434/v1

https://<mydomain>/v1

 

Any idea why those containers dont want to work for me?

I usually only use the default templates and no special settings.

19 minutes ago, W0nderW0lf said:

No matter what "AI" Container I choose, I always have trouble.

When I try Ollama or LocalAI (AIO CPU), I receive

 

docker run
  -d
  --name='LocalAI'
  --net='bridge'
  --pids-limit 2048
  --privileged=true
  -e TZ="Europe/Berlin"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="nasty"
  -e HOST_CONTAINERNAME="LocalAI"
  -e 'DEBUG'='false'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:8080]/'
  -l net.unraid.docker.icon='https://github.com/go-skynet/LocalAI/assets/2420543/0966aa2a-166e-4f99-a3e5-6c915fc997dd?raw=1'
  -p '8090:8080/tcp'
  -v '/mnt/user/appdata/local_ai/models':'/build/models':'rw'
  --gpus=all 'localai/localai:latest-aio-cpu'

12f3b23eb9447ff8fcea20cbe8b3c137f7b1390c8daaf5d12b6327c631b87040
docker: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].

The command failed.

 

I managed to get anythingllm running, but I am not able to get a connection to list some models

When I have to configure the local ai / base url

I receive the following:

 

[backend] info: [MetaGenerator] fetching custom meta tag settings...
[backend] error: Error: The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).
    at new OpenAI (/app/server/node_modules/openai/index.js:53:19)
    at openAiModels (/app/server/utils/helpers/customModels.js:77:18)
    at getCustomModels (/app/server/utils/helpers/customModels.js:35:20)
    at /app/server/endpoints/system.js:955:41
    at Layer.handle [as handle_request] (/app/server/node_modules/express/lib/router/layer.js:95:5)
    at next (/app/server/node_modules/express/lib/router/route.js:149:13)
    at validatedRequest (/app/server/utils/middleware/validatedRequest.js:20:5)
[backend] error: LocalAI:listModels Connection error.
[backend] error: LocalAI:listModels Connection error.
[backend] error: LocalAI:listModels Connection error.
[backend] error: LocalAI:listModels Connection error.
[backend] error: LocalAI:listModels Connection error.

 

No matter what URL I enter when I try to use LocalAI

http://127.0.0.1:3001/v1

http://localhost:3001/v1

http://<containerIP>:3001/v1

http://127.0.0.1:11434/v1

http://localhost:11434/v1

http://<containerIP>:11434/v1

https://<mydomain>/v1

 

Any idea why those containers dont want to work for me?

I usually only use the default templates and no special settings.

Ran into this yesterday for LocalAI, if you go into the setup screen and hit advanced in the top right of the page, you'll see where the --gpus=all switch in extra parameters. You have to remove that, and at least for me, i had to replace it with --device=/dev/dri. That fixed the error i was getting on install. 

  • Author
On 11/2/2024 at 10:50 PM, shadowsoze said:

Howdy, it looks like Scriberr got updated to the newest version about two weeks ago, any chance on the template getting updated?

 

https://www.reddit.com/r/selfhosted/comments/1g5aedq/update_scriberr_now_does_speaker_diarization/?sort=new

https://scriberr.app/

https://github.com/rishikanthc/Scriberr

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

On 11/6/2024 at 1:40 PM, grtgbln said:

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

Not sure if you'd be able to assist on this or if it's more a question to the devs of scriberr, but since i updated, i was able to get it going, and it works after the inital install, but when i made some updates and restarted the container, it ended up not being able to find pyannote/whisper, it's almost like it's being deleted after restart but i could be wrong, as i don't have much knowledge on docker. I've also tried defining PUID/PGID/UMASK as extra variables but it didn't help. 

 

I do have a cache drive that my appdata folder resides on, but i haven't had this issue with any of the other templates/containers i use.

 

Error:

DEV MODE -----> false
stderr: Traceback (most recent call last):
  File "/app/./diarize/local.py", line 2, in <module>
    from pyannote.audio import Pipeline
ModuleNotFoundError: No module named 'pyannote'

 

I'm not even sure where the /app/ directory is, i've tried looking for it in the setup directories but no luck. 9958492E-A5C2-49A9-A555-534FE1F8F7C0.thumb.png.18c9c0f5ae186eb069376410899984f0.png

  • Author
13 minutes ago, shadowsoze said:

Not sure if you'd be able to assist on this or if it's more a question to the devs of scriberr, but since i updated, i was able to get it going, and it works after the inital install, but when i made some updates and restarted the container, it ended up not being able to find pyannote/whisper, it's almost like it's being deleted after restart but i could be wrong, as i don't have much knowledge on docker. I've also tried defining PUID/PGID/UMASK as extra variables but it didn't help. 

 

I do have a cache drive that my appdata folder resides on, but i haven't had this issue with any of the other templates/containers i use.

 

Error:

DEV MODE -----> false
stderr: Traceback (most recent call last):
  File "/app/./diarize/local.py", line 2, in <module>
    from pyannote.audio import Pipeline
ModuleNotFoundError: No module named 'pyannote'

 

I'm not even sure where the /app/ directory is, i've tried looking for it in the setup directories but no luck. 9958492E-A5C2-49A9-A555-534FE1F8F7C0.thumb.png.18c9c0f5ae186eb069376410899984f0.png

Hmm, I don't immediately see any issue in terms of paths. The Docker mapped paths don't seem like they should be conflicting with any internal paths (although it is odd that the path of the Python file that's being called goes down a level into /app, only then to go back up a level and then down again into /diarize), so this might be something to take up with the Scriberr devs

  • 2 weeks later...

Hi I've downloaded and installed the Postiz app but I believe the app is the Gitroom app as the postiz app is nowhere to be found!Screenshot2024-11-17at6_06_01PM.thumb.png.292ee1879ca9709faceb4f0665138dbb.png

Screenshot 2024-11-17 at 6.19.17 PM.png

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.