Giter VIP home page Giter VIP logo

Comments (2)

Hecke29 avatar Hecke29 commented on July 22, 2024

Please be sure the config.php on the machine contains definitions of the mentioned constants (e.g. HOST and DOMAIN).
There has been a refactoring a few days ago where a config.dist.php was introduced and the config.php was added to .gitignore - maybe this affects you?

In doubt please post the contents of the config.php removing sensible data.

Edit:

However, when I start the process by myself in a shell, it runs without any problem.

Seems to be an issue with relative loading paths. Try changing the directory to /opt/dynamic-dns-netcup-api/******/ before running update.php. Thus

*/5 * * * * root cd /opt/dynamic-dns-netcup-api/******/ && /usr/bin/php update.php  > /var/log/netcup.log 2>&1

could do the trick.

from dynamic-dns-netcup-api.

ornago avatar ornago commented on July 22, 2024

Thanks for your comment and the "trick" to solve my problem fast.
My installation of the script was from 2019 and worked normally till the beginning of last week. Did the update with "git pull" yesterday, but it didn't helped anyway.

My config.php is filled with all the information needed.

Changing the path before starting really helped to get it working again, thank you very much.
Gonna close it but please be aware of the PHP Warning,

from dynamic-dns-netcup-api.

Related Issues (17)

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.