• Hi all,

    I have Live wordpress sites download to local server. They are running locally similar to the former. However I couldn’t figure out how to update/upgrade the plugin/software upon request. On running one/two local site(s) a big red-mark displayed requesting to update the plugin. On clicking the mark the “Update Plugins” window popup.

    Hostname
    FTP Username
    FTP Password
    Connection Type – FTPS / FTPS(SSL)

    Please shed me some light how to complete the details there? Thanks

    Rgds
    satimis

Viewing 15 replies - 1 through 15 (of 18 total)
  • Thread Starter satimis

    (@satimis)

    Hi,

    Thanks for your link.

    I went through the tutorial;
    WordPress Tutorial: Using SSH to Install/Upgrade
    https://wpforce.com/wordpress-tutorial-ssh-install-upgrade/

    But I could not find SSH on the “Connection Information”, only FTP and FTPS(SSL) there.

    Where can I find their tutorials. Thanks

    Rgds
    satimis

    If you are running these sites on a Linux server I would suggest changing the ownership of the document root to the web server user (www-data, apache or nobody) so that you don’t have to enter any FTP or SSH details.

    @satimis

    If you are still using Debian, what happens if you just do this:

    apt-get install php-pear openssh-server libssh2-php

    service apcahe2 restart

    See if that turns on the SSH2 option in the connection options.

    Thread Starter satimis

    (@satimis)

    Jesin A,

    Thanks for your advice.

    This local site was download on the Live site hosted on Godaddy. It works similar to the Live site. But I’m not prepared to make it “live”. After having completed the test I’ll prepare making it as mirror of the Live site. I’m still searching for documentation of the setup.

    satimis

    Thread Starter satimis

    (@satimis)

    Hi ClaytonJames,

    Thanks for your advice.

    I’m running Linux Mint 16 here which is based on Debian.

    $ apt-cache policy php-pear openssh-server libssh2-php

    php-pear:
      Installed: 5.5.3+dfsg-1ubuntu2.1
      Candidate: 5.5.3+dfsg-1ubuntu2.1
      Version table:
     *** 5.5.3+dfsg-1ubuntu2.1 0
            500 https://archive.ubuntu.com/ubuntu/ saucy-updates/main amd64 Packages
            500 https://security.ubuntu.com/ubuntu/ saucy-security/main amd64 Packages
            100 /var/lib/dpkg/status
         5.5.3+dfsg-1ubuntu2 0
            500 https://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
    
    openssh-server:
      Installed: 1:6.2p2-6ubuntu0.1
      Candidate: 1:6.2p2-6ubuntu0.1
      Version table:
     *** 1:6.2p2-6ubuntu0.1 0
            500 https://archive.ubuntu.com/ubuntu/ saucy-updates/main amd64 Packages
            500 https://security.ubuntu.com/ubuntu/ saucy-security/main amd64 Packages
            100 /var/lib/dpkg/status
         1:6.2p2-6 0
            500 https://archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
    
    libssh2-php:
      Installed: 0.11.3-0.1build2
      Candidate: 0.11.3-0.1build2
      Version table:
     *** 0.11.3-0.1build2 0
            500 https://archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
            100 /var/lib/dpkg/status

    $ service apache2 restart
    * Restarting web server apache2 [fail]

    Apaches is still running. On browser;
    /localhost/wordpress
    displaying the local site.

    Edit
    ====
    After re-boot on browser;
    https://localhost/wordpress
    still displays the site download.

    $ sudo service apache2 restart

    * Restarting web server apache2                                            AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
                                                                         [ OK ]

    satimims

    Execute the following command to grant ownership on your document root

    chown -R www-data:www-data /var/www

    Now you won’t be prompted for FTP/SSH credentials when updating WordPress.

    Thread Starter satimis

    (@satimis)

    Hi Jesin A,

    Thanks for your advice.

    Performed following steps;
    $ sudo chown -R www-data:www-data /var/www
    [sudo] password for satimis:

    On browser;
    https://localhost/wordpress
    starts the webpage -> login

    Update Plugins:-
    Contact Form 7
    Jetpack by WordPress.com
    mb.miniAudioPlayer

    -> Return to Plugins pages

    I got it done. Thanks.

    Have you had any idea converting the local site as mirror of the Live Site hosted on Godaddy?. Pointer would be appreciated.

    Rgds
    satimis

    Upload the local site to GoDaddy via FTP, export your local DB and import it to GoDaddy, edit the DB details in the wp-config.php file and you are done. And change your WordPress & Site URL (Settings > General) locally before uploading.

    Read more here – https://codex.www.ads-software.com/Moving_WordPress

    Thread Starter satimis

    (@satimis)

    Hi Jesin A,

    I already have a Live site running on Godaddy. The local site was cloned on the Live site. I expect running the local site on local server working as mirror of the Live site.

    I found following article;
    How to Set Up a Mirror WordPress Site
    https://www.ehow.com/how_7421377_set-up-mirror-wordpress.html

    It needs the mirror site running on subdomain of the Live. But the Live is already running on subdomain. I can’t figure out creating a subdomain on another subdomian?

    Rgds
    satimis

    That link merely explains creating another copy of WordPress on your live hosting server. What is the purpose of mirroring the site locally? Do you want to sync the local site periodically with the live one?

    Thread Starter satimis

    (@satimis)

    Do you want to sync the local site periodically with the live one?

    Yes sync instantly

    You do realise that you cannot sync WordPress sites like this, don’t you?

    Thread Starter satimis

    (@satimis)

    Hi esmi,

    I know this is a local site. But I can reinstall it as a Live site. I’m subscribing Static (Fixed) IP with 6M/6M up_n_down speed. I’m now searching for document. Are following document be relevant for my use?

    How to Sync A Local & Remote WordPress Blog Using Version Control
    https://wp.tutsplus.com/tutorials/how-to-sync-a-local-remote-wordpress-blog-using-version-control/

    How to: WordPress Sync Blog Between Two Sites
    https://www.ehow.com/how_8456655_wordpress-blog-between-two-sites.html

    Thanks

    satimis

    I know this is a local site. But I can reinstall it as a Live site. I’m subscribing Static (Fixed) IP with 6M/6M up_n_down speed.

    Are you planning to migrate your site from GoDaddy to your own server?

    What hosting solution are you using on GoDaddy? Shared, VPS or Dedicated? If it is VPS/dedicated you can use Tuts plus’s solution.

    From the Tuts plus article

    The version control tool must be installed in both your local and remote machines.

    You cannot do this on a shared hosting package.

    ehow’s solution makes use of the WP-O-Matic plugin, this plugin uses RSS which means it will only sync pages & posts. Theme changes, plugin installation/uninstallation, file uploads will NOT be synchronized.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘How to update the plugin/software of the local wordpress site.’ is closed to new replies.