Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feedback] how to solve pi.hole readonly database #203

Open
Kordrad opened this issue Jun 21, 2023 · 9 comments
Open

[Feedback] how to solve pi.hole readonly database #203

Kordrad opened this issue Jun 21, 2023 · 9 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@Kordrad
Copy link

Kordrad commented Jun 21, 2023

Description

After install Pi.hole I have problem with permissions to update my domain list, group list etc.

X Error, something went wrong!
While executing: attempt to write a readonly database
Added 0 out of 1 adlists

I resolved this problem in console by providing something like this:

$ sudo docker exec *CONTAINER ID* chown -R www-data:pihole /etc/pihole

but after "Update Gravity (list of blocked domains)" in web UI, the prompt shows again.
I tried to provide env variables, but it didn't help to me. Anyone has other suggestion how I can fix this?

Additional Information

 - OS: linux
 - CasaOS Version: 0.4.3
 - Disk Total: 27712 
 - Disk Used: 13002 
 - System Info: [Debian GNU/Linux 11   \l Bit:64 Mem:7789M Core:4 Linux CasaOS 5.10.0-23-amd64 IceWhaleTech/CasaOS#1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux]
 - Remote Version: 0.4.3
 - Browser: Edge 
 - Version: 114.0.1823.51

image
image

@tigerinus tigerinus transferred this issue from IceWhaleTech/CasaOS Jul 6, 2023
@tigerinus
Copy link
Contributor

Transferring this issue over to CasaOS-AppStore, since it seems to be specific to this app.

Honestly we are not Pi-hole experts, so I'm marking this issue as Help Wanted - hopefully someone from the lovely community can give a hand.

@tigerinus tigerinus added the help wanted Extra attention is needed label Jul 6, 2023
@Kordrad
Copy link
Author

Kordrad commented Jul 17, 2023

@tigerinus I found solution pi-hole/docker-pi-hole#860 (comment)

image
Maybe the WEB_GID should be as default?

@tigerinus tigerinus assigned CorrectRoadH and unassigned tigerinus Jul 17, 2023
@tigerinus
Copy link
Contributor

Sounds like an area @CorrectRoadH has been looking at.

@CorrectRoadH
Copy link
Member

👀I can't reproduce the bug. Do your pi.hole installed from the app store?

@Kordrad
Copy link
Author

Kordrad commented Jul 17, 2023

👀I can't reproduce the bug. Do your pi.hole installed from the app store?

yup, I reinstalled today on latest version of CasaOS (v0.4.4)

@Kordrad
Copy link
Author

Kordrad commented Jul 17, 2023

You can try to use Update Gravity (list of blocked domains) and then try to add something to Adlist

@CorrectRoadH
Copy link
Member

CleanShot 2023-07-18 at 10 29 41@2x CleanShot 2023-07-18 at 10 29 34@2x I can't reproduce it yet. It works very fine on my computer😭

@rickyashe
Copy link

This fixed my issue also is there an update planned to ensure this does not happen to other users?

@CMSprocket
Copy link

I'm having this issue, fresh installed from the CasaOS AppStore when I'm trying to add RegEx entries. It's under Domains and the RegEx tab.

I'm new to CasaOS and PiHole, so the whole changing the WEB_GUI is unfamiliar to me. Can someone explain?

as far as @rickyashe, what fixed your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
Status: Need Triage (QA+PM)
Development

No branches or pull requests

5 participants