Deleting piwik/tmp?

Hi

I used ipswith ftp manager to manage file transfers

I have a problem deleting piwik on my linux based server,

I can delete all files except (tmp, cache, templates_c)

Any suggestions?

Regards

Lloyd Sewell

hi,

i think that’s just a problem of file permissions. theses folders were normally created through webserver user so you can’t delete them if ftp user is different then webserver user.

regards

[quote=Boysie @ Aug 14 2009, 01:46 PM]Hi

I used ipswith ftp manager to manage file transfers

I have a problem deleting piwik on my linux based server,

I can delete all files except (tmp, cache, templates_c)

Any suggestions?

Hi

Someone suggested file permission problems - this is not the solution
(I have (4 old versions of piwik) - that I cannot delete - on a linux server - Anyone with any idea except the above - thanks in advance

LS

Regards

Lloyd Sewell[/quote]

“You can´t delete some folders.” Can you delete the files within this folders? Do you get any error message when you try to delete?

I would also suggest a file permission thing, I don´t think that this is a Piwik issue.


[size=8pt]Geldbörsen Herren - my site
[/size]

Those undeletable files have probably been created by PHP (Piwik). If you have SSH access, try deleting the files as root.

Create a php file in the piwik folder containing:

<?php
rmdir('tmp/templates_c');
rmdir('tmp/cache/tracker');
rmdir('tmp/cache');
rmdir('tmp/latest');
rmdir('config');
// etc ...

And point your browser at it.

[quote=vipsoft @ Aug 18 2009, 11:04 PM]Create a php file in the piwik folder containing:

<?php
rmdir('tmp/templates_c');
rmdir('tmp/cache/tracker');
rmdir('tmp/cache');
rmdir('tmp/latest');
rmdir('config');
// etc ...

And point your browser at it.[/quote]

It would be nice to have the option to do this from the UI… having a link

Delete directories created by Piwik

Except… this is presumably coming up after deleting his/her Piwik installation… style_emoticons/<#EMO_DIR#>/wink.gif

Many thanks for the info

LS

[quote=vipsoft @ Aug 18 2009, 11:04 PM]Create a php file in the piwik folder containing:

<?php
rmdir('tmp/templates_c');
rmdir('tmp/cache/tracker');
rmdir('tmp/cache');
rmdir('tmp/latest');
rmdir('config');
// etc ...

And point your browser at it.[/quote]

[quote=Boysie @ Sep 5 2009, 12:52 PM]I have deleted the files using my cpanel

Many thanks for all the info

LS[/quote]

Is there already any solution for this problem? How can I delete the cache from within piwik 1.5?

In case anyone is still interested in this, I created a plugin that allows for the deletion of the /tmp cache. It can be found here http://dev.piwik.org/trac/ticket/3835