Trouble Updating WordPress
Linux for blind general discussion
blinux-list at redhat.com
Thu Jan 18 23:49:36 UTC 2018
message in context too
Le 18/01/2018 à 23:39, Linux for blind general discussion a écrit :https://codex.wordpress.org/Upgrading_WordPress_-_Extended_Instructions#Step_9:_Run_the_WordPress_upgrade_programo
> Again, please message in context.
> On 1/18/2018 11:18 AM, Linux for blind general discussion wrote:
>> Le 18/01/2018 à 19:56, Linux for blind general discussion a écrit :
>>>> root at vps:~# stat /var/www/html/blog
>>>> File: '/var/www/html/blog'
>>>> Size: 4096 Blocks: 8 IO Block: 4096 directory
>>>> Device: fd01h/64769d Inode: 475142 Links: 6
>>>> Access: (0755/drwxr-xr-x) Uid: ( 33/www-data) Gid: ( 33/www-data)
>>>> Access: 2018-01-18 01:58:45.341397646 -0800
>>>> Modify: 2017-12-16 15:55:35.489195850 -0800
>>>> Change: 2018-01-18 01:53:27.961408696 -0800
>> This line:
>> Access: (0755/drwxr-xr-x) Uid: ( 33/www-data) Gid: ( 33/www-data)
>> indicates that only the owner (www-data, uid 33) has write right.
>> So you should update as this owner.
>> Assuming that www-data has no shell you couldo siubsit type a command like:
>> su -c <update-command> www-data -s /bin/bash
>> You put the update-command in angle brackets. Does that mean that I should include those angle brackets, or are you wanting me to substitute what is inside the angle brackets with something else?
I mean to substitute what's inside the angle brackets by the name of the command to run.
I never used wordpress but according to this page:
it seems that you are not supposed to type a command in a terminal as I assumed, but rather to use a web interface, so discard the command I wrote.
But i think that this note, quoted fromthe instructions I just linked to, does matter:
Note: Make sure the database user name registered to WordPress has permission to create, modify, and delete database tables before you do this step. If you installed WordPress in the standard way, and nothing has changed since then, you are fine.
>> If this account has an associated shell instead:
>> su -c <update-command> www-data
>> Blinux-list mailing list
>> Blinux-list at redhat.com
> Blinux-list mailing list
> Blinux-list at redhat.com
More information about the Blinux-list