Giter Site home page Giter Site logo

Comments (8)

aureq avatar aureq commented on July 2, 2024

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.

jnachtigall avatar jnachtigall commented on July 2, 2024

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.

danielhjames avatar danielhjames commented on July 2, 2024

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.

jnachtigall avatar jnachtigall commented on July 2, 2024

Any news on this? I again had a piwik downtime due to the recent package upgrade

from matomo-package.

jnachtigall avatar jnachtigall commented on July 2, 2024

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.

aureq avatar aureq commented on July 2, 2024

@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.

aureq avatar aureq commented on July 2, 2024

@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.

jnachtigall avatar jnachtigall commented on July 2, 2024

@aureq Works great, thank you 👍

from matomo-package.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.