Results 1 to 16 of 16
  1. #1

    problem update wordpress in VPS

    hello all

    this is my second question about VPS, i have twice install vps with different panel, first with kloxo and now im using webmin,
    from my experience install fresh wordpress with 4 post, i cannot using the automatic wordpress update from dashboard whether when im using kloxo or webmin. many tutorial i have read in google, from change the file owner and add little code in wp-config, there are not fully fix my issue

    maybe someone here has same experience as me, and can give me some clue what should i do so i dont have input the ftp and password information each time im doing some update in wordpress dashboard

    thanks
    Last edited by webresult; 06-12-2011 at 03:30 PM.
    I Love Web Hosting Industry

  2. #2
    Join Date
    Dec 2010
    Location
    surabaya, indonesia
    Posts
    135
    can u paste ur error when u update wordpress?
    Fast Host Online Hosting, Domain, VPS, Dedicated Server
    OpenVZ, Xen, And WIndows VPS
    http://www.fasthostonline.co.id

  3. #3
    Join Date
    Jan 2010
    Location
    Singapore, Woodlands
    Posts
    63
    Hi,

    did you try using virtualmin instead of just webmin. Virtualmin is a combination of webmin and virtual enabled servers where it helps you to install FCGID as well.

    There is a standard installation script available on webmin site for virtualmin gpl installation on ubuntu 32 bit. It will work out of the box. I recommend you to have that a go =)

  4. #4
    Join Date
    Oct 2010
    Posts
    1,785
    In order to not have to enter FTP details every update, you need to be running the app as the user, not nobody. So you should use fastcgi or suphp, or similar.
    Hosting is like a box of chocolates, you never know what you're gonna get.

  5. #5
    Quote Originally Posted by fasthostonline View Post
    can u paste ur error when u update wordpress?
    no, im not getting any error in wordpress, i just want my wordpress could run automatic update without have to fill ftp detail
    Quote Originally Posted by cripperz View Post
    Hi,

    did you try using virtualmin instead of just webmin. Virtualmin is a combination of webmin and virtual enabled servers where it helps you to install FCGID as well.

    There is a standard installation script available on webmin site for virtualmin gpl installation on ubuntu 32 bit. It will work out of the box. I recommend you to have that a go =)
    it seems i only install webmin

    Quote Originally Posted by TheJoker View Post
    In order to not have to enter FTP details every update, you need to be running the app as the user, not nobody. So you should use fastcgi or suphp, or similar.
    hello theJoker, if im wget the wordpress file thru ssh and extract them in folder one of my user using root, is that allowed ? because i had tried this way and when im using that user and update my wordpress, the ftp dialog was show
    anyway sorry, i dont understand what are you mean about fastcgi, suphp etc, can you be more specific
    I Love Web Hosting Industry

  6. #6
    Join Date
    Dec 2010
    Location
    surabaya, indonesia
    Posts
    135
    fastcgi, suphp etc, is php configuration

    check ur php configuration and dont forget to enable PDO, GD
    Fast Host Online Hosting, Domain, VPS, Dedicated Server
    OpenVZ, Xen, And WIndows VPS
    http://www.fasthostonline.co.id

  7. #7
    Join Date
    Oct 2010
    Posts
    1,785
    I have only updated WP from the WP admin panel and as stated above, you must use a php handler that runs scripts as the user instead of nobody.
    Hosting is like a box of chocolates, you never know what you're gonna get.

  8. #8
    Join Date
    Mar 2010
    Location
    Dallas
    Posts
    331
    Change the owner of the files to the user running the web server. www-data in most cases. Chmod -R www-data:www-data /root directory of the site

  9. #9
    Join Date
    May 2011
    Location
    India
    Posts
    106
    Quote Originally Posted by dclardy View Post
    Change the owner of the files to the user running the web server. www-data in most cases. Chmod -R www-data:www-data /root directory of the site
    yes changing the owner of files to www or setting ftp details to config file will fix this problem.
    SoftGeeks - Fast, Secure Quality Hosting Solutions
    Services: Shared Hosting | Reseller Hosting | Virtual Private Servers
    Great Uptime | Quick and Friendly Support

  10. #10
    Join Date
    Oct 2010
    Posts
    1,785
    I tried to set the FTp details in the config file once and it didn't work.
    Hosting is like a box of chocolates, you never know what you're gonna get.

  11. #11
    Join Date
    May 2011
    Location
    India
    Posts
    106
    you have installed the WP from SSH, so your files and folders must be having this user as owner. change the owner and change the files and folder permission to 0755 and 0644.
    SoftGeeks - Fast, Secure Quality Hosting Solutions
    Services: Shared Hosting | Reseller Hosting | Virtual Private Servers
    Great Uptime | Quick and Friendly Support

  12. #12
    Quote Originally Posted by SoftGeeks View Post
    you have installed the WP from SSH, so your files and folders must be having this user as owner. change the owner and change the files and folder permission to 0755 and 0644.
    hello
    i see these permission and owner when login with root
    can i know what is that mean 33 ?
    seems i have not create any user in my ssh, only root
    Code:
    drwxr-xr-x 6 apache apache    4096 Jun 12 02:06 .
    drwxr-xr-x 3 root   root      4096 Jun 11 22:42 ..
    -rw-r--r-- 1 apache apache     259 Jun 12 02:22 .htaccess
    -rw-r--r-- 1     33     33     397 May 26  2008 index.php
    -rw-r--r-- 1 root   root        20 Jun 12 02:06 infophp.php
    -rw-r--r-- 1     33     33   15606 Feb 23 01:36 license.txt
    -rw-r--r-- 1     33     33    9202 May 25 22:10 readme.html
    drwxr-xr-x 2     33     33    4096 Jun 12 01:49 wordpress
    -rw-r--r-- 1 root   root   2764167 Jun 12 01:04 wordpress-3.1.3.tar.gz
    -rw-r--r-- 1     33     33    4337 Jan 22 06:25 wp-activate.php
    drwxr-xr-x 9     33     33    4096 May 25 22:16 wp-admin
    -rw-r--r-- 1     33     33   40261 May 24 19:56 wp-app.php
    -rw-r--r-- 1     33     33     226 Dec  9  2010 wp-atom.php
    -rw-r--r-- 1     33     33     274 Nov 21  2010 wp-blog-header.php
    -rw-r--r-- 1     33     33    3931 Dec  9  2010 wp-comments-post.php
    -rw-r--r-- 1     33     33     244 Dec  9  2010 wp-commentsrss2.php
    -rw-rw-rw- 1 apache apache    3450 Jun 12 01:51 wp-config.php
    -rw-r--r-- 1     33     33    3177 Nov  1  2010 wp-config-sample.php
    drwxr-xr-x 6     33     33    4096 Jun 12 02:00 wp-content
    -rw-r--r-- 1     33     33    1255 Mar 17  2010 wp-cron.php
    -rw-r--r-- 1     33     33     246 Dec  9  2010 wp-feed.php
    drwxr-xr-x 8     33     33    4096 May 25 22:16 wp-includes
    -rw-r--r-- 1     33     33    1997 Oct 23  2010 wp-links-opml.php
    -rw-r--r-- 1     33     33    2453 Oct 30  2010 wp-load.php
    -rw-r--r-- 1     33     33   27816 May 24 19:29 wp-login.php
    -rw-r--r-- 1     33     33    7774 May 26  2010 wp-mail.php
    -rw-r--r-- 1     33     33     494 Dec  9  2010 wp-pass.php
    -rw-r--r-- 1     33     33     224 Dec  9  2010 wp-rdf.php
    -rw-r--r-- 1     33     33     334 Dec  9  2010 wp-register.php
    -rw-r--r-- 1     33     33     226 Dec  9  2010 wp-rss2.php
    -rw-r--r-- 1     33     33     224 Dec  9  2010 wp-rss.php
    -rw-r--r-- 1     33     33    9655 Nov 24  2010 wp-settings.php
    -rw-r--r-- 1     33     33   18644 Dec  6  2010 wp-signup.php
    -rw-r--r-- 1     33     33    3702 Feb 24  2010 wp-trackback.php
    -rw-r--r-- 1     33     33    3210 Nov  6  2010 xmlrpc.php
    I Love Web Hosting Industry

  13. #13
    try chown -R www /home/wwwroot/abc.com
    the /home/wwwroot/abc.com should be your word press path..
    It will make reading and writing be available to the the dir

  14. #14

    *

    tun that Command inSSH you know~~~.........................

  15. #15
    Quote Originally Posted by javaluo View Post
    try chown -R www /home/wwwroot/abc.com
    the /home/wwwroot/abc.com should be your word press path..
    It will make reading and writing be available to the the dir
    i try that and result is

    [root@myvps~]# chown -R www /home/mydomain.com << this is folder where my wp installed
    chown: `www': invalid user
    [root@myvps~]#

    did i missed something? that said invalid user of www

    thanks
    I Love Web Hosting Industry

  16. #16
    hello problem solved, thanks to all of you who replied here
    i finally change the ownership to the apache refere to where the wordpress directory installed (is that ok/ safe ?)

    and the automatic update works like a charm

    thanks
    I Love Web Hosting Industry

Similar Threads

  1. Wordpress 3.04: Critical update
    By foobic in forum Hosting Security and Technology
    Replies: 38
    Last Post: 04-27-2011, 06:47 PM
  2. AWS EC2 WordPress Auto Update Failed
    By Cercare in forum Cloud Hosting
    Replies: 5
    Last Post: 06-20-2010, 12:00 PM
  3. Apache User and WordPress Auto Update
    By arpowers in forum VPS Hosting
    Replies: 3
    Last Post: 12-21-2009, 10:25 PM
  4. Wordpress plugin slow update on VPS?
    By vB-WP-Admin in forum VPS Hosting
    Replies: 2
    Last Post: 10-05-2009, 04:57 AM
  5. Wanted: Wordpress designer to update site
    By mulligan in forum Design Requests
    Replies: 1
    Last Post: 02-09-2008, 04:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •