Giter Site home page Giter Site logo

Comments (6)

aureq avatar aureq commented on July 21, 2024

Hi @nicwortel,

This has been fixed. I've also included a logrotate file so system administrator may keep and rotate the logs to their liking. The dependency on logrotate is "Recommended" but not compulsory though.

from matomo-package.

aureq avatar aureq commented on July 21, 2024

This is now available in 2.10.0 for debian/ubuntu. Thanks

from matomo-package.

nicwortel avatar nicwortel commented on July 21, 2024

Hi @aureq,

Thanks for the update! However, have you tested this? In my case (Ubuntu server where I just updated to Piwik 2.10), the logs can not be saved because the user www-data has no write access to the /var/log/piwik directory (owned by root).

Should the ownership of the /var/log/piwik directory be changed to www-data, or should the crontab be executed as root?

I previously ran the crontab as root but since the default cron file that comes with piwik contains 'www-data' as user, I wonder what the preferred solution is.

from matomo-package.

aureq avatar aureq commented on July 21, 2024

@nicwortel You're correct, the folder ownership should be www-data for sure. Feel free to update the permission, I will amend the package tomorrow and will also check the logrotate rule as well.

from matomo-package.

aureq avatar aureq commented on July 21, 2024

Hi @nicwortel I just pushed a new release (2.10.0-2) which addresses permission issue as you reported. Do you mind to have a look please ?

from matomo-package.

aureq avatar aureq commented on July 21, 2024

I just deployed 2.10.0-2 in production and it's fine permission wise.

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.