nextcloud / nextcloud/nextcloudpi
Can't set static IP with NCP 1.55.1
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 2.9k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
Start to build a new install of NCP but can't set static IP for it from the NCP panel. The messages are:
[ nc-static-IP ] (Thu Sep 19 18:16:44 UTC 2024)
Failed to restart dhcpcd.service: Unit dhcpcd.service not found.
/usr/local/bin/ncp/NETWORKING/nc-static-IP.sh: line 86: ifdown: command not found
/usr/local/bin/ncp/NETWORKING/nc-static-IP.sh: line 87: ifup: command not found
System config value trusted_domains => 1 set to string 192.168.1.20
warning: No domain found. Defaulting to 'xyz12345'
System config value trusted_domains => 3 set to string xyz12345
System config value overwrite.cli.url set to string https://xyz12345/
System config value trusted_proxies => 11 set to string 127.0.0.1
System config value trusted_proxies => 12 set to string ::1
Setup notify_push (attempt 1/5)
✓ redis is configured
✓ push server is receiving redis messages
✓ push server can load mount info from database
✓ push server can connect to the Nextcloud server
✓ push server is a trusted proxy
✓ push server is running the same version as the app configuration saved
Static IP set to `192.168.1.20
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with /usr/local/bin/ncp/NETWORKING/nc-static-IP.sh, especially lines 86-87, and reproduce setting a static IP from the NCP panel on a new install. Investigate the missing dhcpcd.service, ifdown, and ifup reported in the log; done means the static IP is configured without those failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, shell
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100