You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kusk and @el-tiuri there seems to be an misunderstanding as to the migration instructions. The migration does not only involve adding the TINYAUTH_ prefix but also changing and categorizing most of the configuration options. For your static configuration options (so everything but the OAuth providers) you can use the automated configuration migrator (everything happens browser side). As for the OAuth configuration, please refer to the documentation for all of the new options you should use.
Reacted by Anders Ernstpriis Kusk, Grigorijs and Remy
The Migrator doesn't seem to pick up values correctly.
On the left is my original working configuration (blurred of course) and on the right is what was automatically migrated. I'm still having an issue with starting TinyAuth
EDIT: Worked out my issue with the configuration values (CLIENT_ID needed to be CLIENTID, and so on) and got it running. Might want to include a full list of changes (i.e. PROVIDERS_[NAME]_CLIENT_ID is now TINYAUTH_OAUTH_PROVIDERS_[NAME]_CLIENTID)
Same issue in the UNRAID community edition when pulling with tag :latest
I reverted to 4.1.0 as it is not clear which variable of the container needs an updated and to what...
@YouveGotMeowxy seems like the environment variables are not passed to Tinyauth. But, even if they are passed configuration will most likely fail to parse due to the following options:
@sebinistor basically the entire configuration changed. The environment variables and CLI flags now follow a new scheme. You can visit the reference, find the new environment variable that fits your use case and migrate it. Alternatively, you can use the config migrator (as mentioned won't work for OAuth variables, you will have to manually migrate those).
Users in the file should be one per line not separated by a comma (although the parser should be able to load it). Apart from this, your bcrypt hash is just invalid. Bcrypt hashes don't use colons. Try to regenerate your user using the CLI.
Users in the file should be one per line not separated by a comma (although the parser should be able to load it). Apart from this, your bcrypt hash is just invalid. Bcrypt hashes don't use colons. Try to regenerate your user using the CLI.
That's weird, v4 doesn't complain and detects both users.
Anyway, if this is the intended way, please also update the docs since TINYAUTH_AUTH_USERS talks about "Comma-separated list of users" but TINYAUTH_AUTH_USERSFILE does not mention it has to be a multi-line file.
Thanks for taking the time to answer, awesome work 🫡
EDIT: The ":" sign was due to the presence of TOTP authentication (user:password:totp)
Activity
[-][BUG][/-][+][BUG] v5 fails to start up[/+]kusk commentedon Mar 3, 2026
Same error here.
steveiliop56 commentedon Mar 3, 2026
Can you share the docker compose file you used? Is it the one from the documentation or did you customize it?
kusk commentedon Mar 3, 2026
I have tried to migrate to the new config, but not sure I did it correctly.
kusk commentedon Mar 3, 2026
I found the error myself. I had to change from TINYAUTH_APP_URL to TINYAUTH_APPURL without the last underscore.
steveiliop56 commentedon Mar 3, 2026
@kusk and @el-tiuri there seems to be an misunderstanding as to the migration instructions. The migration does not only involve adding the
TINYAUTH_prefix but also changing and categorizing most of the configuration options. For your static configuration options (so everything but the OAuth providers) you can use the automated configuration migrator (everything happens browser side). As for the OAuth configuration, please refer to the documentation for all of the new options you should use.kusk commentedon Mar 3, 2026
Yeah, I ended up using both the migator and the documentation to fix the problem.
TonyCollett commentedon Mar 3, 2026
The Migrator doesn't seem to pick up values correctly.
On the left is my original working configuration (blurred of course) and on the right is what was automatically migrated. I'm still having an issue with starting TinyAuth
EDIT: Worked out my issue with the configuration values (CLIENT_ID needed to be CLIENTID, and so on) and got it running. Might want to include a full list of changes (i.e.
PROVIDERS_[NAME]_CLIENT_IDis nowTINYAUTH_OAUTH_PROVIDERS_[NAME]_CLIENTID)steveiliop56 commentedon Mar 3, 2026
Yes there is a warning about dynamic values below. They are not supported by the migrator, you will have to migrate them manually.
TonyCollett commentedon Mar 3, 2026
Ahh, I didn't realise that. All good then. Thanks for the update
sebinistor commentedon Mar 4, 2026
Same issue in the UNRAID community edition when pulling with tag :latest
I reverted to 4.1.0 as it is not clear which variable of the container needs an updated and to what...
YouveGotMeowxy commentedon Mar 4, 2026
I'm getting a similar error:
my
.envfile:steveiliop56 commentedon Mar 4, 2026
@YouveGotMeowxy seems like the environment variables are not passed to Tinyauth. But, even if they are passed configuration will most likely fail to parse due to the following options:
They should be:
@sebinistor basically the entire configuration changed. The environment variables and CLI flags now follow a new scheme. You can visit the reference, find the new environment variable that fits your use case and migrate it. Alternatively, you can use the config migrator (as mentioned won't work for OAuth variables, you will have to manually migrate those).
15 remaining items
andreasntr commentedon Apr 12, 2026
Is
TINYAUTH_AUTH_USERSFILEdealing with the file in a different way than v4? My file has not changed and i get the following error:I noticed i have a ":" char in one of the hashed passwords but the format is correct (user:password_with_:_in_the_middle,user:password)
steveiliop56 commentedon Apr 12, 2026
Users in the file should be one per line not separated by a comma (although the parser should be able to load it). Apart from this, your bcrypt hash is just invalid. Bcrypt hashes don't use colons. Try to regenerate your user using the CLI.
andreasntr commentedon Apr 12, 2026
That's weird, v4 doesn't complain and detects both users.
Anyway, if this is the intended way, please also update the docs since
TINYAUTH_AUTH_USERStalks about "Comma-separated list of users" butTINYAUTH_AUTH_USERSFILEdoes not mention it has to be a multi-line file.Thanks for taking the time to answer, awesome work 🫡
EDIT: The ":" sign was due to the presence of TOTP authentication (user:password:totp)
fix: accept comma-separated users on one users file line again
fix: support IPv6 server addresses and unix sockets in the healthcheck
bsaurusrex commentedon Oct 9, 2026
Opened four small PRs that address issues reported in this thread:
::,::1) and socket-mode healthcheckTINYAUTH_*variables on startupfix: accept comma-separated users on one users file line again
fix: support IPv6 server addresses and unix sockets in the healthcheck
feat: name misconfigured environment variables on startup
feat: add server.socketMode to set unix socket permissions
fix: reject invalid user password hashes at startup
feat: add server.socketMode to set unix socket permissions
feat: add server.socketMode to set unix socket permissions
fix: accept a single users-file line with a trailing comma
fix: probe IPv6 loopback for an IPv6 wildcard healthcheck target