Cloudflare DDNS Docker Error reading config.json

Hi,
Step 1: Identify Your System’s User ID

To get started, please identify your system’s user ID. I’ve upgraded my system since installing TrueNAS Core, so you may need to adjust accordingly.

To find your user ID, navigate to the Shell from the menu on your left under “System” and select option 7 if prompted. Alternatively, simply type “id” in the terminal, which will display your current user ID (uid, gid, groups, etc.)

Verify Docker User Access

Next, create a new folder for the DDNS docker and JSON file. To ensure that the Docker user has access to this folder and file, I recommend verifying this by recreating the folder if necessary. You can do this by selecting the “APPS” type option when creating the dataset called “ddns”.

Review Docker Instructions

Before proceeding, please review the instructions for Docker in Electric Eel [ Docker Apps with Electric Eel - Apps and Virtualization - TrueNAS Community Forums]. This will help you understand the correct file structure for your Docker and Stacks setup.

Create JSON File from Scratch

When creating the JSON file, I recommend using “nano” on TrueNAS Core instead of copying it from another computer. If you do need to use a pre-existing JSON file, make sure its owner matches the Docker user on your system, as copying files caused me access issues.

Be Cautious with API and Token

When working with Cloudflare, be careful with the API keys and tokens.

Alternative: Use TrueNAS’s Built-in “ddns-updater” App

If you prefer a more straightforward approach, there is an official TrueNAS app called “ddns-updater” that works well. I used this while trying to install the DDNS directly in Docker.

I hope these steps help you successfully set up your DDNS on TrueNAS