WordPress 2.7 - Automatic Upgrade... [SOLVED]

Discussion room for Wordpress, a weblog based social networking community.
Forum rules
Please note the Disclaimer before modifying your Synology Product.

WordPress 2.7 - Automatic Upgrade... [SOLVED]

Postby aarfing » Thu Feb 19, 2009 3:30 pm

Hi there,

Has anyone succeeded in making the built-in automatic upgrade functionality work in WordPress 2.7 on a Syno NAS?

All I get is a "Connection information"-screen, where I can fill in some FTP information - although I have no clue what information to fill in. From what I can gather through google it might be a file-ownership issue on the NAS, as it's suppose to upgrade autimatically without giving the "Connection information"-screen. Although if anyone could tell me which information to fill in there, that would be just as great.

http://clifgriffin.com/2008/12/09/how-to-fix-wordpress-automatic-upgrades-plugins-and-wordpress/

Any help will be appreciated :)
Last edited by aarfing on Sun Dec 06, 2009 10:27 am, edited 1 time in total.

DS410 running Latest [4 x 2TB RE4-GP WD2002FYPS] (RAID 5)
CS407 running 3.1-1636 [4 x 1TB RE3 WD1002FBYS] (RAID 5)
DS106e - retired
User avatar
aarfing
Versed
Versed
 
Posts: 206
Joined: Thu Nov 23, 2006 10:35 am
Location: Denmark

Re: WordPress 2.7 - Automatic Upgrade...

Postby minjet » Mon Mar 23, 2009 10:35 am

I seem to have the exact same problem as mentioned above.

Does any of you guys have a solution to the problem? It'd be really great!

Thanks in advance

Michael
minjet
Trainee
Trainee
 
Posts: 12
Joined: Sun Sep 21, 2008 8:04 pm
Location: Denmark

Re: WordPress 2.7 - Automatic Upgrade...

Postby jmurre » Mon Mar 23, 2009 12:10 pm

I am getting to the part when the new package is downloaded, but then fails to unpack it. I fill in localhost:21 at hostname and use the admin username and password. All rights for the admin user are write, so I don't know where I go wrong.
User avatar
jmurre
Rookie
Rookie
 
Posts: 36
Joined: Mon Mar 16, 2009 10:01 am
Location: The Netherlands

Re: WordPress 2.7 - Automatic Upgrade...

Postby bjorn » Sat May 09, 2009 4:08 pm

Any updates here yet? I'm running into the exact same problem with WP 2.7.1 and Synology DS209+
I've also found out you should be able to use direct transport or SHH transfer of files. WP only uses ftp when these two options are not available.
User avatar
bjorn
Student
Student
 
Posts: 61
Joined: Wed Mar 28, 2007 12:32 pm
Location: The Netherlands

Re: WordPress 2.7 - Automatic Upgrade...

Postby bjorn » Sun May 10, 2009 7:45 am

fix:

Add this to your wp-config.php

without virtual host:
Code: Select all
define('FTP_BASE', '/web');
define('FTP_CONTENT_DIR', '/web/wp-content');
define('FTP_PLUGIN_DIR', '/web/wp-content/plugins/');


with virtual host:
Code: Select all
define('FTP_BASE', '/web[/virtualhostdir]');
define('FTP_CONTENT_DIR', '/web[/virtualhostdir]/wp-content');
define('FTP_PLUGIN_DIR', '/web[/virtualhostdir]/wp-content/plugins/');


Thanks to Dion Hulse :)
User avatar
bjorn
Student
Student
 
Posts: 61
Joined: Wed Mar 28, 2007 12:32 pm
Location: The Netherlands

Re: WordPress 2.7 - Automatic Upgrade...

Postby Hein » Wed Sep 09, 2009 8:38 am

I did manage to install wordpress 2.8.4. onto the syno ds109 using phpmyadmin to create a db first. All seems to work but not the automatic upgrade. I installed it using no virtual host so i added the first code section to my config file. But what then do i need to enter in the fields when i want to install a plugin or automaticly upgrade to a higher version of WP? I tried the admin account and root account. I tried it in full address and even localhost but nothing seems to catch on.

Do i need to add this code to the config sample file and then start the install?
Synology DS411Slim - 4 x 1TB
External WD Elements Desktop 1TB usb harddisk as backup.
User avatar
Hein
Novice
Novice
 
Posts: 45
Joined: Wed Sep 09, 2009 8:33 am
Location: NL

Re: WordPress 2.7 - Automatic Upgrade...

Postby jgardner03 » Thu Sep 10, 2009 3:34 am

I'm having the same issue with plugins (haven't had an upgrade of WP yet. The connection information it's looking for is FTP user information. You have to enable FTP on the Syno NAS. The hostname is the hostname you assigned to the NAS, and then the FTP user and password. Once I added that, I was no longer having issues downloading or copying the new plugins. The issue I was having was actually in the removal of the old plugin. It was/is still failing to remove the old plugin after installing the new one. Until I can get that working, I can't auto upgrade plugins. I'm assuming that will still be the case for the actual release of WP as well.

any other suggestions? I've set the permissions to 777 on all directories, but that has still not worked.
jgardner03
I'm New!
I'm New!
 
Posts: 1
Joined: Thu Sep 10, 2009 3:29 am

Re: WordPress 2.7 - Automatic Upgrade...

Postby Hein » Wed Oct 21, 2009 10:25 am

