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

matomo:install main_url is always set to http://example.com #11

Closed
chriscroome opened this issue Jun 25, 2019 · 3 comments
Closed

matomo:install main_url is always set to http://example.com #11

chriscroome opened this issue Jun 25, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@chriscroome
Copy link
Contributor

When doing a Matomo install with the following command:

php console --no-ansi -n matomo:install --db-username=stats --db-pass=XXXXXX --db-host=localhost --db-name=stats --first-site-name='wsh.webarchitects.org.uk' --first-site-url='https://wsh.webarchitects.org.uk' --first-user='webarch' --first-user-email='[email protected]' --first-user-pass='XXXXXX' --force

The main_url for the first site is set to http://example.com despite it being provided on the command line:

MariaDB [stats]> select idsite,name,main_url from site;
+--------+--------------------------+--------------------+
| idsite | name                     | main_url           |
+--------+--------------------------+--------------------+
|      1 | wsh.webarchitects.org.uk | http://example.com |
+--------+--------------------------+--------------------+
1 row in set (0.001 sec)

Is this caused by a mistake of mine? Or is there an issue with the matomo:install command?

@mikkeschiren
Copy link
Contributor

I'm sure it is a misstake of mine - will check it out in the coming days.

@mikkeschiren mikkeschiren added the bug Something isn't working label Jun 25, 2019
@chriscroome
Copy link
Contributor Author

Cheers @mikkeschiren, that is great, I understand that I shouldn't be using this for production use and I'm working around the issue so I'm happy to see it fixed when you have some spare time.

mikkeschiren pushed a commit that referenced this issue Jun 25, 2019
@mikkeschiren
Copy link
Contributor

This should be fixed in the latest release (0.1.0-alpha9)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants