dappnode / DAppNode

General repository of the project dappnode
GNU General Public License v3.0
581 stars 99 forks source link

System Packages: IPFS - Stuck on restarting due to invalid REPROVIDER_INTERVAL value. #631

Open 0xricas opened 1 month ago

0xricas commented 1 month ago

Describe the bug When the "h" character is not provided in the "REPROVIDER_INTERVAL" field for the config values, the IPFS package continually attempts to restart, causing it's unavailability.

To Reproduce

  1. Go to Packages -> System Packages -> IPFS -> Config
  2. Change "REPROVIDER_INTERVAL" to a integer only (eg: "12" instead of default value "12h")
  3. Observe results.

Expected behavior Either error message explaining invalid input, or automatic formatting to "h" at the end

Screenshots image

DAppNode version:

Core DAppNode Packages versions

bind.dnp.dappnode.eth: 0.2.11 core.dnp.dappnode.eth: 0.2.96 dappmanager.dnp.dappnode.eth: 0.2.90, commit: df351d59 https.dnp.dappnode.eth: 0.2.2 ipfs.dnp.dappnode.eth: 0.2.23 wifi.dnp.dappnode.eth: 0.2.9 wireguard.dnp.dappnode.eth: 0.1.3

System info

dockerComposeVersion: 2.29.1 dockerServerVersion: 27.1.1 dockerCliVersion: 27.1.1 os: ubuntu versionCodename: noble architecture: amd64 kernel: 6.8.0-38-generic Disk usage: 10%