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
That's the error I get when I try to use Hoader app.
Installation: Docker Image
OS: Windows 11 Pro
Log
2025-01-15 18:47:46 [next-auth][error][NO_SECRET]
2025-01-15 18:47:46 https://next-auth.js.org/errors#no_secret Please define a `secret` in production. r [MissingSecretError]: Please define a `secret` in production.
2025-01-15 18:47:46 at t.assertConfig (/app/apps/web/.next/server/chunks/8195.js:3:20299)
2025-01-15 18:47:46 at m (/app/apps/web/.next/server/chunks/8195.js:3:13662)
2025-01-15 18:47:46 at async a (/app/apps/web/.next/server/chunks/8195.js:27:20595)
2025-01-15 18:47:46 at async a (/app/apps/web/.next/server/app/page.js:1:2960) {
2025-01-15 18:47:46 code: 'NO_SECRET'
2025-01-15 18:47:46 }
2025-01-15 18:47:46 [next-auth][error][NO_SECRET]
2025-01-15 18:47:46 https://next-auth.js.org/errors#no_secret Please define a `secret` in production. r [MissingSecretError]: Please define a `secret` in production.
2025-01-15 18:47:46 at t.assertConfig (/app/apps/web/.next/server/chunks/8195.js:3:20299)
2025-01-15 18:47:46 at m (/app/apps/web/.next/server/chunks/8195.js:3:13662)
2025-01-15 18:47:46 at async a (/app/apps/web/.next/server/chunks/8195.js:27:20595)
2025-01-15 18:47:46 at async h (/app/apps/web/.next/server/chunks/350.js:1:10745) {
2025-01-15 18:47:46 code: 'NO_SECRET'
2025-01-15 18:47:46 }
2025-01-15 18:47:46 Error: There is a problem with the server configuration. Check the server logs for more information.
2025-01-15 18:47:46 at a (/app/apps/web/.next/server/chunks/8195.js:27:20843)
2025-01-15 18:47:46 at async a (/app/apps/web/.next/server/app/page.js:1:2960) {
2025-01-15 18:47:46 digest: '1111914970'
2025-01-15 18:47:46 }
2025-01-15 18:47:46 Error: There is a problem with the server configuration. Check the server logs for more information.
2025-01-15 18:47:46 at a (/app/apps/web/.next/server/chunks/8195.js:27:20843)
2025-01-15 18:47:46 at async h (/app/apps/web/.next/server/chunks/350.js:1:10745) {
2025-01-15 18:47:46 digest: '2833486469'
2025-01-15 18:47:46 }
2025-01-15 18:47:46 Error: There is a problem with the server configuration. Check the server logs for more information.
2025-01-15 18:47:46 at a (/app/apps/web/.next/server/chunks/8195.js:27:20843)
2025-01-15 18:47:46 at async h (/app/apps/web/.next/server/chunks/350.js:1:10745) {
2025-01-15 18:47:46 digest: '2833486469'
2025-01-15 18:47:46 }
2025-01-15 18:47:47 [next-auth][error][NO_SECRET]
2025-01-15 18:47:47 https://next-auth.js.org/errors#no_secret Please define a `secret` in production. r [MissingSecretError]: Please define a `secret` in production.
2025-01-15 18:47:47 at t.assertConfig (/app/apps/web/.next/server/chunks/8195.js:3:20299)
2025-01-15 18:47:47 at m (/app/apps/web/.next/server/chunks/8195.js:3:13662)
2025-01-15 18:47:47 at async a (/app/apps/web/.next/server/chunks/8195.js:27:20595)
2025-01-15 18:47:47 at async h (/app/apps/web/.next/server/chunks/350.js:1:10745) {
2025-01-15 18:47:47 code: 'NO_SECRET'
2025-01-15 18:47:47 }
2025-01-15 18:47:47 Error: There is a problem with the server configuration. Check the server logs for more information.
2025-01-15 18:47:47 at a (/app/apps/web/.next/server/chunks/8195.js:27:20843)
2025-01-15 18:47:47 at async h (/app/apps/web/.next/server/chunks/350.js:1:10745) {
2025-01-15 18:47:47 digest: '2833486469'
2025-01-15 18:47:47 }
2025-01-15 18:47:47 Error: There is a problem with the server configuration. Check the server logs for more information.
2025-01-15 18:47:47 at a (/app/apps/web/.next/server/chunks/8195.js:27:20843)
2025-01-15 18:47:47 at async h (/app/apps/web/.next/server/chunks/350.js:1:10745) {
2025-01-15 18:47:47 digest: '2833486469'
2025-01-15 18:47:47 }
Steps to Reproduce
Basically follow the official docs installation page.
On your profile directory (typically the path is C:\Users\[name])) create a new directory to host the compose file .yml and .env variables files by using mkdir hoarder command.
In this folder create .env file and .yml file and fill in each with following information:
.env file
HOARDER_VERSION=latest
NEXTAUTH_SECRET=super_random_string
MEILI_MASTER_KEY=another_random_string
NEXTAUTH_URL=http://localhost:3000
OLLAMA_BASE_URL=#<Ollama-API> #I don't know
INFERENCE_TEXT_MODEL=llama3.2
INFERENCE_IMAGE_MODEL=llava #not sure about it
INFERENCE_CONTEXT_LENGTH=100 #optional I haven't tested if it a good value. No info provided
NOTE
In documentation openssl is mentioned to be used to generate such random strings with openssl rand -base64 36 command.
I've no idea how to use it.
What about AI assistant to enable automatic tagging ?
I know about OpenAI which requires an API key and that all I need is to set in .env file OPENAI_API_KEY=<key>
What about ollama, a local LLM ?
I installed (https://ollama.com/download) it. I can use it via cmd prompt.
All works fine.
No instructions about how to get ollama API .
launch container in Docker for Windows (by giving it a name (eg Hoarder) and set port to be used (eg 0 for auto-assignment).
Expected Behaviour
It should load login page where you can enter login and password.
Screenshots or Additional Context
No response
Device Details
Windows 11 Pro (tested both with Firefox 134.0.1 and Brave 1.73.105).
Exact Hoarder Version
N/A Idk.
Have you checked the troubleshooting guide?
I have checked the troubleshooting guide and I haven't found a solution to my problem.
The text was updated successfully, but these errors were encountered:
Regarding the NO_SECRET error it mean that the NEXTAUTH_SECRET is not correctly set. Either your env file is not correctly read, or you forgot to update docker compose after adding it or something.
For ollama, you'll have to put the address of the server running ollama. Typically, people use http://host.docker.internal:11343 but I don't know if this is going to work on windows unfortunately.
Are you running this via portainer and importing the .env file? I'd assume you are, since I had the same exact error stack before I recognized my flaw.
The solution is to update the docker-compose.yml file to point to the generated Portainer env file 'stack.env':
This bit:
env_file:
- .env
becomes:
env_file:
- stack.env
when working in portainer. Don't forget to update the filename in both places (I may have made that mistake too).
Describe the Bug
That's the error I get when I try to use Hoader app.
Installation: Docker Image
OS: Windows 11 Pro
Log
Steps to Reproduce
Basically follow the official docs installation page.
C:\Users\[name])
) create a new directory to host the compose file.yml
and.env
variables files by usingmkdir hoarder
command..env
file and.yml
file and fill in each with following information:.env
fileNOTE
In documentation
openssl
is mentioned to be used to generate such random strings withopenssl rand -base64 36
command.I've no idea how to use it.
docker-compose.yml
fileWhat about AI assistant to enable automatic tagging ?
I know about OpenAI which requires an API key and that all I need is to set in
.env
fileOPENAI_API_KEY=<key>
What about ollama, a local LLM ?
I installed (https://ollama.com/download) it. I can use it via cmd prompt.
All works fine.
No instructions about how to get
ollama API
.Hoarder
) and set port to be used (eg0
for auto-assignment).Expected Behaviour
It should load login page where you can enter login and password.
Screenshots or Additional Context
No response
Device Details
Windows 11 Pro (tested both with Firefox 134.0.1 and Brave 1.73.105).
Exact Hoarder Version
N/A Idk.
Have you checked the troubleshooting guide?
The text was updated successfully, but these errors were encountered: