Skip to content
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

core:update command expects certain directories to be present tmp/ #7459

Closed
mgazdzik opened this issue Mar 17, 2015 · 1 comment
Closed

core:update command expects certain directories to be present tmp/ #7459

mgazdzik opened this issue Mar 17, 2015 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.

Comments

@mgazdzik
Copy link
Contributor

During attempt to run core:update on Piwik 2.11.2 I spoted following issue:

  • try running ./console core:update --piwik-domain=localhost
  • throws following error:

[UnexpectedValueException]
RecursiveDirectoryIterator::__construct(/private/var/www/piwik/tmp/templates_c): failed to open dir: No such file or directory

Even if tmp/ has 777 permissions granted.
I think that Piwik should be more than capable of handling empty tmp/ directory (especially important on production instances, which sometime have tricky permission schema - we need to be able to populate tmp with proper permissions easily if something would go wrong).

Also just note - core:clear-caches also fails if this specific directory is missing.

@mgazdzik mgazdzik added the Bug For errors / faults / flaws / inconsistencies etc. label Mar 17, 2015
@mattab
Copy link
Member

mattab commented Mar 18, 2015

Thanks for the report. This was fixed earlier 71cacb0 - please try again with 2.12.0 beta which includes the fix.

@mattab mattab closed this as completed Mar 18, 2015
@mattab mattab added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Mar 18, 2015
@mattab mattab modified the milestone: Short term Sep 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

No branches or pull requests

2 participants