[GH-ISSUE #430] Docker - Self Hosted - Error: Format string - Image 2nd Sept 2020 #320

Closed
opened 2026-02-25 23:42:01 +03:00 by kerem · 3 comments
Owner

Originally created by @Rustymage on GitHub (Sep 24, 2020).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/430

Hi All,

I'm having issues with a self hosted version of the software.

Details of the version I'm having issues with and the log I have showing what I hope is the reason...

ID | sha256:75eff274f174951708cb86a4c5e4fbe75e0c454a4a968b6b44b5506171f039ce 
Size | 631.1 MB
Created | 2020-09-02 19:32:02
Build | Docker 19.03.8 on linux, amd64

I'm not getting this issue with the previous build, dated 11th April 2020.

/healthchecks/hc/settings.py:226: UserWarning: local_settings.py not found, using defaults

  warnings.warn("local_settings.py not found, using defaults")

Compressing... done

Compressed 20 block(s) from 104 template(s) for 0 context(s).

/healthchecks/hc/settings.py:226: UserWarning: local_settings.py not found, using defaults

  warnings.warn("local_settings.py not found, using defaults")



You have requested to collect static files at the destination

location as specified in your settings:



    /healthchecks/static-collected



This will overwrite existing files!

Are you sure you want to do this?



Type 'yes' to continue, or 'no' to cancel: 

0 static files copied to '/healthchecks/static-collected', 314 unmodified.

Correcting config file permissions ...

Migrating database ...

/healthchecks/hc/settings.py:226: UserWarning: local_settings.py not found, using defaults

  warnings.warn("local_settings.py not found, using defaults")

Operations to perform:

  Apply all migrations: accounts, admin, api, auth, contenttypes, payments, sessions

Running migrations:

  No migrations to apply.

Error: Format string '/scripts/prunepings.sh %(ENV_CONTAINER_PRUNE_INTERVAL)s' for 'program:prunepings.command' contains names ('ENV_CONTAINER_PRUNE_INTERVAL') which cannot be expanded. Available names: ENV_DATA_DIR, ENV_DEBIAN_FRONTEND, ENV_DEBUG, ENV_HC_EMAIL_HOST, ENV_HC_EMAIL_HOST_PASSWORD, ENV_HC_EMAIL_HOST_USER, ENV_HC_EMAIL_PORT, ENV_HC_EMAIL_USE_TLS, ENV_HC_REGISTRATION_OPEN, ENV_HC_SITE_NAME, ENV_HC_SITE_ROOT, ENV_HEALTHCHECKS_GROUP, ENV_HEALTHCHECKS_USER, ENV_HEALTHCHECKS_VERSION, ENV_HOME, ENV_HOSTNAME, ENV_OLDPWD, ENV_PATH, ENV_PWD, ENV_SECRET_KEY, ENV_SHLVL, ENV_TERM, ENV_TZ, group_name, here, host_node_name, process_num, program_name in section 'program:prunepings' (file: '/etc/supervisor/supervisord.conf')

For help, use /usr/bin/supervisord -h

The image just circles around the same loop.

Any help appreciated.

Thanks in advance.

Rusty.

Originally created by @Rustymage on GitHub (Sep 24, 2020). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/430 Hi All, I'm having issues with a self hosted version of the software. Details of the version I'm having issues with and the log I have showing what I hope is the reason... ID | sha256:75eff274f174951708cb86a4c5e4fbe75e0c454a4a968b6b44b5506171f039ce  Size | 631.1 MB Created | 2020-09-02 19:32:02 Build | Docker 19.03.8 on linux, amd64 I'm not getting this issue with the previous build, dated 11th April 2020. ``` /healthchecks/hc/settings.py:226: UserWarning: local_settings.py not found, using defaults warnings.warn("local_settings.py not found, using defaults") Compressing... done Compressed 20 block(s) from 104 template(s) for 0 context(s). /healthchecks/hc/settings.py:226: UserWarning: local_settings.py not found, using defaults warnings.warn("local_settings.py not found, using defaults") You have requested to collect static files at the destination location as specified in your settings: /healthchecks/static-collected This will overwrite existing files! Are you sure you want to do this? Type 'yes' to continue, or 'no' to cancel: 0 static files copied to '/healthchecks/static-collected', 314 unmodified. Correcting config file permissions ... Migrating database ... /healthchecks/hc/settings.py:226: UserWarning: local_settings.py not found, using defaults warnings.warn("local_settings.py not found, using defaults") Operations to perform: Apply all migrations: accounts, admin, api, auth, contenttypes, payments, sessions Running migrations: No migrations to apply. Error: Format string '/scripts/prunepings.sh %(ENV_CONTAINER_PRUNE_INTERVAL)s' for 'program:prunepings.command' contains names ('ENV_CONTAINER_PRUNE_INTERVAL') which cannot be expanded. Available names: ENV_DATA_DIR, ENV_DEBIAN_FRONTEND, ENV_DEBUG, ENV_HC_EMAIL_HOST, ENV_HC_EMAIL_HOST_PASSWORD, ENV_HC_EMAIL_HOST_USER, ENV_HC_EMAIL_PORT, ENV_HC_EMAIL_USE_TLS, ENV_HC_REGISTRATION_OPEN, ENV_HC_SITE_NAME, ENV_HC_SITE_ROOT, ENV_HEALTHCHECKS_GROUP, ENV_HEALTHCHECKS_USER, ENV_HEALTHCHECKS_VERSION, ENV_HOME, ENV_HOSTNAME, ENV_OLDPWD, ENV_PATH, ENV_PWD, ENV_SECRET_KEY, ENV_SHLVL, ENV_TERM, ENV_TZ, group_name, here, host_node_name, process_num, program_name in section 'program:prunepings' (file: '/etc/supervisor/supervisord.conf') For help, use /usr/bin/supervisord -h ``` The image just circles around the same loop. Any help appreciated. Thanks in advance. Rusty.
kerem closed this issue 2026-02-25 23:42:01 +03:00
Author
Owner

@Rustymage commented on GitHub (Oct 4, 2020):

Still facing this issue with any updates.

<!-- gh-comment-id:703275179 --> @Rustymage commented on GitHub (Oct 4, 2020): Still facing this issue with any updates.
Author
Owner

@cuu508 commented on GitHub (Oct 4, 2020):

Hello @Rustymage, I don't recognize ENV_CONTAINER_PRUNE_INTERVAL, it isn't anywhere in this repository.

If you are using a Dockerfile from https://github.com/galexrt/docker-healthchecks, then the correct place to file this issue would be there.

<!-- gh-comment-id:703281292 --> @cuu508 commented on GitHub (Oct 4, 2020): Hello @Rustymage, I don't recognize `ENV_CONTAINER_PRUNE_INTERVAL`, it isn't anywhere in this repository. If you are using a Dockerfile from https://github.com/galexrt/docker-healthchecks, then the correct place to file this issue would be there.
Author
Owner

@Rustymage commented on GitHub (Oct 4, 2020):

Good spot!

<!-- gh-comment-id:703281496 --> @Rustymage commented on GitHub (Oct 4, 2020): Good spot!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#320
No description provided.