Unraid install 1.0 issues

I'm getting errors during installation, do I need to fill this portion out?
No description
55 Replies
Cakey Bot
Cakey Bot5d ago
Thank you for submitting a support request. Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
Triiiple
TriiipleOP5d ago
Node.js v22.13.0
/app/apps/tasks/tasks.cjs:20846
throw result.error;
^

_ZodError: [
{
"code": "too_small",
"minimum": 1,
"type": "string",
"inclusive": true,
"exact": false,
"message": "String must contain at least 1 character(s)",
"path": []
}
]
at get error (/app/apps/tasks/tasks.cjs:20794:28)
at ZodDefault.parse (/app/apps/tasks/tasks.cjs:20846:22)
at Object.<anonymous> (/app/apps/tasks/tasks.cjs:450383:63)
at Module._compile (node:internal/modules/cjs/loader:1562:14)
at Object..js (node:internal/modules/cjs/loader:1699:10)
at Module.load (node:internal/modules/cjs/loader:1313:32)
at Function._load (node:internal/modules/cjs/loader:1123:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5) {
issues: [
{
code: 'too_small',
minimum: 1,
type: 'string',
inclusive: true,
exact: false,
message: 'String must contain at least 1 character(s)',
path: []
}
],
addIssue: [Function (anonymous)],
addIssues: [Function (anonymous)],
errors: [
{
code: 'too_small',
minimum: 1,
type: 'string',
inclusive: true,
exact: false,
message: 'String must contain at least 1 character(s)',
path: []
}
]
}

Node.js v22.13.0
Node.js v22.13.0
/app/apps/tasks/tasks.cjs:20846
throw result.error;
^

_ZodError: [
{
"code": "too_small",
"minimum": 1,
"type": "string",
"inclusive": true,
"exact": false,
"message": "String must contain at least 1 character(s)",
"path": []
}
]
at get error (/app/apps/tasks/tasks.cjs:20794:28)
at ZodDefault.parse (/app/apps/tasks/tasks.cjs:20846:22)
at Object.<anonymous> (/app/apps/tasks/tasks.cjs:450383:63)
at Module._compile (node:internal/modules/cjs/loader:1562:14)
at Object..js (node:internal/modules/cjs/loader:1699:10)
at Module.load (node:internal/modules/cjs/loader:1313:32)
at Function._load (node:internal/modules/cjs/loader:1123:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:170:5) {
issues: [
{
code: 'too_small',
minimum: 1,
type: 'string',
inclusive: true,
exact: false,
message: 'String must contain at least 1 character(s)',
path: []
}
],
addIssue: [Function (anonymous)],
addIssues: [Function (anonymous)],
errors: [
{
code: 'too_small',
minimum: 1,
type: 'string',
inclusive: true,
exact: false,
message: 'String must contain at least 1 character(s)',
path: []
}
]
}

Node.js v22.13.0
Meierschlumpf
Meierschlumpf5d ago
You probably have to remove all the database things that are empty. Then it could work, but not sure. Maybe our system should deal with empty env variable values better
Triiiple
TriiipleOP5d ago
Is there something I should be filling in there?
Triiiple
TriiipleOP5d ago
I left these empty as well:
No description
Meierschlumpf
Meierschlumpf5d ago
Try with DATABASE_URL = /appdata/db/db.sqlite Thats okay
Triiiple
TriiipleOP5d ago
here's the log now
Triiiple
TriiipleOP5d ago
Do I need to add user and pass for db maybe?
Meierschlumpf
Meierschlumpf5d ago
No, it's sqlite so a file, wait do you have AUTH_PROVIDERS somewhere? That should be credentials
Triiiple
TriiipleOP5d ago
Here's the full config:
No description
No description
Triiiple
TriiipleOP5d ago
-d
--name='homarr'
--entrypoint='/opt/unraid/tailscale'
--net='bridge'
--pids-limit 2048
-e TZ="America/Chicago"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="Unraid"
-e HOST_CONTAINERNAME="homarr"
-e 'SECRET_ENCRYPTION_KEY'='186a9aa1620501845a1ada739a921fdf5b6a89608bcd05e2cde5931e0a50b59f'
-e 'DOCKER_HOSTNAMES'=''
-e 'DOCKER_PORTS'=''
-e 'AUTH_PROVIDERS'=''
-e 'DB_DRIVER'='better-sqlite3'
-e 'DB_DIALECT'='sqlite'
-e TAILSCALE_HOSTNAME='homarr'
-e TAILSCALE_ALLOW_LAN_ACCESS='false'
-e TAILSCALE_USE_SSH='false'
-e TAILSCALE_USERSPACE_NETWORKING='false'
-e TAILSCALE_SERVE_PORT='7575'
-e TAILSCALE_STATE_DIR='/appdata/.tailscale_state'
-e ORG_ENTRYPOINT="/app/entrypoint.sh"
-e ORG_CMD="sh run.sh"
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://[IP]:[PORT:7575]/'
-l net.unraid.docker.icon='https://raw.githubusercontent.com/manuel-rw/unraid-templates/master/templates/homarr/icon.png'
-l net.unraid.docker.tailscale.webui='https://[hostname][magicdns]/'
-l net.unraid.docker.tailscale.hostname='homarr'
-p '7575:7575/tcp'
-v '/mnt/user/appdata/homarr/appdata':'/appdata':'rw'
-v '/var/run/docker.sock':'/var/run/docker.sock':'ro'
-v '/usr/local/share/docker/tailscale_container_hook':'/opt/unraid/tailscale'
--cap-add=NET_ADMIN
--device='/dev/net/tun' 'ghcr.io/homarr-labs/homarr:latest'
-d
--name='homarr'
--entrypoint='/opt/unraid/tailscale'
--net='bridge'
--pids-limit 2048
-e TZ="America/Chicago"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="Unraid"
-e HOST_CONTAINERNAME="homarr"
-e 'SECRET_ENCRYPTION_KEY'='186a9aa1620501845a1ada739a921fdf5b6a89608bcd05e2cde5931e0a50b59f'
-e 'DOCKER_HOSTNAMES'=''
-e 'DOCKER_PORTS'=''
-e 'AUTH_PROVIDERS'=''
-e 'DB_DRIVER'='better-sqlite3'
-e 'DB_DIALECT'='sqlite'
-e TAILSCALE_HOSTNAME='homarr'
-e TAILSCALE_ALLOW_LAN_ACCESS='false'
-e TAILSCALE_USE_SSH='false'
-e TAILSCALE_USERSPACE_NETWORKING='false'
-e TAILSCALE_SERVE_PORT='7575'
-e TAILSCALE_STATE_DIR='/appdata/.tailscale_state'
-e ORG_ENTRYPOINT="/app/entrypoint.sh"
-e ORG_CMD="sh run.sh"
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://[IP]:[PORT:7575]/'
-l net.unraid.docker.icon='https://raw.githubusercontent.com/manuel-rw/unraid-templates/master/templates/homarr/icon.png'
-l net.unraid.docker.tailscale.webui='https://[hostname][magicdns]/'
-l net.unraid.docker.tailscale.hostname='homarr'
-p '7575:7575/tcp'
-v '/mnt/user/appdata/homarr/appdata':'/appdata':'rw'
-v '/var/run/docker.sock':'/var/run/docker.sock':'ro'
-v '/usr/local/share/docker/tailscale_container_hook':'/opt/unraid/tailscale'
--cap-add=NET_ADMIN
--device='/dev/net/tun' 'ghcr.io/homarr-labs/homarr:latest'
Meierschlumpf
Meierschlumpf5d ago
Yes, try set AUTH_PROVIDERS to "credentials" And please recreate your encryption key I'll create an issue on github so that we ignore empty env variable values and always fallback to the correct values
Triiiple
TriiipleOP5d ago
Ok, should I also keep this or remove this?
Meierschlumpf
Meierschlumpf5d ago
You can try without it, but add it again if it fails
Triiiple
TriiipleOP5d ago
Working now!
Meierschlumpf
Meierschlumpf5d ago
Great!
Triiiple
TriiipleOP5d ago
I tried without it and it worked fyi
Meierschlumpf
Meierschlumpf5d ago
Let you know once the change has landed
Triiiple
TriiipleOP5d ago
Perfect, thanks for the help!
Meierschlumpf
Meierschlumpf5d ago
GitHub
bug: empty env variables should be ignored · Issue #1984 · homarr-l...
Describe the bug For example with the unraid template it sets empty strings for AUTH_PROVIDERS or DOCKER_PORTS. It would be better if those would only be picked up when they have an actual value. A...
the1_ts
the1_ts4d ago
I can confirm, that the missing piece for me was the AUTH_PROVIDERS credentials. Also perhaps the hidden PGID and PUID variables should perhaps have defaults set. Thanks for this helpful interaction. Updated the issue with this info.
mariankoniuszko
Hello, I have homarr installed on unraid. ghcr.io/ajnart/homarr:latest. It will be no longer updated? I see now only one Homarr in CA:
No description
Meierschlumpf
Meierschlumpf4d ago
No it will generally no longer receive updates, we'll release a final update to inform users
mariankoniuszko
How to migrate to that new docker?
Meierschlumpf
Meierschlumpf4d ago
You mean your data?
mariankoniuszko
thank You
mariankoniuszko
Hi, can You tell me if I have to install new database and fill that fields?
No description
mariankoniuszko
and what db works faster? better-sqlite or mysql2?
Meierschlumpf
Meierschlumpf3d ago
Depends, when you don't want to deal with the database, I would suggest sqlite, otherwise you need a seperate container with mysql. If you want to use sqlite, you can remove all the fields from Database URL to Database password, otherwise you have to fill them out with the mysql configurations
mariankoniuszko
OK, I remove everything with database but thaere are hidden options:
No description
mariankoniuszko
1000 and 1000 will be OK?
Meierschlumpf
Meierschlumpf3d ago
Depends on your setup, we normally run it with root (0) within the container. If you change it you need to follow the following docs: https://homarr.dev/docs/advanced/running-as-different-user/
Running as a different user | Homarr documentation
By default the container is running with user root and group root.
mariankoniuszko
so userID: 0 and group ID: 0?
Meierschlumpf
Meierschlumpf3d ago
Or you just remove it as well when you don't care about changing it
mariankoniuszko
it don't start when empty
Meierschlumpf
Meierschlumpf3d ago
I mean click the remove button beside it Or does that just clear the input field?
mariankoniuszko
no matter what I do I get 500 internal error
Meierschlumpf
Meierschlumpf3d ago
With what logs?
Meierschlumpf
Meierschlumpf3d ago
set AUTH_PROVIDERS to "credentials"
mariankoniuszko
one of those or add new variable?
Meierschlumpf
Meierschlumpf3d ago
There should be one called AUTH_PROVIDERS already
mariankoniuszko
that's all
Meierschlumpf
Meierschlumpf3d ago
Authentication: Single sign on authentication provider (4th last in last screenshot)
mariankoniuszko
Yes there's what You tell
Meierschlumpf
Meierschlumpf3d ago
Set it to credentials
mariankoniuszko
now works 🙂 I will start migration now Thanks
Meierschlumpf
Meierschlumpf3d ago
Your welcome
mariankoniuszko
I have some issues like right panel don't work, calendar widget don't work and my main board is no longer my main board. But rest is ok.

Did you find this page helpful?