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
Automatic Configuration fails when installing on Debian 8.2 Virtual Server #44
Comments
+1 |
1 similar comment
+1 |
@AnonymusChaotic it looks like |
+1 on a dedicated server running Debian Squeezy 8.4, Apache 2.4.10 with a MySQL server with a password-protected root account. Ended up installing manually. |
+1. My server is running Ubuntu 14.04 and Nginx 1.11.1 with a MySQL server w/ password-protected root account. |
+1, won't install on Debian 8 Jessie with Apache2 and MariaDB-server (obviously password protected root account).
|
+1 |
I get this error too. |
I'm not 100% sure, but I think Piwik is expecting a passwordless root account in MySQL. After clearing the password, the website installation wizard appeared and I walked through about 6 steps to complete the install. I had also removed the config.ini.php file before doing that. |
+1 - same error on Debian Jessie 8.8
|
Same for Debian 9.1 Two years old bug. And no one seems really interested... I suppose the package is hopelessly broken. |
So, this issue is in 2 parts: 1 - Piwik open-source doesn't support full automated install. If you have such a need, then it's best to contact InnoCraft who should be able to help you. https://www.innocraft.cloud/ 2 - Regarding some of the error message, I published a fixed which is going to be pushed in the next hour with piwik 3.1.0 If As a side note, if a bug is bugging you then you have 2 options. You could sponsor (bitcoin is great for that) the open-source community to prioritize the bug or propose a patch if you feel like doing a bit of hacking (in the open-source spirit of the word) |
To be honest, I don't mind. If people love to keep their product, no matter paid or free, in a bad state, who I am to interfere? It's their product, their choice. |
I understand @iigorkarpov but the comment was directed to people willing to help and contribute in the community. Closing this bug since the debian/ubuntu package 3.1.0-3 should be addressing the issue along with a potential race condition. |
No, this issue should not have been closed. Clean Debian jessie 8.8, installing from the repo:-
|
Hi @dg01d From the look of it, the post installation script tells you that neither On the first item, it's up to you to install a web server. If you are using something different than On the second item, the full automated installation that creates the database and Piwik configuration file ( Peace and Love |
Apache2 is installed and running, that's not the issue. The issue is that the installation script has hardcoded the location |
@dg01d Thank you for providing the details. I believe the Thank you. |
PR submitted |
Hello!
(Attention, the Problem occured 2Weeks ago. I had posted it to http://forum.piwik.org/t/bug-debian-install-missing-config-ini-php-not-found-apache-and-database-error/17291 at first.)
When Installing Piwik on Debian Server (minimal, 8.2) there were several mistakes in automatic configuration:
I wass following the installation instructions at http://debian.piwik.org/
here a piece of my log immediately after selecting that I want to enable automatic database upgrade:
`Lighttpd not installed, skipping
APACHE IS INSTALLED
Apache2 not installed, skipping
THE CONFIGURATION FILE IS MISSING
The configuration file {/usr/share/piwik/config/config.ini.php} has not been found or could not be read.
If the file exists, please check that /usr/share/piwik/config/config.ini.php is readable by the user 'root'.
[Zend_Db_Adapter_Exception]
SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
END RED
THIS AREA IS RED
[PDOException]
SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO)
END RED
gREEN:
core:update [--yes]
dpkg: Fehler beim Bearbeiten des Paketes piwik (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 255 zurück
Fehler traten auf beim Bearbeiten von:
piwik
E: Sub-process /usr/bin/dpkg returned an error code (1)
`
So at first piwik couldnt find apache2, although it is installed, then a configuration file was missing, but this should be created during installation and at least there was a database error.
Maybe there should be added something like it is when installing PHPMYADMIN, there it asks all the necessary things like Webserver to be used (I use Apache), password of the database, ...
Of course piwik cant access my database without using a password.
The problem with the missing config.ini.php could be solved by copying the global.ini.php. But I don't know if it is correct
A Few Days later I had a big Problem with all my PHP - Mysql programs but I don't know if its the fault of Piwik.
Yours,
Harald
The text was updated successfully, but these errors were encountered: