@imc67 Thanks. I just ran the update. Hopefully, this will fix it
Razumasu
Posts
-
Unresponsive DNS after trying to update filters -
Unresponsive DNS after trying to update filtersI've had the server running for 6 months or so now without any issues. Then suddenly it started becoming unresponsive, making all DNS checks to the server fail.
Every time it becomes unresponsive it happens right after an attempt automatically update filters. After the fail, the app needs to be restarted.
Any suggestions on what could be going on?
Log:
"Apr 10 09:58:18 2023/04/10 07:58:18.035003 [error] handling tcp: reading msg: reading msg: unexpected EOF Apr 10 12:11:15 2023/04/10 10:11:15.243151 [info] requesting filter from https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt, skip: Get "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:11:15 2023/04/10 10:11:15.245671 [info] Failed to update filter https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt: Get "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:16:15 2023/04/10 10:16:15.247659 [info] requesting filter from https://adaway.org/hosts.txt, skip: Get "https://adaway.org/hosts.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:16:15 2023/04/10 10:16:15.248129 [info] Failed to update filter https://adaway.org/hosts.txt: Get "https://adaway.org/hosts.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:21:15 2023/04/10 10:21:15.249592 [info] requesting filter from https://adguardteam.github.io/HostlistsRegistry/assets/filter_8.txt, skip: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_8.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:21:15 2023/04/10 10:21:15.250189 [info] Failed to update filter https://adguardteam.github.io/HostlistsRegistry/assets/filter_8.txt: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_8.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:26:15 2023/04/10 10:26:15.251806 [info] requesting filter from https://adguardteam.github.io/HostlistsRegistry/assets/filter_32.txt, skip: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_32.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:26:15 2023/04/10 10:26:15.252264 [info] Failed to update filter https://adguardteam.github.io/HostlistsRegistry/assets/filter_32.txt: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_32.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:31:15 2023/04/10 10:31:15.252866 [info] requesting filter from https://adguardteam.github.io/HostlistsRegistry/assets/filter_5.txt, skip: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_5.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:31:15 2023/04/10 10:31:15.253281 [info] Failed to update filter https://adguardteam.github.io/HostlistsRegistry/assets/filter_5.txt: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_5.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:36:15 2023/04/10 10:36:15.254083 [info] requesting filter from https://adguardteam.github.io/HostlistsRegistry/assets/filter_30.txt, skip: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_30.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:36:15 2023/04/10 10:36:15.254697 [info] Failed to update filter https://adguardteam.github.io/HostlistsRegistry/assets/filter_30.txt: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_30.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:41:15 2023/04/10 10:41:15.258418 [info] requesting filter from https://adguardteam.github.io/HostlistsRegistry/assets/filter_31.txt, skip: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_31.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:41:15 2023/04/10 10:41:15.262038 [info] Failed to update filter https://adguardteam.github.io/HostlistsRegistry/assets/filter_31.txt: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_31.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:46:15 2023/04/10 10:46:15.278677 [info] requesting filter from https://adguardteam.github.io/HostlistsRegistry/assets/filter_24.txt, skip: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_24.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:46:15 2023/04/10 10:46:15.279020 [info] Failed to update filter https://adguardteam.github.io/HostlistsRegistry/assets/filter_24.txt: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_24.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:51:15 2023/04/10 10:51:15.280483 [info] requesting filter from https://adguardteam.github.io/HostlistsRegistry/assets/filter_3.txt, skip: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_3.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:51:15 2023/04/10 10:51:15.281147 [info] Failed to update filter https://adguardteam.github.io/HostlistsRegistry/assets/filter_3.txt: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_3.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:56:15 2023/04/10 10:56:15.282472 [info] requesting filter from https://adguardteam.github.io/HostlistsRegistry/assets/filter_11.txt, skip: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_11.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 12:56:15 2023/04/10 10:56:15.282851 [info] Failed to update filter https://adguardteam.github.io/HostlistsRegistry/assets/filter_11.txt: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_11.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 13:01:15 2023/04/10 11:01:15.284075 [info] requesting filter from https://adguardteam.github.io/HostlistsRegistry/assets/filter_9.txt, skip: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_9.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 13:01:15 2023/04/10 11:01:15.284726 [info] Failed to update filter https://adguardteam.github.io/HostlistsRegistry/assets/filter_9.txt: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_9.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 13:06:15 2023/04/10 11:06:15.285402 [info] requesting filter from https://adguardteam.github.io/HostlistsRegistry/assets/filter_27.txt, skip: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_27.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 13:06:15 2023/04/10 11:06:15.285869 [info] Failed to update filter https://adguardteam.github.io/HostlistsRegistry/assets/filter_27.txt: Get "https://adguardteam.github.io/HostlistsRegistry/assets/filter_27.txt": context deadline exceeded (Client.Timeout exceeded while awaiting headers) Apr 10 13:06:15"
-
Domain setup question (redirection)I figured it out. The problem was an extremely slow DNS update. It works now by adding a redirect
-
Domain setup question (redirection)Hello.
This is probably a silly question with a simple answer, but I can't figure it out.
I have a managed Wordpress set up on a bare domain.
https:// something .com.
It works fine.
I also want www. something .com to point to the same site.
That I can't get it to do.
The DNS is set up with two A records pointing to the server. One bare, and one with a wildcard *. something .com.
If I delete the site and put it on a subdomain, it also works fine.
When I try to add a redirect in the Cloudron app setting the app just freezes with the message "Configuring - Waiting for DNS propagation" and stays there for a very long time before crashing.
How do I get a Wordpress site that has both a blank and a www subdomain pointing to it?
-
gencache_init: Failed to create directory: /var/www/.cache/samba - Read-only file systemAfter some digging, I located the issue and managed to fix it. If someone else encounters the problem, here is a description of what was happening and how to fix it.
My Cloudron server is using external storage connected via CIFS. My issue was that I had mounted the external share incorrectly, but I hadn't noticed because it was actually working - just giving a lot of errors in the log, and (I realized today) running slowly.
The INCORRECT way I had set it up was:
- I had the volume added as a Cloudron CIFS volume.
- Then I added that volume on the storage tab in the app settings for Nextcloud on the Cloudron My Apps page.
- (Now comes the mistake) then inside the Nextcloud administrator settings, I attached the storage as CIFS with a direct link to the external share. Meaning that the settings I put in Cloudron weren't being used. This resulted in errors.
The correct way of doing it is as follows:
- Add the external storage as a volume in Cloudron.
- Add the share as read/write on the "storage" part of the app settings.
- Inside the Nextcloud administrator settings, add the storage on the external storage tab BUT add it as local storage with the path "/media/{ShareName}"
Nextcloud will treat the storage as something local on the server and not use its own CIFS (or SFTP) implementation which apparently isn't very good.
This seems to have solved the issue. I have no more errors in the log, and the file synchronization has gotten a lot faster now that Nextcloud doesn't have to call the CIFS share 7 times per file as it was doing in the incorrect configuration.
I hope this helps someone in the future
-
gencache_init: Failed to create directory: /var/www/.cache/samba - Read-only file systemHello.
I am getting this error in the Nextcloud logs:
"gencache_init: Failed to create directory: /var/www/.cache/samba - Read-only file system"
As far as I can see on Google, it is an error related to permissions on that particular folder. But I am uncertain how to fix this in Cloudron.
Hoping someone here can help