Comments (2)
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.
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)
- "Error while logging in: Exiting." HOT 5
- @A record not set HOT 1
- Wrong IPv6? HOT 1
- Danke! HOT 1
- Question about execution schedule HOT 2
- Set reasonable timeout for API connections HOT 1
- Specify config files on command line HOT 1
- Error while getting DNS Record info: The session id is not in a valid format. HOT 5
- API didn't return a valid IPv4 addres HOT 5
- Retry API errors? HOT 2
- Improve code quality in curl retry logic
- SeeIP changed URL's HOT 2
- query IPv4 directly from Fritzbox if available HOT 1
- error accessing api.ipify.org HOT 1
- Support multiple domains HOT 7
- Add shebang line 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 dynamic-dns-netcup-api.