Skip to content
This repository has been archived by the owner on Feb 28, 2019. It is now read-only.

Adding username/password produces htpasswd: command not found error #1

Closed
timmo001 opened this issue Jun 25, 2018 · 4 comments
Closed

Comments

@timmo001
Copy link
Member

Problem/Motivation

When adding a username/password the logs produce this error:

[cont-init.d] 30-nginx.sh: executing... 
/var/run/s6/etc/cont-init.d/30-nginx.sh: line 36: htpasswd: command not found

Full log:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] 10-postgres: applying... 
[fix-attrs.d] 10-postgres: exited 0.
[fix-attrs.d] 11-octobox: applying... 
[fix-attrs.d] 11-octobox: exited 0.
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing... 
-----------------------------------------------------------
 Hass.io Add-on: Octobox v0.1.0
 Take back control of your GitHub notifications
 From: Community Hass.io Add-ons
 By: Franck Nijhof <[email protected]>
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing... 
Log level is set to INFO
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 02-updates.sh: executing... 
INFO: You are running the latest version of this add-on
[cont-init.d] 02-updates.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing... 
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 20-initdb.sh: executing... 
[cont-init.d] 20-initdb.sh: exited 0.
[cont-init.d] 30-nginx.sh: executing... 
/var/run/s6/etc/cont-init.d/30-nginx.sh: line 36: htpasswd: command not found
[cont-init.d] 30-nginx.sh: exited 127.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing... 
-----------------------------------------------------------
                Oops! Something went wrong.
 
 We are so sorry, but something went terribly wrong when
 starting or running this add-on.
 
 Be sure to check the log above, line by line, for hints.
-----------------------------------------------------------
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] syncing disks.
[s6-finish] sending all processes the TERM signal.

Steps to reproduce

Add a username/password to the add-on config

@addons-assistant
Copy link

👋 Thanks for opening your first issue here! If you're reporting a 🐛 bug, please make sure you include steps to reproduce it. Also, logs, error messages and information about your hardware might be usefull.

@frenck
Copy link
Member

frenck commented Jun 25, 2018

Thanks for reporting @timmo001, this is high priority because of the possible security implication this might have.

@frenck
Copy link
Member

frenck commented Jun 27, 2018

Done and fixed in v0.1.1.

Sorry about this!

@addons-assistant
Copy link

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@addons-assistant addons-assistant bot locked as resolved and limited conversation to collaborators Jul 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants