Weather Widget not Working (TrueNAS Scale)

Hi Guys, I've just started playing around with Homarr and look to have everything mostly working. Have all my *arr apps, plex, qbit and plex up and running except for the weather widget which won't pull any data or find the really obscure place called "London". It's like it isn't finding the internet. Installed via truecharts with the only changes made to add in the paths for the config folders.
20 Replies
Cakey Bot
Cakey Bot7mo 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?
Serenaphic
Serenaphic7mo ago
Hi, Could you please provide informations as stated by cakey bot?
Evil Engineer
Evil EngineerOP7mo ago
Pastebin
2024-05-14T20:05:12.532297984+12:00 Exporting hostname...2024-05-14...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Evil Engineer
Evil EngineerOP7mo ago
Operating System: TrueNAS Scale 23.10.1.3 Homarr Version: 0.15.3 Config: Truecharts default except for hostpaths to folder locations Anything else?
Serenaphic
Serenaphic7mo ago
That should be it There are some strange errors in your logs though. Are you sure the folders are configured properly in terms of permissions?
2024-05-19T17:48:29.289751429+12:00 Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production
2024-05-19T17:48:29.297755139+12:00 Failed to write image to cache js-J66XqjAKZrotAiR+M2R4eaSWIPNxB4ujoCWhymTw= [Error: ENOENT: no such file or directory, mkdir '/app/.next/cache'] {
2024-05-19T17:48:29.297799658+12:00 errno: -2,
2024-05-19T17:48:29.297814452+12:00 code: 'ENOENT',
2024-05-19T17:48:29.297826969+12:00 syscall: 'mkdir',
2024-05-19T17:48:29.297839468+12:00 path: '/app/.next/cache'
2024-05-19T17:48:29.297851735+12:00 }
2024-05-19T17:48:29.289751429+12:00 Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production
2024-05-19T17:48:29.297755139+12:00 Failed to write image to cache js-J66XqjAKZrotAiR+M2R4eaSWIPNxB4ujoCWhymTw= [Error: ENOENT: no such file or directory, mkdir '/app/.next/cache'] {
2024-05-19T17:48:29.297799658+12:00 errno: -2,
2024-05-19T17:48:29.297814452+12:00 code: 'ENOENT',
2024-05-19T17:48:29.297826969+12:00 syscall: 'mkdir',
2024-05-19T17:48:29.297839468+12:00 path: '/app/.next/cache'
2024-05-19T17:48:29.297851735+12:00 }
More specifically, this error that comes up quite often. For reference, in the future if you need to make a folder for an app where you don't want to change default permission settings, use this command:
install -o apps -g apps -d "mnt/pool/path/to/folder"
install -o apps -g apps -d "mnt/pool/path/to/folder"
Then you can point to it in hostpath
Evil Engineer
Evil EngineerOP7mo ago
Pretty sure permissions are correct. I've got three separate subfolders/datasets under nmt/Mars/App_Data/Homarr/ for each of configs, data and icons. All are showing Owner and Group as apps with read, write and execute permissions.
Serenaphic
Serenaphic7mo ago
Actually, would you maybe have errors in your browser's console? I don't see errors regarding the weather widget or its api in the container's logs, so they might be in the browser's
Evil Engineer
Evil EngineerOP7mo ago
this?
Evil Engineer
Evil EngineerOP7mo ago
No description
Serenaphic
Serenaphic7mo ago
Yeah 🤔 Have you tried on a different browser? firefox <> chromium
Evil Engineer
Evil EngineerOP7mo ago
Same in Chrome, Brave and Edge.
Serenaphic
Serenaphic7mo ago
Oh wait, could you send me in dm what city you're trying to use? It may just be that it's not available Or just try a different close city
Evil Engineer
Evil EngineerOP7mo ago
Default of Paris not working. Any other location not found, including some really obscure ones like London and New York. 😀
Serenaphic
Serenaphic7mo ago
Now I'm actually more confused as to why is london working and how you found that out x)
Evil Engineer
Evil EngineerOP7mo ago
Nope. Sorry. Nothing working. That includes London
Serenaphic
Serenaphic7mo ago
Oh wait, nvm the london one is just a clock I'm tired... Alright, if none are working then it may be that something like a pihole or adguard home is blocking the API https://api.open-meteo.com/ https://geocoding-api.open-meteo.com/
Evil Engineer
Evil EngineerOP7mo ago
Could be. I do have a pihole running.
Serenaphic
Serenaphic7mo ago
Whitelist those URL just for good measure
Evil Engineer
Evil EngineerOP7mo ago
Okay. Will give it a go.
dwrighty
dwrighty3mo ago
Hi all First post, new installation. I'm loving Homarr. I am having a couple of issues though. For this post it's the weather widget which isn't working. Homarr is installed through Portainer using a stack/docker-compose.yml. Operating system: Ubuntu 24.04 Version: 0.15.4 Configuration: Docker Compose through Portainer stacks (Username obfustrated for privacy): "services: homarr: container_name: homarr image: ghcr.io/ajnart/homarr:latest restart: unless-stopped environment: - TZ=Europe/London - DISABLE_ANALYTICS=true - DEFAULT_COLOR_SCHEME=dark volumes: - /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration - /home/<<User>>/homarr/configs:/app/data/configs - /home/<<user>>/homarr/icons:/app/public/icons - /home/<<user>>/homarr/data:/data ports: - '7575:7575'" I've added the log to Pastebin - https://pastebin.com/KemKKHJa I use Pihole but have whitelisted the open-meteo urls mentioned above but still no joy. Thanks for any help anybody can be - D
Pastebin
Exporting hostname...Migrating database...yarn run v1.22.19$ ts-nod...
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Want results from more Discord servers?
Add your server