Even using the hostname i set for the syno instead of the url where it can be reached did not work.

It would be really great if Synology or someone else created a wordpress package which solves this annoying problem.
Synology DS411Slim - 4 x 1TB
External WD Elements Desktop 1TB usb harddisk as backup.
User avatar
Hein
Novice
Novice
 
Posts: 45
Joined: Wed Sep 09, 2009 8:33 am
Location: NL

Re: WordPress 2.7 - Automatic Upgrade...

Postby inkuyo » Wed Oct 21, 2009 7:36 pm

I manually upgraded to the latest version of WP, but still cannot have the plug-ins automatically upgrade.

I added the code:
Code: Select all
// Add settings for updating wordpress automatically
// define('FS_METHOD', 'ftpsockets'); ( I found this on another site, but it doesn't help so I commented it out)
define('FTP_BASE', '/web/redonegreen');
define('FTP_CONTENT_DIR', '/web/redonegreen/wordpress/wp-content');
define('FTP_PLUGIN_DIR', '/web/wp-content/redonegreen/wordpress/plugins/');


NOW my error is:
Downloading update from http://downloads.wordpress.org/plugin/addthis.1.5.4.zip.
Unpacking the update.
Could not copy file /web/redonegreen/wordpress/wp-content/upgrade/addthis.1.5.4/addthis/addthis_social_widget.php


I have tried changing permissions, but no luck yet.
I had the same question here: viewtopic.php?f=20&t=10779 but no answer yet.
Dale T Hylton
dale (at) bspectrum.com
CS-407+ (7-03-08) | Firmware Version: DSM 3.1-1613 | 4 X HDD: Seagate 500Gb ST3500320NS
User avatar
inkuyo
Trainee
Trainee
 
Posts: 19
Joined: Mon Jul 07, 2008 10:33 pm
Location: Bothell, WA

Re: WordPress 2.7 - Automatic Upgrade...

Postby Tonny » Fri Oct 23, 2009 6:50 pm

I'm know im bringing an old topic to the top, but has anyone solved the issue that wordpress wont upgrade automatic on the synology system?
DS209+ with 2x1TB on 25/25Mbit fiber connection.
Read your Danish news about NAS systems on NASnews.dk
User avatar
Tonny
Student
Student
 
Posts: 64
Joined: Sat Feb 28, 2009 1:21 pm
Location: Sdr. Felding, Denmark

Re: WordPress 2.7 - Automatic Upgrade...

Postby PedroT » Thu Nov 19, 2009 4:25 pm

Hi all,

I had the same problem with my DS209.
The problem is with the file/folder owner. By default the web server software uses 'nobody' as the file/folder owner, when you install wordpress using a network share the system assumes resets the name of the file owner to that of the login you used to access the share preventing the web server software making any changes, that's the reason why the automatic update feature doesn't work, even if you input the correct FTP login information in wordpress.
To correct the problem you must enable the terminal service in the Synology system and login as root using a SSH software.
After that you write this:

chown -R nobody:nobody /volume1/web/wordpress

You can change the /volume1/web/wordpress to the specific structure you have.

After this you should be able to use the automatic upgrade feature of wordpress.

Hope this helps,
Pedro Tróia
PedroT
I'm New!
I'm New!
 
Posts: 1
Joined: Thu Nov 19, 2009 4:10 pm

Re: WordPress 2.7 - Automatic Upgrade...

Postby wattacetti » Fri Nov 20, 2009 5:08 pm

Interesting workaround.

Since I can't try this until I get home (thank you locked out work laptop), does this also address the issue with automatic updating of plugins and the installation of new themes?
wattacetti
Novice
Novice
 
Posts: 57
Joined: Fri Nov 21, 2008 8:34 pm

Re: WordPress 2.7 - Automatic Upgrade...

Postby Tonny » Fri Nov 20, 2009 5:42 pm

Hi Pedro, thanks for the great reply. It work like a charm when updating plugins, but when it comes to the update of wordpress i did yesterday get errors, but today it works ok again.
DS209+ with 2x1TB on 25/25Mbit fiber connection.
Read your Danish news about NAS systems on NASnews.dk
User avatar
Tonny
Student
Student
 
Posts: 64
Joined: Sat Feb 28, 2009 1:21 pm
Location: Sdr. Felding, Denmark

Re: WordPress 2.7 - Automatic Upgrade...

Postby inkuyo » Fri Nov 20, 2009 8:32 pm

I tried the chown command and get:

chown: /volume1/web/redonegreen/wordpress: Operation not permitted
chown: /volume1/web/redonegreen/wordpress: Operation not permitted

It shows trice. Not sure what's up. Any ideas?
Dale T Hylton
dale (at) bspectrum.com
CS-407+ (7-03-08) | Firmware Version: DSM 3.1-1613 | 4 X HDD: Seagate 500Gb ST3500320NS
User avatar
inkuyo
Trainee
Trainee
 
Posts: 19
Joined: Mon Jul 07, 2008 10:33 pm
Location: Bothell, WA

Re: WordPress 2.7 - Automatic Upgrade...

Postby wattacetti » Sat Nov 21, 2009 7:01 pm

Well, that did the trick. Automatic upgrades work. Plugin updates work. Themes installation work. Thanks Pedro!
wattacetti
Novice
Novice
 
Posts: 57
Joined: Fri Nov 21, 2008 8:34 pm

Next

Return to Wordpress

Who is online

Users browsing this forum: No registered users and 0 guests