Solved Plugins doesnt work for some reason

Discussion in 'Plugin Help' started by Khaled, Jun 6, 2018.

  1. Khaled

    Khaled Slime

    Messages:
    81
    GitHub:
    xXKHaLeD098Xx
    Here is the error:
    Code:
    Server thread/CRITICAL ErrorException: "include(phar:///plugins/Sheep.phar/src/Sheep/SheepPlugin.php): failed to open stream: phar error: Cannot open temporary file for decompressing phar archive "/plugins/Sheep.phar" file "src/Sheep/SheepPlugin.php"" (EXCEPTION) in "vendor/pocketmine/spl/BaseClassLoader" at line 126
     
  2. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,398
    GitHub:
    HimbeersaftLP
    Do other plugins load fine?
     
  3. Khaled

    Khaled Slime

    Messages:
    81
    GitHub:
    xXKHaLeD098Xx
    Nope, all plugins are like that
     
  4. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    Does your system tmp folder exist, and is it configured with the correct ownership and permissions? If not or if you're unsure what that all means... Take a look at this article which explains how the tmp folder should be configured, and how to recreate it if it was deleted :

    https://www.tecmint.com/restore-deleted-tmp-directory-in-linux/

    If that still means nothing to you... Please post the output of
    Code:
    ls -ld /tmp
     
  5. Khaled

    Khaled Slime

    Messages:
    81
    GitHub:
    xXKHaLeD098Xx
    the output of ls -ld /tmp is:
    Code:
    [[email protected] ~]# ls -ld /tmp
    drwxr-xr-x 45 root root 8192 Jun  6 14:17 /tmp
     
  6. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    You should read up on Linux groups and permissions. This means that only root has write permissions to the folder. Try running
    Code:
    sudo chmod 1777 /tmp
    .
     
    EdwardHamHam likes this.
  7. Khaled

    Khaled Slime

    Messages:
    81
    GitHub:
    xXKHaLeD098Xx
    thank you solved
     
  8. Awzaw

    Awzaw Zombie Pigman Poggit Admin

    Messages:
    726
    GitHub:
    awzaw
    Also I hope you don't always login as root... I know it's tempting, but it's a very bad idea. On Linux you should only ever have permissions for what you need to do, so you should use a normal user account for everything you do in your home folder, and use sudo to elevate to root only when you need to.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.