How to delete piwik from my website

Hello all,

While I am sure that piwik is an excellent solution for many applications
it is too powerful for my simple website.
So sometime ago I decided to delete it.
That is when my problems began.
For some reason the files do not belong to the user
on my web server but to another (root i suspect).
After much experimentation with my limited knowlege of php and posts on this forum
most of it got deleted.
However there is still a folder on my public_html calles piwik,
which i am unable to delete despite an exchange with the authors of the package.
Of course my web host provider could delete it with with
superuser privileges but they have better things to do.
After some years it really is an irritation.

Please see the faq: Installation - Analytics Platform - Matomo

Folder piwik/ deleted!

i think that you wrote this script for me a long time ago.
thank you for that. i have just run it again.

nope

empty /piwik folder is still there

i think that i ran this script and variations of it a long time ago.
while all the contents of /piwik have been removed
i am still unable to remove empty folder /piwik.

it just iritates me that i cannot delete empty folder piwik
so from time to time over the years i give it a bit more attention
but the problem remains the same.

OK, try removing the @ in front of rmdir

then run the script again, there should be an error displayed that explains why hte directory cant be deleted?

the error message was:-

Folder piwik/ deleted!

only the empty folder was still there.

I thank you for your suggestion to remove the @ in front of rmdir.

I am at an internet cafe and do not wish to log into my web server at the moment
(fear of a keylogger)
but when i am at my computer i will try this
only i think that i tried this at my last attempt a year ago
and things remained the same.

I will keep trying. You never know and like /piwik I am very persistent.

Thank you for your assistance.