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
Upgrader does not delete files that were removed in a newer Piwik version #11446
Comments
File to delete: libs/jquery/jquery.smartbanner.js i have this too after update. |
Same here. Before upgrading to 3.0.2 I had this kind of report and I manually deleted these extra files. After copying the files from 3.0.2, several tens of extra files reappeared. I manually deleted them again. Other than that, the application seems to work fine. |
I'm going to take a wild guess that this is a variation on #11107, but there is no message to the user indicating what the error was. I was only able to discover the file integrity issue by running a System Check. With no error report, the user is left to wonder if something is wrong with their installation even though everything seems fine. |
+1, we also experienced this. So there must be a bug in our updater where it should have deleted those files automatically yet it didn't. |
I´m running a Debian GNU/Linux 8-Server with Piwik 3.0.2. I´m using following repos: deb https://debian.piwik.org/ piwik main After the upgrade to 3.0.2 (from 3.0.1) the systemcheck shows me following message: _Die nachfolgenden Fehler könnten durch einen teilweise oder gänzlich fehlgeschlagenen Upload der Piwik-Dateien entstanden sein. Fehlende Datei: /usr/share/piwik//etc/apt/trusted.gpg.d/piwik-keyring-automatic.gpg_ In english it should read like: _The following errors could have been caused by a partial or completely unsuccessful upload of the Piwik files. Missing file: /usr/share/piwik//etc/apt/trusted.gpg.d/piwik-keyring-automatic.gpg_ The file "/etc/apt/trusted.gpg.d/piwik-keyring-automatic.gpg" exists on my server... When running php /usr/share/piwik/console diagnostics:run i get that output: _INFO [2017-03-15 09:16:58] Unable to test if mod_pagespeed is enabled: the request to http://unknown/usr/share/piwik/console?module=Installation&action=getEmptyPageForSystemCheck failed Directories were found in your Piwik but we didn't expect them. But again no information which files were found... |
Moving out of 3.0.3 for now as we likely don't have time for 3.0.3 cc @sgiehl |
Today, I updated Piwik, as installed via Softaculous.
I had Piwik version 3.0.1, and upgraded to version 3.0.2
I went from this page: https://example.com/piwik/index.php?module=CoreUpdater&action=newVersionAvailable, and chose an automated update, which took me to this page: https://example.com/piwik/index.php?module=CoreUpdater&action=oneClickUpdate,
which reported:
However, I appear to now be running 3.0.2 just fine. I ran the System Check and the only thing I see is another file integrity check issue which may have been pre-existing:
I'm not sure what the error message was about, but at the very least, this is a usability problem.
The text was updated successfully, but these errors were encountered: