Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Initialize a Base_URL #10

Open
ragaar opened this issue Nov 7, 2017 · 1 comment
Open

Unable to Initialize a Base_URL #10

ragaar opened this issue Nov 7, 2017 · 1 comment

Comments

@ragaar
Copy link

ragaar commented Nov 7, 2017

It appeared that configuring config.php.default would be the easiest approach to pass in a $config['base_url'] property to Observium.

In order to push config.php.default the whole /opt/observium directory needs to be populated. Which looked to be a simple wget. Unfortunately, with Observium CE 17.9.8859 this is no longer possible.

# php includes/update/update.php[1]

WARNING. Direct call to this script is no longer supported, please use './discovery.php -u' from main observium directory.

Without this execution, the database cannot initialize the expected schema.

Running cd /opt/observium/ && ./discovery.php -u appears to work as expected.

REFERENCE:

  1. php includes/update/update.php
@ragaar
Copy link
Author

ragaar commented Nov 7, 2017

I submitted a PR[1] to resolve this immediate issue. Implementing a way to pass in a 'base_url' probably merits further discussion.

REFERENCE:

  1. Direct call to this script is no longer supported #11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant