Comments (21)
How to solve and fix this problem please, i need start the server.
from acme-dns.
Remove the file /var/lib/acme-dns/acme-dns.db, and start again, and work perfect. Thank.
from acme-dns.
from acme-dns.
Yes, but driver is sqlite3 in debian system.
from acme-dns.
from acme-dns.
from acme-dns.
Are you sure that the file /etc/acme-dns/config.cfg
can be read by the user that acme-dns is started with? There is an outstanding PR that makes the error messages more elaborate, but the error you are seeing can also indicate the acme-dns wasn't able to read the configuration file.
from acme-dns.
If you are building acme-dns from sources, you could try using branch err-handling-suppl
which has changes that give some more information about issues in reading the configuration file.
from acme-dns.
The current master
as well as the new release v0.5 have vastly improved error messages. You could retry with either of those to figure out what's the underlying issue.
from acme-dns.
Yes i sure the file config is read by user acme-dns;
root@certbot:/# ls -l /etc/acme-dns total 6 -rw-r--r-- 1 acme-dns acme-dns 2167 Aug 9 17:37 config.cfg
root@certbot:/# ls -ld /etc/acme-dns drwxr-xr-x 2 acme-dns acme-dns 3 Aug 13 11:47 /etc/acme-dns
from acme-dns.
If you are not able to figure out the underlying issue by trying to run the latest version (the Docker Hub container image is also updated), could you please pastebin the contents of your config.cfg
. GitHub formatting often breaks because of the config syntax.
from acme-dns.
How to update, replaced all fille??
from acme-dns.
I would delete the files you have installed now, and start the installation from the beginning.
from acme-dns.
ohh bad.
from acme-dns.
Update acme-dns this the new error in release v0.5
root@certbot:/# acme-dns INFO[0000] Using config file file=/etc/acme-dns/config.cfg ERRO[0000] Encountered an error while trying to read configuration file: Near line 45 (last key parsed 'api'): expected a top-level item to end with a newline, comment, or EOF, but got 't' instead
from acme-dns.
Yeah, there seems to be a syntax error in your configuration file. Please double verify.
from acme-dns.
corrected in api the value of the tls change let`s encrypt by cert, but now I get a new unknown error.
INFO[0000] Using config file file=/etc/acme-dns/config.cfg ERRO[0000] Encountered an error while trying to read configuration file: toml: cannot load TOML value of type string into a Go boolean
from acme-dns.
Check the default config.cfg
against your edited configuration, and look for quote marks ( "
). Boolean values should not be quoted.
from acme-dns.
Yes already worked, it had a double quote in a Boolean value.
but this error when trying read the datebase.
ERRO[0000] Could not open database [file is not a database]
How to create the database and what is your structure?
from acme-dns.
Another problem, it works in the terminal with the acme-dns command executing directly, but it does not start the service with systemd.
from acme-dns.
it works in the terminal with the acme-dns command executing directly, but it does not start the service with systemd
I don't have a direct answer to that one, as I don't know what the problem might be. Some things you could check:
- If the systemd service specifies a unprivileged user for running acme-dns, check that the configuration path is readable by that user, and the database is writable by the said user.
- acme-dns exists on a correct path
- If acme-dns is configured to serve on default (privileged) ports, make sure it has the privileges to do so.
from acme-dns.
Related Issues (20)
- error message every 10 minutes about managing the server certificate HOT 9
- Register endpoint with configurable subdomain HOT 3
- CAA issues when higher level domain has a CAA HOT 2
- Add `server_url` to JSON storage file HOT 1
- nxdomain responses include huge timeouts HOT 2
- Is it possible to add support for Dynamic DNS subdomains
- Add support for PROXY protocol
- Please accept the PR for making registration endpoint configurable HOT 4
- Not able to generate cert for itself, no TXT record created
- Issue with Certificate Renewal from Let's Encrypt
- Build failed, error in sqlite3 dependency
- Is this project still active? HOT 4
- Acme-Dns Server Failing HOT 1
- TXT record returns two values - doesn't seem that should be possible HOT 4
- How do you bootstrap when you have a split-DNS? HOT 5
- Should /health return a result? HOT 1
- Unable to obtain the corresponding TXT record through _acme-challenge.example.tld HOT 3
- Unable to use on ARM64
- [Question] What is the `https://github.com/acme-dns/acme-dns` repo for? HOT 1
- acme-dns.io timing out for some of the sub domains HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acme-dns.