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

Upgrade process and cache folder #12064

Closed
aureq opened this issue Sep 15, 2017 · 3 comments
Closed

Upgrade process and cache folder #12064

aureq opened this issue Sep 15, 2017 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@aureq
Copy link

aureq commented Sep 15, 2017

Hi,

I'm working on publishing the 3.1.0 package into de debian repository and while doing some test, I had an unexpected error related to some random files in /var/lib/piwik/data/tmp/cache/tracker/.

I looked in my production folder to notice a lot of files named like:

-rw-rw-r-- 1 www-data www-data  506678 Sep 15 12:30 eagercache-310-tracker.php
-rw-rw-r-- 1 www-data www-data   77948 Sep 15 12:30 eagercache-310-ui.php
-rw-rw-r-- 1 www-data www-data     832 Sep 15 12:30 piwikcache_1.php
-rw-rw-r-- 1 www-data www-data    1056 Sep 15 12:30 piwikcache_47.php
-rw-rw-r-- 1 www-data www-data    1036 Sep 15 12:30 piwikcache_80.php
-rw-rw-r-- 1 www-data www-data    1020 Sep 15 12:30 piwikcache_88.php
-rw-rw-r-- 1 www-data www-data   12246 Sep 15 12:30 piwikcache_allSiteUrlsPerSite.php
-rw-rw-r-- 1 www-data www-data   12542 Sep 15 12:30 piwikcache_general.php
-rw-rw-r-- 1 www-data www-data  227089 Sep 15 12:30 piwikcache_Translations-en-301efe31e3f07ebdb317f320ec56c28f6b65c973.php
-rw-rw-r-- 1 www-data www-data   35352 Sep 15 12:30 piwikcache_Translations-en-95b445388d012ff658fa9613a1dacfa20ec2c161.php
-rw-rw-r-- 1 www-data www-data  248057 Sep 15 12:30 piwikcache_Translations-fr-301efe31e3f07ebdb317f320ec56c28f6b65c973.php
-rw-rw-r-- 1 www-data www-data   40161 Sep 15 12:30 piwikcache_Translations-fr-95b445388d012ff658fa9613a1dacfa20ec2c161.php
-rwxr-xr-x 1 www-data www-data       0 Jan 30  2017 swap002TJT
-rwxr-xr-x 1 www-data www-data       0 Jan 31  2017 swap006kxi
-rwxr-xr-x 1 www-data www-data       0 Jan 29  2017 swap007hmC
-rwxr-xr-x 1 www-data www-data       0 Jan 29  2017 swap00i8I0
-rwxr-xr-x 1 www-data www-data       0 Jan 31  2017 swap00iCBO
-rwxr-xr-x 1 www-data www-data       0 Jan 31  2017 swap00kiFY
-rwxr-xr-x 1 www-data www-data       0 Jan 31  2017 swap00l4RC
-rwxr-xr-x 1 www-data www-data       0 Feb  2  2017 swap00lYQz
-rwxr-xr-x 1 www-data www-data       0 Jan 31  2017 swap00mPJz
-rwxr-xr-x 1 www-data www-data       0 Jan 29  2017 swap00OmtY
-rwxr-xr-x 1 www-data www-data       0 Jan 29  2017 swap00QNe2
-rwxr-xr-x 1 www-data www-data       0 Jan 29  2017 swap00Smay
-rwxr-xr-x 1 www-data www-data       0 Jan 30  2017 swap00t9KP
-rwxr-xr-x 1 www-data www-data       0 Feb  2  2017 swap00tqst
-rwxr-xr-x 1 www-data www-data       0 Jan 31  2017 swap00uluI
-rwxr-xr-x 1 www-data www-data       0 Feb  2  2017 swap00viHH
-rwxr-xr-x 1 www-data www-data       0 Jan 31  2017 swap00vKOp
-rwxr-xr-x 1 www-data www-data    4096 Jan 30  2017 swap00VZit
-rwxr-xr-x 1 www-data www-data       0 Feb  2  2017 swap00XpE5
-rwxr-xr-x 1 www-data www-data       0 Jan 30  2017 swap00yBaM
-rwxr-xr-x 1 www-data www-data       0 Jan 30  2017 swap00ynIc
-rwxr-xr-x 1 www-data www-data       0 Jan 31  2017 swap014DFc
-rwxr-xr-x 1 www-data www-data       0 Jan 29  2017 swap01613M
-rwxr-xr-x 1 www-data www-data       0 Jan 30  2017 swap018Ib6

Is it safe to empty this folder before doing an upgrade?

@aureq
Copy link
Author

aureq commented Sep 15, 2017

Note: the list of random files is much much longer.

@mattab
Copy link
Member

mattab commented Sep 15, 2017 via email

@aureq
Copy link
Author

aureq commented Sep 15, 2017

@mattab Thanks for confirming.

@aureq aureq closed this as completed Sep 15, 2017
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label Sep 20, 2017
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

2 participants