• The dashboard update failed for this update. Looks like a permissions issue. Using a generic install on CentOS 6.3. Dash reported; last line could not copy a file to a directory. Now error 500 for all pages. Phpmyadmin ok. Working on manual install of update.

Viewing 7 replies - 1 through 7 (of 7 total)
  • – Are you running php as an apache module by default?

    – your normal file and directory permissions scheme is?

    – owner:group scheme is?

    Thread Starter wvanbusk

    (@wvanbusk)

    1. php packages installed before apache
    2. default scheme in var/www/html
    3. -rw-r–r–. 1 apache root 395 Jan 25 15:48 index.php
    drwxr-xr-x. 9 apache root 4096 Nov 1 13:38 wp-admin

    Before I go ahead and start to stick my foot in my mouth, is this a server you are administering in your home/office, or a live site on a vps somewhere on the net? 🙂

    Thread Starter wvanbusk

    (@wvanbusk)

    personal server in home office. I holding off on the manual update.

    Thread Starter wvanbusk

    (@wvanbusk)

    It’s onmypc.org ddns. The subdomain is my username.

    httpd runs as apache out of the box on CentOS. Nothing should be run/owned as root or owned by the apache account (just my opinion).

    You should run from a user account rather than root, and “su -” in a console whenever you need root access.

    0644 and 0755 permissions are fine. I prefer them myself, although I think files in /www/html might sometimes be created with 0664 0775 default permissions on CentOS when created by an account other than root, depending on how things are setup.

    At the very least, you might be able to partially remedy some issues with:

    cd /var/www/html/

    chown -R [username]:apache [wordpress_location]

    But that definitely won’t solve your automatic update issues. In fact, it may prevent it entirely – as it probably should, in this case. I know that seems counter intuitive, but unless you have a properly configured ftp server or have installed the ssh2 extension, WordPress won’t update automatically if php is running as an apache module (default install).

    I wish I could break it down in a simple, quick answer to your issue, but in a nutshell: The files probably shouldn’t be root owned for starters. The issues you are experiencing are very likely server administration related, rather than WordPress related.

    [edit] please don’t do anything you aren’t comfortable with simply at my suggestion. A little research and investigation may be a more advisable and beneficial course of action at this point.

    Thread Starter wvanbusk

    (@wvanbusk)

    I’ll do more administrative research before an update.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Dash update to 3.5.1 release on CentOS failed’ is closed to new replies.