Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Upgrade to Ubuntu 14.04 LTS #106

Closed
techtonik opened this issue Nov 4, 2015 · 28 comments
Closed

Upgrade to Ubuntu 14.04 LTS #106

techtonik opened this issue Nov 4, 2015 · 28 comments
Milestone

Comments

@techtonik
Copy link
Contributor

We are running Ubuntu 12.04 on grtp.co droplet, which is probably the reason we still use Node 0.10.28. And the latest Gulp version requires Node 0.12+ https://travis-ci.org/gratipay/grtp.co/builds/89163317#L90

https://www.digitalocean.com/community/tutorials/how-to-upgrade-ubuntu-12-04-lts-to-ubuntu-14-04-lts

@techtonik techtonik added this to the Cleanup milestone Nov 5, 2015
@chadwhitacre
Copy link
Contributor

@techtonik I'll invite you to our Digital Ocean team. Can you email me at chad@zetaweb.com (or post here) with the email address you'd like me to use?

@techtonik
Copy link
Contributor Author

@whit537 techtonik@gmail.com will do.

@chadwhitacre
Copy link
Contributor

Invite sent!

@techtonik
Copy link
Contributor Author

@techtonik
Copy link
Contributor Author

I don't see a way to make switch to new version without downtime without paying for the extra node, so it will take a while.

@techtonik
Copy link
Contributor Author

Taking down the server..

@techtonik
Copy link
Contributor Author

Taking snapshot..

@techtonik
Copy link
Contributor Author

Connection restored..

@techtonik
Copy link
Contributor Author

@techtonik
Copy link
Contributor Author

@techtonik
Copy link
Contributor Author

vimrc config is different from default.

nginx.cong is also different:

--- /etc/nginx/nginx.conf       2013-11-28 02:54:57.347202913 +0000
+++ /etc/nginx/nginx.conf.dpkg-new      2013-05-09 03:20:27.000000000 +0000
@@ -1,6 +1,6 @@
 user www-data;
 worker_processes 4;
-pid /var/run/nginx.pid;
+pid /run/nginx.pid;

 events {
        worker_connections 768;
@@ -38,15 +38,14 @@
        ##

        gzip on;
-       #gzip_disable "msie6";
+       gzip_disable "msie6";

-       gzip_vary on;
-       gzip_min_length 500;
-       gzip_proxied any;
-       gzip_comp_level 2;
+       # gzip_vary on;
+       # gzip_proxied any;
+       # gzip_comp_level 6;
        # gzip_buffers 16 8k;
        # gzip_http_version 1.1;
-       gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
+       # gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

        ##
        # nginx-naxsi config

@techtonik
Copy link
Contributor Author

Why do we have disable gzip_vary on? @rummik ? For now I am putting it back to original Ubuntu version.

@techtonik
Copy link
Contributor Author

Restarted..

@techtonik
Copy link
Contributor Author

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 13.10
Release:        13.10
Codename:       saucy

Well... Seems like the process needs to be repeated.

@techtonik
Copy link
Contributor Author

Changing kernel from control panel..

@techtonik
Copy link
Contributor Author

Rebooted..

@techtonik
Copy link
Contributor Author

# uname -ri
3.11.0-26-generic i686

@techtonik
Copy link
Contributor Author

Disabled password authentication for root as prompted.

@techtonik
Copy link
Contributor Author

Upgraded to Ubuntu 14.04.3 LTS (GNU/Linux 3.13.0-67-generic i686). Wheew..

@chadwhitacre
Copy link
Contributor

Yay! !m @techtonik 💃

@techtonik
Copy link
Contributor Author

I will try to up it to 15.10 once I repeat the configuration on local node.

@rummik
Copy link
Contributor

rummik commented Nov 16, 2015

@techtonik Old workarounds for IE6. The default should be fine now.

Seems like I recall there being a bug in the version of NGINX we were using at the time

@techtonik
Copy link
Contributor Author

@rummik yea, it always helps to have config changes commented with references to such bugs.

@rummik
Copy link
Contributor

rummik commented Nov 17, 2015

@techtonik Yeah. I don't know what I was thinking at the time :P

@techtonik
Copy link
Contributor Author

@rummik nobody thinks about comments are needed until somebody else tries to read the code. =)

@rummik
Copy link
Contributor

rummik commented Nov 18, 2015

@techtonik I think it was mostly because of how useless I thought making it work well in IE6 was xD

@techtonik
Copy link
Contributor Author

Maybe it was not useless at that time. Sometimes it is just interesting to hack and it is impossible to resist. 🚶

@rummik
Copy link
Contributor

rummik commented Nov 20, 2015

I didn't really want it in there. IE6 was part of the reqs at the time, and now it isn't

techtonik added a commit that referenced this issue Apr 25, 2017
Because it is what our droplet is using (#106)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants