# Update of nginx

**URL:** <https://www.ruby-forum.com/t/update-of-nginx/214821>\
**Category:** NGINX\
**Created:** [December 13, 2011, 7:36am UTC](https://www.ruby-forum.com/t/update-of-nginx/214821 "2011-12-13T07:36:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [December 13, 2011, 7:36am UTC](https://www.ruby-forum.com/t/update-of-nginx/214821/1 "2011-12-13T07:36:50Z")

</div>

Hello,

I am encountering a problem while updating my nginx server.

I first configured and built the new version 1.1.11.  
I then stopped the server, checked it has been done, executed the make  
install and checked the configuration with the ‘-t’ option which was OK.  
I then started the new version, but I am still seeing the 1.0.9 number  
in  
the header of the pages loaded in my browser. I hit F5 several times to  
be  
sure it wasn’t the cache.

What did I miss?

## Thanks for your help,

_B. R._

---

<div class="post-metadata">

**Author:** ![B.R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@B.R](https://www.ruby-forum.com/u/B.R)\
**Post date:** [December 13, 2011, 8:42am UTC](https://www.ruby-forum.com/t/update-of-nginx/214821/2 "2011-12-13T08:42:52Z")

</div>

在 2011-12-13二的 01:35 -0500，B.R.写道：

> times to be sure it wasn’t the cache.
> 
> What did I miss?
> 
> ## Thanks for your help,
> 
> B. R.
> 
> * * *
> 
> nginx mailing list  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [mailman.nginx.org archive](http://mailman.nginx.org/mailman/listinfo/nginx)

make sure that you’ve make UNINSTALL the old version fully.  
check the version,by `which nginx` -v.

–  
Best regards,  
Sharl.Jimh.Tsin (From China **Obviously Taiwan INCLUDED** )

Using Gmail? Please read this important notice:  
[Gmail — Free Software Foundation — Working together for free software](http://www.fsf.org/campaigns/jstrap/gmail?10073).

---

<div class="post-metadata">

**Author:** ![B.R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@B.R](https://www.ruby-forum.com/u/B.R)\
**Post date:** [December 13, 2011, 8:50am UTC](https://www.ruby-forum.com/t/update-of-nginx/214821/3 "2011-12-13T08:50:56Z")

</div>

On 13 Dez 2011 06h35 WET, [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> the header of the pages loaded in my browser. I hit F5 several times  
> to be sure it wasn’t the cache.

F5 → usually reload (loads from cache if possible - check network  
panel on firebug or chrome browser inspector for confirmation)

Ctrl + F5 → reload without fetching from cache.

> What did I miss?

Perhaps the above.

Also try to use something like curl for checking, not a browser:

curl -I

Check the headers.

— appa

---

<div class="post-metadata">

**Author:** ![B.R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@B.R](https://www.ruby-forum.com/u/B.R)\
**Post date:** [December 14, 2011, 4:26am UTC](https://www.ruby-forum.com/t/update-of-nginx/214821/4 "2011-12-14T04:26:55Z")

</div>

Hi everyone,

First of all: shame on me! :oP

I deleted the whole nginx directory, reinstalled the new version… and  
the  
headers still got stuck on 1.0.9…  
Then… I discovered that the executable used was /usr/local/sbin/nginx  
and  
not /usr/local/nginx/sbin/nginx… Is the first file a link? Yes, but  
not  
symbolic…

I wiped it out, recreated it as symbolic and now I get the 1.1.11 up and  
running :o)

## Thanks for your time btw,

_B. R._

---

<div class="post-metadata">

**Author:** ![B.R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@B.R](https://www.ruby-forum.com/u/B.R)\
**Post date:** [December 13, 2011, 8:49pm UTC](https://www.ruby-forum.com/t/update-of-nginx/214821/5 "2011-12-13T20:49:17Z")

</div>

Thanks Sharl, Antonio,

Sharl, I used the ‘sudo make install’ command to be sure the install  
would  
get the admin rights.  
‘which nginx’ won’t work, but ‘/usr/local/nginx/sbin/nginx -v’ gives me  
the  
1.1.11 version.

Antonio, I tried your commands, but I already had my browser configured  
so  
that its cache is deleted when I exit.  
I tried again this morning after I booted my computer again and I still  
gets the 1.0.9 header version…

I made a chown on the /usr/local/nginx’ directory so the nginx user and  
a  
group not related to it are the owners of all the files inside. I  
remember  
having seen some subdirectories (such as ‘conf’) owned by the user root  
and  
not nginx.  
Does that could have an impact? I doubt it, since the ‘other’ rights are  
still set to ‘read’. It was maybe one of my ‘security’ tweaks of which I  
don’t really know the useness.

## If anyone has an idea apart from wiping out the whole directory (which would be far away the ‘hot update’ feature idea planted in nginx), I would be glad to take it…

_B. R._

---

<div class="post-metadata">

**Author:** ![B.R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@B.R](https://www.ruby-forum.com/u/B.R)\
**Post date:** [December 14, 2011, 7:58am UTC](https://www.ruby-forum.com/t/update-of-nginx/214821/6 "2011-12-14T07:58:14Z")

</div>

thank you

Posted at Nginx Forum:

> **[Re: Update of nginx](https://forum.nginx.org/read.php?2,219976,220024#msg-220024)**
>
> Hello, I am encountering a problem while updating my nginx server. I first configured and built the new version 1.1.11. I then stopped the server, checked it has been done, executed the make install and checked the configuration with the '-t' option...
