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

Widgets broken after upgrade to 3.4.0 #12713

Closed
gjedeer opened this issue Apr 11, 2018 · 3 comments
Closed

Widgets broken after upgrade to 3.4.0 #12713

gjedeer opened this issue Apr 11, 2018 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@gjedeer
Copy link

gjedeer commented Apr 11, 2018

After upgrading the widget AJAX request started returning error 500. The error was:

Unable to write in the cache directory (/var/www/piwik/tmp/templates_c/e9

and it was solved with:

rm -rf /var/www/piwik/tmp/templates_c

Please consider doing it automatically on upgrades to save on troubleshooting time.

@fdellwing
Copy link
Contributor

I don't think it was necessary to delete it. Most likely there was a permission problem aka wrong user:group.

@gjedeer
Copy link
Author

gjedeer commented Apr 11, 2018

There wasn't, I checked and just in case did chmod -R 755 and chown -R. Didn't help.

@tsteur
Copy link
Member

tsteur commented Apr 11, 2018

Looks like the cache directory couldn't be cleared or written to which pretty much has to be some kind of permission problem. Clearing cache directories is done during the update.

@tsteur tsteur closed this as completed Apr 11, 2018
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Apr 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

3 participants