H
Homarr5mo ago
gianic

TypeError: Cannot read properties of undefined (reading 'some')

Hello! I'm trying to setup Homarr via docker-compose on my Synology (DSM7) but I'm having some issues. I copied the compose.yml file reported in the official documentation: https://homarr.dev/docs/getting-started/installation/#installation. I just added the parameters (PUID and PGID) to specify which user, group the container should run as. I attached a screenshot of the configuration. When I start the container I see that errors are thrown. I attached an extract of the logs (HTML format). As a result, homarr's UI shows an error message and it's unusable. I've reviewed the folders permissions, connectivity, etc..Can you guys help me understand what the error is about and a possible solution? Thank you!
🚀 Installation | Homarr documentation
We provide multiple installation methods. Are you a newbie to Docker? We recommend Docker Compose for beginners.
Solution:
I forgot to update this thread but it’s all sorted. I re-did everything from scratch, assigned better permissions to the mapped folders etc. very likely that did the job and Homarr is now up and running. Thank you for your help.
Jump to solution
8 Replies
Cakey Bot
Cakey Bot5mo 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?
Manicraft1001
Manicraft10015mo ago
Please remove GID and UID
Serenaphic
Serenaphic5mo ago
Also, are you following the guide for synology as mentionned here? https://homarr.dev/docs/getting-started/installation/#-synology
🚀 Installation | Homarr documentation
We provide multiple installation methods. Are you a newbie to Docker? We recommend Docker Compose for beginners.
Serenaphic
Serenaphic5mo ago
Also, those logs are a bit of a pain to read, do you have them in plain text?
gianic
gianicOP5mo ago
Thanks for your input. I've removed PGID and PUID but the result didn't change unfortunately. The updated configuration is: version: '3' #---------------------------------------------------------------------# # Homarr - A simple, yet powerful dashboard for your server. # #---------------------------------------------------------------------# services: homarr: container_name: homarr image: ghcr.io/ajnart/homarr:latest restart: unless-stopped volumes: #- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration - /volume1/docker/configs/homarr:/app/data/configs - /volume1/docker/configs/homarr/icons:/app/public/icons - /volume1/docker/configs/homarr/data:/data ports: - '32796:7575' I've attached a fresh set of logs in plain text. Let me know if you need more details. I'm not following that guide simply because is quite old and I suspect it was written before Synology's support for Docker compose (there's no need to create a scheduled task to run the conainer anymore).
Serenaphic
Serenaphic5mo ago
Have you gone through the onboarding? Even without permissions done properly, it should still locally create things. Permissions are needed for permeating between restarts of the container mostly. Also, It seems you've entered a lot of environment variables? You might be better of letting them to default, make things work before you tinker
Solution
gianic
gianic4mo ago
I forgot to update this thread but it’s all sorted. I re-did everything from scratch, assigned better permissions to the mapped folders etc. very likely that did the job and Homarr is now up and running. Thank you for your help.
Want results from more Discord servers?
Add your server