GithubHelp home page GithubHelp logo

Comments (21)

LinuxCuba avatar LinuxCuba commented on September 25, 2024 1

How to solve and fix this problem please, i need start the server.

from acme-dns.

LinuxCuba avatar LinuxCuba commented on September 25, 2024 1

Remove the file /var/lib/acme-dns/acme-dns.db, and start again, and work perfect. Thank.

from acme-dns.

joohoi avatar joohoi commented on September 25, 2024

from acme-dns.

LinuxCuba avatar LinuxCuba commented on September 25, 2024

Yes, but driver is sqlite3 in debian system.

from acme-dns.

joohoi avatar joohoi commented on September 25, 2024

from acme-dns.

joohoi avatar joohoi commented on September 25, 2024

from acme-dns.

joohoi avatar joohoi commented on September 25, 2024

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.

joohoi avatar joohoi commented on September 25, 2024

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.

joohoi avatar joohoi commented on September 25, 2024

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.

LinuxCuba avatar LinuxCuba commented on September 25, 2024

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.

joohoi avatar joohoi commented on September 25, 2024

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.

LinuxCuba avatar LinuxCuba commented on September 25, 2024

How to update, replaced all fille??

from acme-dns.

joohoi avatar joohoi commented on September 25, 2024

I would delete the files you have installed now, and start the installation from the beginning.

from acme-dns.

LinuxCuba avatar LinuxCuba commented on September 25, 2024

ohh bad.

from acme-dns.

LinuxCuba avatar LinuxCuba commented on September 25, 2024

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.

joohoi avatar joohoi commented on September 25, 2024

Yeah, there seems to be a syntax error in your configuration file. Please double verify.

from acme-dns.

LinuxCuba avatar LinuxCuba commented on September 25, 2024

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.

joohoi avatar joohoi commented on September 25, 2024

Check the default config.cfg against your edited configuration, and look for quote marks ( " ). Boolean values should not be quoted.

from acme-dns.

LinuxCuba avatar LinuxCuba commented on September 25, 2024

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.

LinuxCuba avatar LinuxCuba commented on September 25, 2024

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.

joohoi avatar joohoi commented on September 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.