Comments (8)
hi @jnachtigall
Thank you for the suggestion. Though, I slightly disagree on this, but allow me to explain.
Updating the database may not be a good idea if the sysadmin is not fully aware of all the risks.
- High CPU usage if the database is big and potential side effects on database cluster
- Possible corruption (happened to me) and no way to revert back
Though, I do see your point and the needs behind your ticket. I will try to implement a package setting that will allow you to do this automatically if the package setting is enabled. I'll keep you updated as to what I'll be implementing.
from matomo-package.
I will try to implement a package setting that will allow you to do this automatically if the package setting is enabled. I'll keep you updated as to what I'll be implementing.
👍 Good idea
from matomo-package.
One way to handle this is to use a debconf question such as:
Upgrade Piwik database automatically? yes/no
Sysadmins who prefer to upgrade their database manually will have their 'no' choice saved in the debconf database for future upgrades. See http://www.fifi.org/doc/debconf-doc/tutorial.html
from matomo-package.
Any news on this? I again had a piwik downtime due to the recent package upgrade
from matomo-package.
For the upcoming 2.13 (security fix) there will be a db upgrade again. Hope you can fix this issue until then...
from matomo-package.
@jnachtigall No, I haven't forgotten you, at all. I've already prepared 2.13.0, but I need to test it to ensure it's all good. When this is done, I'll then implement that feature (I need it to).
It will come as a debconf "pin" that will allow the automatic db upgrade to happen.
from matomo-package.
@jnachtigall I finished the implementation. Let me know how it goes for you please.
Please note that you need to enable the automatic upgrade the first time either through the command line or apt-get. (piwik/automatic-upgrade
=> true
)
from matomo-package.
@aureq Works great, thank you 👍
from matomo-package.
Related Issues (20)
- Smaller release file (remove not needed files from release) HOT 2
- Do not prepend autoloader HOT 1
- Package for 3.15.5 HOT 3
- On upgrade "The Matomo JavaScript tracker file "/matomo.js" & "/piwik.js" is not writable" HOT 2
- No debian package since 3.13.6 HOT 17
- Automate the packaging of Matomo beta/rc/stable releases via Github actions HOT 6
- Remove the WAG build from the script
- Releasing Matomo 4.0 for Debian HOT 13
- Don't include JS test files in the release
- Exclude phpcs.xml from release package
- Is the Matomo Debian package dead? HOT 72
- Working on debian package generation: .eslintrc ? HOT 1
- Working on debian package generation: autoload.php HOT 1
- Manifest / Integrity check has issues with symlinks HOT 2
- Changes in website format prevents pulling changelog when generating Debian package HOT 8
- Matomo 3.8.1 update? HOT 9
- libmaxminddb recommendations HOT 22
- matomo.php and matomo.js are missing from debian package HOT 1
- Security / Policy breach /usr/share/matomo/misc/user HOT 6
- Debian stretch (Matomo will stop supporting PHP 7.0 in the next major version.) HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matomo-package.