Closed Karmalakas closed 2 weeks ago
Looks like something is broken in the container. I would recommend raising an issue upstream, as we dont build the container
Created an issue and it was converted to a discussion, so I assume it might take a while until it's resolved 😕
@stavros-k, unfortunately I was redirected back here 😕 Looks like some permissions issue.
It works fine for me.
Based on the info you have shared, I can't reproduce. Furthermore, I'd suggest upgrading to 24.10.x TrueNAS.
Upgraded to ElectricEel-24.10.0.1 and not only I still have the exact same error for SearXNG, but quite a few other apps now lost access to their settings files and/or files they created. Homepage no longer has access to settings. Deluge no longer has access to downloaded files... 🤦♂️
Also I got this alert
App(s) failed to migrate, please check /var/log/app_migrations.log for more details.
But no idea how to check this, because I don't have permissions to read _appmigrations.log with my admin user in shell
Sorry but without sharing more information no one can help you.
What kind of information would you require? I've mounted dataset for config with these permissions:
As I mentioned, configs are created upon deployment, but then in the logs there's permission denied error
SearXNG runs as root, I don't see why it would have permission issues. You can try removing ACLs, as I've seen few apps not like them.
You can try removing ACLs
Where can I do that? I didn't set it anywhere 🤔 If you're talking about this, it's not set
It should be in the edit button on the screenshot you shared.
Should I just "Strip ACL" for this mounted dataset?
Yes
When clicked to deploy, after ~10-ish seconds of "Deploying" status it just "Stopped" Added back ACLs to dataset and now it behaves the same as I just wrote - stops deploying after 10-15 seconds and no logs
So I decided to try removing everything related to SearXNG and recreate from scratch. While creating a dataset, this time instead of choosing "Apps" preset, I left it on "Generic" - and it seems it worked. Everything loads and search itself runs, although in the logs I see this four times:
2024-11-08 16:38:48.319623+00:002024-11-08 16:38:48,319 WARNING:searx.botdetection.config: missing config file: /etc/searxng/limiter.toml
Anyway, considering this as resolved, but if you have any insight about this limiter.toml, I'd be grateful to hear it 🙏
I suppose this is an optional config. It will probably get created when you do some specific setting. But I'm not aware of what this does.
Happy to know that it works, I've implemented a change regarding permissions, that will rollout slowly to all apps once upgraded to v2 library.
Just tried adding SearXNG app and deployment fails with:
Log is flooded with:
TrueNAS Scale Dragonfish-24.04.2.3