这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@MorrisJobke
Copy link
Contributor

  • this caused issues during installation if the file is not existent

@michaelshobbs @josegonzalez This fixed an issue with the ArchLinux installation where the installation of the plugins aborted because the VHOST file was not available. Is this file needed or just optional? Because in Line 9 of this file the VHOST is created only if the host name could be resolved by dig.

@MorrisJobke MorrisJobke added this to the v0.5.0 milestone Mar 13, 2016
@MorrisJobke
Copy link
Contributor Author

I added this fix to my 0.4.14 version for ArchLinux to be able to provide a working package.

chown dokku:dokku "$DOKKU_ROOT/HOSTNAME" "$DOKKU_ROOT/VHOST"
chown dokku:dokku "$DOKKU_ROOT/HOSTNAME"

if [[ ! -f "$DOKKU_ROOT/VHOST" ]]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Am I reading this right? chmod this if it's not a file? Can you clarify here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-.- Typo. Should be chown

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And of course not negated.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It just worked, because I added the VHOST before installation - I retested without the VHOST file and then it works now.

@MorrisJobke MorrisJobke force-pushed the fix-non-existent-VHOST branch from 58c5421 to edf8613 Compare March 13, 2016 16:59
* this caused issues during installation if the file is not existent
@MorrisJobke MorrisJobke force-pushed the fix-non-existent-VHOST branch from edf8613 to 01430cd Compare March 13, 2016 17:00
josegonzalez added a commit that referenced this pull request Mar 13, 2016
@josegonzalez josegonzalez merged commit 502d4c9 into master Mar 13, 2016
@MorrisJobke MorrisJobke deleted the fix-non-existent-VHOST branch March 13, 2016 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants