H
Homarr2mo ago
Triiiple

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 Bot2mo 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
TriiipleOP2mo 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
Meierschlumpf2mo 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
TriiipleOP2mo ago
Is there something I should be filling in there?
Triiiple
TriiipleOP2mo ago
I left these empty as well:
No description
Meierschlumpf
Meierschlumpf2mo ago
Try with DATABASE_URL = /appdata/db/db.sqlite Thats okay
Triiiple
TriiipleOP2mo ago
here's the log now
Triiiple
TriiipleOP2mo ago
Do I need to add user and pass for db maybe?
Meierschlumpf
Meierschlumpf2mo ago
No, it's sqlite so a file, wait do you have AUTH_PROVIDERS somewhere? That should be credentials
Triiiple
TriiipleOP2mo ago
Here's the full config:
No description
No description
Triiiple
TriiipleOP2mo 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
Meierschlumpf2mo 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
TriiipleOP2mo ago
Ok, should I also keep this or remove this?
Meierschlumpf
Meierschlumpf2mo ago
You can try without it, but add it again if it fails
Triiiple
TriiipleOP2mo ago
Working now!
Meierschlumpf
Meierschlumpf2mo ago
Great!
Triiiple
TriiipleOP2mo ago
I tried without it and it worked fyi
Meierschlumpf
Meierschlumpf2mo ago
Let you know once the change has landed
Triiiple
TriiipleOP2mo ago
Perfect, thanks for the help!
Meierschlumpf
Meierschlumpf2mo 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_ts2mo 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
mariankoniuszko2mo ago
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
Meierschlumpf2mo ago
No it will generally no longer receive updates, we'll release a final update to inform users
mariankoniuszko
mariankoniuszko2mo ago
How to migrate to that new docker?
Meierschlumpf
Meierschlumpf2mo ago
You mean your data?
mariankoniuszko
mariankoniuszko2mo ago
thank You
mariankoniuszko
mariankoniuszko2mo ago
Hi, can You tell me if I have to install new database and fill that fields?
No description
mariankoniuszko
mariankoniuszko2mo ago
and what db works faster? better-sqlite or mysql2?
Meierschlumpf
Meierschlumpf2mo 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
mariankoniuszko2mo ago
OK, I remove everything with database but thaere are hidden options:
No description
mariankoniuszko
mariankoniuszko2mo ago
1000 and 1000 will be OK?
Meierschlumpf
Meierschlumpf2mo 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
mariankoniuszko2mo ago
so userID: 0 and group ID: 0?
Meierschlumpf
Meierschlumpf2mo ago
Or you just remove it as well when you don't care about changing it
mariankoniuszko
mariankoniuszko2mo ago
it don't start when empty
mariankoniuszko
mariankoniuszko2mo ago
No description
Meierschlumpf
Meierschlumpf2mo ago
I mean click the remove button beside it Or does that just clear the input field?
mariankoniuszko
mariankoniuszko2mo ago
no matter what I do I get 500 internal error
mariankoniuszko
mariankoniuszko2mo ago
No description
Meierschlumpf
Meierschlumpf2mo ago
With what logs?
Meierschlumpf
Meierschlumpf2mo ago
set AUTH_PROVIDERS to "credentials"
mariankoniuszko
mariankoniuszko2mo ago
one of those or add new variable?
mariankoniuszko
mariankoniuszko2mo ago
No description
Meierschlumpf
Meierschlumpf2mo ago
There should be one called AUTH_PROVIDERS already
mariankoniuszko
mariankoniuszko2mo ago
No description
mariankoniuszko
mariankoniuszko2mo ago
No description
mariankoniuszko
mariankoniuszko2mo ago
that's all
Meierschlumpf
Meierschlumpf2mo ago
Authentication: Single sign on authentication provider (4th last in last screenshot)
mariankoniuszko
mariankoniuszko2mo ago
Yes there's what You tell
Meierschlumpf
Meierschlumpf2mo ago
Set it to credentials
mariankoniuszko
mariankoniuszko2mo ago
now works 🙂 I will start migration now Thanks
Meierschlumpf
Meierschlumpf2mo ago
Your welcome
mariankoniuszko
mariankoniuszko2mo ago
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?