How to clean temporary Plesk files on a Linux server

Follow

Comments

10 comments

  • Avatar
    Marco Marsala

    https://IPADDRESS:8443/repair is 404 not found on all my servers.

    0
    Comment actions Permalink
  • Avatar
    Marco Marsala (Edited )

    This will break Media Uploader (error: "missing temporary dir") in all Wordpress sites on the server using PHP FPM (FastCGI is ok), php.ini unaltered.

    0
    Comment actions Permalink
  • Avatar
    Artyom Baranov

    @Marco Marsala,

    Hi!

    1) Plesk repair kit presents only on Plesk Onyx 17.8. Additionally, please check if your OS uses systemd init system (https://docs.plesk.com/en-US/onyx/administrator-guide/plesk-administration/repair-kit.79310/).

    2) I can suppose that /tmp folder itself was accidentally removed. Please make sure that there is an asterisk in rm -rf /tmp/* when removing the content of /tmp

    0
    Comment actions Permalink
  • Avatar
    Marco Marsala

    I confirm /tmp was not removed. The issue happes with FPM and Wordpress 5.x only.

    0
    Comment actions Permalink
  • Avatar
    Anna Morozyuk

    @Marco Marsala, Hello there!

    I was trying reproducing this issue on a test environments and different WordPress versions, however, have not reproduced. This is a really interesting case, that has a number of variables within it. Thus, we would like for this case to reach Technical Support in order to investigate it deeper. Please create a request according to this article: How to submit request to Plesk Support

    0
    Comment actions Permalink
  • Avatar
    Marnette Federis

    Was there ever a solution for this? I desperately need to clear some space, but I don't want it to impact my Wordpress website. 

    0
    Comment actions Permalink
  • Avatar
    Julian Bonpland Mignaquy

    Hi @Marnette,

    Certain temporary files are not managed by Plesk but by the OS. For that matter, we recommend applying the solution in this article and I also recommend using the following extension https://www.plesk.com/extensions/diskspace-usage-viewer/.

    0
    Comment actions Permalink
  • Avatar
    Maghreb Services SARL

    As documented at the bottom of this article: https://docs.plesk.com/en-US/obsidian/advanced-administration-guide-linux/troubleshooting.68745/ 

    DEB-based systems have a PRODUCT_ROOT_D of /opt/psa not /usr/local/psa.

    Therefore, shouldn't the step 3 of the instructions for Removing tmp files via a command-line interface be changed to:

    rm -rf <PRODUCT_ROOT_D>/PMM/tmp/*
    rm -rf <PRODUCT_ROOT_D>/tmp/*
    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Maghreb Services SARL

    Thank you for the notice. The article will be reviewed.

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Maghreb Services SARL

    The article was reviewed, for Debian/Ubuntu /usr/local/psa is a symlink to /opt/psa. So, the article is applicable for default installations.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request