Ticket #991 (closed Bug: fixed)
Setting up Piwik manually or headless install not supported
| Reported by: | vipsoft | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Piwik 0.5.5 |
| Component: | Core | Keywords: | |
| Cc: | Sensitive: | no |
Description (last modified by vipsoft) (diff)
We provide config/config.ini.sample.php, which implies that a user could copy and configure this manually as config.ini.php.
- if the db user doesn't exist, Piwik reports:
SQLSTATE[28000] [1045] Access denied for user "%s"
(followed by a backtrace)
- if db user exists but not the database, Piwik reports:
SQLSTATE[42000] [1049] Unknown database "%s"
(followed by a backtrace)
- if db user and database exist, but not the tables, Piwik reports:
Critical Error during the update process: Database piwik is empty. You must edit or remove your Piwik configuration file.
- if user bypasses the Installation, things like the anonymous user and default site are not created
Proposal:
- for database user that doesn't exist, provide help
- for missing database or tables, prompt to remove the config file and redirect to installer, using the settings to pre-fill the forms; (we don't want to remove the config file without user confirmation, in case Piwik simply lost its connection to the MySQL server)
Change History
Note: See
TracTickets for help on using
tickets.
