Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Inc. > News and Announcements > Topic : WordPress MU in Softaculous



Normal Mode | Print  

WordPress MU in Softaculous
andser
Group: Member
Post Group: Newbie
Posts: 3
Status:
I'm using DirectAdmin as the CP.
There are threads in this forum that some scripts can not be updated/upgraded.

Lets look a bit closer in to the chain of the events -
Scenario 1:
  1. Cron job is being fired as root.
  2. Cron downloads a script.
  3. For some reason will not populate (unzip) in the /var/softaculous directory
  4. Cron job sends a failure report to the administrator.
  5. Admin logs in and tries to update the script.
  6. Update will fail as there is a zipped script already owned by root and can not be overwritten by the admin user.
Scenario 2:
  1. Cron job is being fired as root.
  2. Cron downloads a script.
  3. Cron populates (unzip) a sript in the /var/softaculous directory
  4. Cron job sends a success report to the administrator.
  5. Admin logs in and tries to apply a new update latter on for the same script but never version.
  6. Update will fail as the target directory is owned by root and can not be overwritten by the admin user.


As a precautionary measure I wrapped cron job to do the following:
1. Remove exiting zip files from /var/softaculous
2. Change ownership permissions on all directories and files to the admin user inside the /var/softaculous directory.

Hope this helps.



Edited by andser : November 30, 2009, 3:01 pm
IP: --   


Threads
 alons   WordPress MU in Softaculous (17 Replies, Read 51903 times)
    |--  emm1   Great news! I...   on November 5, 2009, 8:26 am
    |--  alons   Hi, I checked...   on November 6, 2009, 7:03 am
    |--  coolrob335   That's great, but...   on November 6, 2009, 9:49 pm
    |--  coolrob335   @alons etc. Is...   on November 9, 2009, 10:08 pm
    |--  alons   That's great, but...   on November 10, 2009, 5:07 am
    |--  coolrob335   That's great, but...   on November 15, 2009, 12:30 pm
    |--  ozace   Hi, I am...   on November 25, 2009, 8:17 am
    |--  alons   Hi, I am...   on November 25, 2009, 11:16 am
    |--  ozace   I am just...   on November 25, 2009, 12:18 pm
    |--  ozace   Next day -...   on November 26, 2009, 9:05 am
    |--  alons   Hi, Which panel...   on November 26, 2009, 10:19 am
    |--  andser   All, Cron job...   on November 30, 2009, 8:48 am
    |--  alons   A root user...   on November 30, 2009, 10:34 am
    |--  andser   A root user...   on November 30, 2009, 11:16 am
    |--  alons   Hi, All plugins...   on November 30, 2009, 1:16 pm
    |--  andser   I'm using DirectAdmin...   on November 30, 2009, 2:59 pm
    |--  alons   Hi, Sir you...   on November 30, 2009, 3:14 pm

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is October 18, 2025, 11:26 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.029