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.

Re: WordPress 2.7 - Automatic Upgrade... [SOLVED]

Postby aarfing » Sun Dec 06, 2009 10:28 am

It just works... Pedro is the man!!! :mrgreen:

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: 205
Joined: Thu Nov 23, 2006 10:35 am
Location: Denmark

Re: WordPress 2.7 - Automatic Upgrade... [SOLVED]

Postby ROF » Thu Dec 10, 2009 11:45 pm

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.


Say WHAT?
I enabled the SSH BUT how do I login as root?!?!
Step by step for us "Noobs" pls. I REALLY dont get it :-)
Pls. clarify for me - THANKS.
(Damm its difficualt to handle this problem)
Best regards
Rene Frederiksen
Denmark :)
User avatar
ROF
Rookie
Rookie
 
Posts: 31
Joined: Tue Oct 28, 2008 3:06 pm
Location: Aalborg - Denmark - Europe

Re: WordPress 2.7 - Automatic Upgrade... [SOLVED]

Postby Hein » Thu Dec 24, 2009 10:36 am

Going to give this a try this evening. Sounds and looks like the holy grail of wordpress usage on a syno nas kit. Thanks!
Synology DS411Slim - 4 x 1TB
External WD Elements Desktop 1TB usb harddisk as backup.
User avatar
Hein
Novice
Novice
 
Posts: 40
Joined: Wed Sep 09, 2009 8:33 am
Location: NL

Re: WordPress 2.7 - Automatic Upgrade... [SOLVED]

Postby amu0373 » Mon Jan 04, 2010 5:10 pm

I'm not an expert in linux whatsoever and was wondering if changing ownership to nobody isn't a security risk?

Thanks for your thoughts!

Cheers, Alex.
--
Cheers, Alex

Synology Disk Station DS209+II with 2 Samsung HD154UI 1.5 TB Harddisks (Raid 1)
On remote location:
Synology Disk Station DS207+ with 2 Western Digital WD10EADS 1TB Green Hardisks (Raid 1)
amu0373
I'm New!
I'm New!
 
Posts: 5
Joined: Tue Jan 20, 2009 12:00 pm

Re: WordPress 2.7 - Automatic Upgrade... [SOLVED]

Postby Hein » Thu Feb 04, 2010 8:33 am

Well i can say it does work great.

Setting the folder where you wordpress resides to nobody:nobody is no security risk. I did some digging on the internet and got confirmed what i sort of knew already. Apache runs on the user/group combination of nobody:nobody. So imo there is no security risk when setting this user/group combo.

Pitty thought that you have to set this through SSH. I think Synology could easily build this into the webservices management console to set ownership or web folders to nobody:nobody (my 2 cents)
Synology DS411Slim - 4 x 1TB
External WD Elements Desktop 1TB usb harddisk as backup.
User avatar
Hein
Novice
Novice
 
Posts: 40
Joined: Wed Sep 09, 2009 8:33 am
Location: NL

Re: WordPress 2.7 - Automatic Upgrade...

Postby jahlives » Thu Feb 04, 2010 11:26 am

inkuyo wrote: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?

Try to login to the diskstation shell as root with admins password. Then the operation must be permitted ;)
@all
Changing the ownership to nobody is no problem/risk so far. The only thing to take care of: Do not give write rights for nobody for the whole /volume1/web. Only set write permissions for the webserveruser on directories where the webserver really need to write in.
jahlives
Enlightened
Enlightened
 
Posts: 414
Joined: Thu Nov 29, 2007 10:01 am

Re: WordPress 2.7 - Automatic Upgrade... [SOLVED]

Postby jpg001 » Tue Apr 13, 2010 9:54 pm

Hi Pedro, thank you. :D :D :D
jpg001
I'm New!
I'm New!
 
Posts: 1
Joined: Tue Apr 13, 2010 9:51 pm

Re: WordPress 2.7 - Automatic Upgrade... [SOLVED]

Postby BertBigB » Sun Mar 20, 2011 1:29 pm

chown -R nobody:nobody /volume1/web/

You have to do this as root and not as admin
If you do it as root you can most probably use the same password as that from admin.

Hope this helps others to
BertBigB
Beginner
Beginner
 
Posts: 20
Joined: Tue Nov 14, 2006 12:11 am

Re: WordPress 2.7 - Automatic Upgrade... [SOLVED]

Postby jon2pascua » Tue Jun 07, 2011 6:21 pm

Hi Pedro, you are the man! Thanks a lot dude!
jon2pascua
Trainee
Trainee
 
Posts: 10
Joined: Sat Sep 25, 2010 3:24 pm

Re: WordPress 2.7 - Automatic Upgrade... [SOLVED]

Postby tristanmin » Thu Aug 18, 2011 9:07 am

Thanks Pedro. It's work :D
tristanmin
I'm New!
I'm New!
 
Posts: 3
Joined: Thu Jul 28, 2011 10:45 am

Updating Wordpress...

Postby ArborBarber » Thu Jan 05, 2012 6:39 pm

How do you update wordpress? It seems that the update function in wordpress is not working. That could be a security issue down the road. Any solutions to updating wordpress?
Thanks for any help.
ArborBarber
I'm New!
I'm New!
 
Posts: 6
Joined: Thu Feb 24, 2011 1:34 am

Re: WordPress 2.7 - Automatic Upgrade...

Postby Timpos » Fri Jan 06, 2012 7:46 pm

Thank you Pedro!!!

PedroT wrote: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
User avatar
Timpos
I'm New!
I'm New!
 
Posts: 5
Joined: Sun Nov 20, 2011 11:09 am

Re: Updating Wordpress...

Postby golfmikepapa » Mon Jan 23, 2012 9:22 pm

I have same problem. My current version is 3.2.1. The WP updater says I'm up to date but the latest is 3.3.1. The manual download link does not work either. It must be that the Synology version updates must come from them, since it is a localized version?
golfmikepapa
I'm New!
I'm New!
 
Posts: 3
Joined: Mon Jan 23, 2012 8:57 pm

Re: Updating Wordpress...

Postby wattacetti » Mon Jan 23, 2012 10:56 pm

wattacetti
Novice
Novice
 
Posts: 57
Joined: Fri Nov 21, 2008 8:34 pm

Re: WordPress 2.7 - Automatic Upgrade... [SOLVED]

Postby golfmikepapa » Thu Jan 26, 2012 3:54 pm

Yep, and I changed ownership to nobody:nobody as directed but still no joy. Neither WP nor plugins update. I'm using NAT behind a firewall but see nothing in the log there that's stopping it. When clicking the check update button it seems like it doesn't even try to connect. No errors or ftp login dialog, etc. It just says I have the latest version. The WP download button doesn't work either.

I do have a note on the updates page that says "This localized version contains both the translation and various other localization fixes. You can skip upgrading if you want to keep your current translation."

Curious. I'll try reinstalling.

Thanks.
golfmikepapa
I'm New!
I'm New!
 
Posts: 3
Joined: Mon Jan 23, 2012 8:57 pm

PreviousNext

Return to Wordpress

Who is online

Users browsing this forum: No registered users and 0 guests