Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

thumbnail
Daniel M. Ingram, modified 4 Years ago.

Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
Dear DhOers,

At long last, Manish Yadav says he is about ready to upgrade the Dharma Overground's Liferay platform to version 6.2 from 5.2.2.

During that time, it will be down for about 9 hours, he thinks, and then we will need to test it, so presume at least 12 hours or so. When exactly that will happen I am not sure, but I will keep you posted here. If you find the DhO site available then, anything you post will not show up on the new site unless we manually move it, meaning it might not show up at all, given resources available.


We should have some increased functionality related to wiki author controls and other things, as well as increased compatibility with mobile devices such as phones and tablets and the ability to use the latest plugins, etc. should we choose.

The theme will be all cattywumpus during this time and until someone upgrades it. My sister is considering it, but I haven't heard back from her, so I may need a volunteer to get it back to something like it was, or a more updated version that still includes the logo. Liferay uses CSS for those who are curious. I would greatly appreciate any help you can lend and vision and creativity you can bring to make the theme something that is at once inviting, easy on the eyes, and yet keeps with the basic feel of the DhO so that people will recognize it. I could pay a bit to someone if they needed the paid time to make it happen.

Please go on the staging server if you are curious and play around to make sure you can log on and things are working properly. The link is here. If you find anything that doesn't work or you can't log in, post your thoughts here.

I am extremely grateful to Manish for all of his work on this.

Further updates will appear here.

Daniel
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
Oh, yes. When playing around with the new platform on the test server, it might at times jump back to the real/current/old version. This is due to the fact that both are running basically in the same server. If it jumps back to the old one, just hit the back arrow and you should get back to the test one. The test one is blue and white and black, whereas this one is brown, in case it wasn't obvious. ;)

Daniel
Adam . ., modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 613 Join Date: 3/20/12 Recent Posts
glad to see that the search function works very well

thanks for the work all you people have put in! ;)

one issue is that on the "recent post" page there are no recent posts. I am not sure if they are intended to start filling in later or what but i thought i should let ya know.
thumbnail
No-Second-Arrow Z, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 58 Join Date: 8/14/13 Recent Posts
Daniel M. Ingram:

We should have some increased functionality related to wiki author controls and other things, as well as increased compatibility with mobile devices such as phones and tablets and the ability to use the latest plugins, etc. should we choose.
Daniel

I recently discovered that I was unable to post through my mobile phone, hopefully I will be able to after this upgrade. Hardly use the pc anymore these days.
thumbnail
John P, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 155 Join Date: 1/24/12 Recent Posts
Daniel M. Ingram:
The theme will be all cattywumpus during this time and until someone upgrades it. My sister is considering it, but I haven't heard back from her, so I may need a volunteer to get it back to something like it was, or a more updated version that still includes the logo. Liferay uses CSS for those who are curious. I would greatly appreciate any help you can lend and vision and creativity you can bring to make the theme something that is at once inviting, easy on the eyes, and yet keeps with the basic feel of the DhO so that people will recognize it.

I probably can help with that. I'm not a very creative person, but I know my way around CSS.
thumbnail
Pål S., modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 196 Join Date: 8/16/10 Recent Posts
I'm not one to hate on the wood-panel background and rubber stamp logo, but perhaps this could be an opportunity to freshen things up a bit? Do we really want to drag the old furniture into the new house?
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
I do hope to modernize and clean things up a bit when the theme is redone. I agree, the design is well, lacking, but it was an ok temporary fix when we were getting the place together and it just never really got updated, and it was better than the other options we had at the time, and it got us this far.

For the new platform, I would hope for something that still says Dharma Overground but doesn't say 70's ranch house in cheap wood paneling with slightly mismatched brown paint like the current one does.

If someone with some design skills wants to get together with those with CSS capabilities, that would be great!

I currently like the design motif of iOS7, but perhaps with just slightly more edge, whatever that means.

Let me know if you are interested in taking this on. Again, I could pay a little something if someone wanted to do it, but free is always a fine option for those who wish to give something back.

Daniel
thumbnail
triple think, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 362 Join Date: 8/22/09 Recent Posts
Will home pages become functional at this point?

- nathan
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
As to home pages, I don't know but will look into that.
thumbnail
Pablo . P, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 379 Join Date: 3/21/12 Recent Posts
Daniel M. Ingram:
Please go on the staging server if you are curious and play around to make sure you can log on and things are working properly. The link is here.


IMO, the look and feel of the new version is nice enough.
thumbnail
sawfoot _, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 507 Join Date: 3/11/13 Recent Posts
I have been having huge slow downs of late - pages refusing to load etc..Had a similar problem when I looked at the new forum.

Personally the current default theme feels like the DhO to me - wouldn't be quite the same without it...
thumbnail
triple think, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 362 Join Date: 8/22/09 Recent Posts
hi Daniel, Yadav;

I don't know how you are hosting this site, be it via a PC in the basement or via some local ISP or what but I am observing some latency that is making posting more or less pointless for participants.

I have a 1G Ethernet network at home and 1G fibre connection locally, this runs to the same boorish Telcos that have the entire country throttled down to about 150Mbs and then gets routed on to Comcast and out.

Your site comes back at about
137 bytes/sec
so it works like this for me
click
leave and do something else for about five to ten minutes
come back and see if the click has been sent and received or not
if so press another button
etc...

Not sure why this is, a question of 'conditions' naturally.
You may or may not know better what kind of demands readership aka 'lurkers' place on your server. One way or the other your hardware is not up to the task

consequently, given my tolerance for the widespread shortcomings of network hardware and software engineering and the workarounds I have developed, I am probably almost the only guy with the patience to continue posting at all.

so unless you are into leaving the situation at that

this is 'a word to the wise'

best wishes with the upgrades
triplethink /// nathan
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
yep, something is going wrong, and I don't know what it is.

I have a request in to Omegabit, who hosts this place at the Epsilon level (dedicated CPU, etc., meaning really solid hosting, in theory, at a cost of nearly $180/month, meaning should totally rock), but they haven't gotten back to me.

It is one of the day's projects. I am getting very long pauses. I dumped the garbage, reindexed the search index, and still it crawls.
thumbnail
Chris G, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 118 Join Date: 8/22/09 Recent Posts
Daniel M. Ingram:
yep, something is going wrong, and I don't know what it is.

I have a request in to Omegabit, who hosts this place at the Epsilon level (dedicated CPU, etc., meaning really solid hosting, in theory, at a cost of nearly $180/month, meaning should totally rock), but they haven't gotten back to me.

It is one of the day's projects. I am getting very long pauses. I dumped the garbage, reindexed the search index, and still it crawls.


I find that sometimes DhO is responsive, and sometimes it isn't. I wonder if it could be search engines crawling the site and downloading all the content? It looks like you have google analytics up and running. Can you figure out where most of the site accesses are coming from?
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
We seem to be up and running fast again: not sure what happened.

My sister has asked that I find someone else to do the theme update. Any takers? I can't just keep the current one, as it apparently won't directly cross over to 6.2 without some tweaking, so I have been told.
thumbnail
John P, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 155 Join Date: 1/24/12 Recent Posts
Daniel M. Ingram:
My sister has asked that I find someone else to do the theme update. Any takers? I can't just keep the current one, as it apparently won't directly cross over to 6.2 without some tweaking, so I have been told.

As long as I have a precise idea of how it is going to look, I can do it.

So if you want to just make it have the same look for now, I can do it.
This weekend I have free time to work on it.
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
Your offer is a kind one. Perhaps the best thing is to just do it, meaning create the theme for 6.2 just like this one is, and someone can tweak it later if someone with better design skills than me shows up to help.

One thing you might do is slightly change the color of the background around The Dharma Overground logo up top so that it matches the other browns a bit better. It seems slightly too creamy or something. Or, just leave it like it is.

The staging server seems to be down at the moment, otherwise you could play around there. Anything you need on this end? I will temporarily make you an administrator so you can get this done.

Remember, apparently it has mobile versions, and how that works in 6.2 I don't know, but perhaps that impacts the way it is coded.

There is a small possibility that I might get my sister to be able to design something slightly cooler that you could code: I will ask her, as her barrier to doing this was a lack of familiarity with Liferay 6.2 (she generally works in Wordpress). I will post her response here.

Let me know if you need anything to help you do this,

Daniel
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
For those who care about the tech, here is the info I got from Chris, who runs the server this place runs on:

"Hi Daniel,

Thanks for the heads-up this morning - the NOC was on it when you called. Traffic to your site looks to be up since the 10th, with some big spikes in the last few days, which is placing the CPUs under increased load. (Maybe because of the holidays more folks have time to visit? - or perhaps you got some more good press I hope?). It also looks like the kernel may have been updated - perhaps as a function of developer activity, and the VMWare plugin that keeps the OS running smoothly in the virtualization layer was out of date. Having the second developer portal running idle in the background was also not helping because it was eating cycles. The prod portal is occupying most all available memory and cpu these days due to load. Basically, the host was overloaded due to a combination of circumstances.

We rebuilt the VMWare plugin and resintalled it for the current kernel version, restarted the server, and also rebuilt the indexes on the portal as a precautionary measure. The developer instance of the portal has been left stopped.

Overall, loads look much better and the portal seems to be performing well from our perspective - I'd like to hear yours, so, please test and let us know.

Be aware that the server is -on the whole- busy. Loads are at about 1.5; 2 is considered fully-occupied (before the maintenance it was 6-8, which is overloaded). At this point running the second dev portal in parallel while your production environment is busy will cause the server to back-up and get slow. We can add additional memory and CPU to accommodate the second portal - and it can certainly co-exist to fulfill a cutover/migration - but, I would not leave it running or place it under load without adding more horsepower to match. My recommendation if you want prolonged use of the second portal is to add 1 cpu and 2GB RAM - I can offer this at $100/mo, which includes a $25 discount off of our standard rates.

There may be a point where adding additional CPU resources will make sense to continue to provide good performance purely for the primary production instance of the portal. Two factors that will impact resource requirements are the volume of content and the number of concurrent users - each of which has a progressive impact on load as they increase over time, which is fairly linear. Given the current patterns of activity, and assuming the second dev portal is left off, It is not absolutely critical at this time. But, you might consider planning for it if the site continues to grow and you want to maintain a good level of responsiveness for the site. The best performance would come by splitting the app server and DB server into separate nodes (essentially double your current footprint, and cost - I can extend a small discount), then, adding CPU and RAM to scale up as needed down the road. But, adding more horsepower to the current host can be done a bit less expensively. with a slightly lesser result, but still of benefit.

Adding the additional 1 core and 2GB RAM would be $100/mo additional
Splitting the services into two server containers would be $360/mo - I know resources for this project are tight - I can do it for you for $300/mo if you opt for this option.

We'll continue to monitor for further indications of overload, but at least under the load conditions you are probably OK and should see "normal" performance again for your site.

Do let me know how it appears from your perspective, now.

Take care and Happy Holidays!

-Chris"

I guess they took the test server instance of 6.2 down so that the place would be able to handle the load of the holidays. I am going to hold tight for the moment on the server power but will take it up to the next level if I have to: keep me informed of your experiences with pauses and the like so that I will know if we have enough to keep it running smoothly.
thumbnail
sawfoot _, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 507 Join Date: 3/11/13 Recent Posts
Daniel,

I am sure people would be happy to help out if you set up a paypal donation fund for server costs etc...
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
I am sure people would help out, and, should I ever get to the point where I can't afford it, then we will all be glad for their generosity, but for the moment it is much easier for me to just pay it and not worry about all the complexities that taking donations would involve, such as my ugly tax bracket and the accounting time and the like, as the DhO is not a registered charity, just a private site, and so this is currently much more convenient. Want to help out? Save lives: give to Doctors Without Borders.
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
The DhO will be upgraded at long last starting Christmas Day, Dec 25th, meaning tomorrow, at 3am Central Time. The process in theory will last for about 7+ hours but, in practice, you know how things can go.

It may seem at points during this time, but things posted then might have to be manually upgraded and might just get lost in the process, so basically I would avoid posting this Christmas Day.

What a fine Christmas present this will be, the culmination of over 2 years of work by various people.

I hope the new platform enhances numerous aspects of the place.

Merry Christmas everyone, and see you on the 26th,

Daniel
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
There apparently has been a nagging glitch that has caused the upgrade process to hang when going from 6.1 to 6.2, but Manish is working on it and thinks it will be done in a few days. May thanks to him for his tech work on this.

He says that you can continue to post and he will manually transfer posts in the interim to the new platform.

I hope you all are enjoying the holiday season,

Daniel
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
Well, the glitches continue, which has been par for the course. The Upgrade process continues to be stalled by one thing and another.

Should the DhO go down at some point in the next little bit here, don't be surprised, as it is likely part of the upgrade process.

When upgraded to 6.2 the theme will be this white/black/blue/grey thing, but hopefully it won't be long before we have something like the old theme up again.

More updates here as they become available.

Happy New Year,

Daniel
thumbnail
triple think, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 362 Join Date: 8/22/09 Recent Posts
so far so good on this end

there is still something very f-ed up with my account
I have no idea what
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
If the place is down at any time in the next few days or weeks or whatever until we can get up on 6.2 in a stable and functional way, please forgive the downtime, as it is just part of the growing pains.

6.2 is causing headaches and producing all sorts of errors when we shift it to be the main website. It works on the test server on Omegabit and it works on Manish's home server, but it doesn't work when we make it the DhO for real, and why this is they have no idea, but they are working on it.

An exercise in patience for us all,

Daniel
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
Chris Stavros of Omegabit is back from his travels this Monday and so will have some ideas about how to get upgraded to 6.2 and have it work, so the theory goes.

Thus, if in the next few days this place is down, then don't be surprised by that, and we will have it up as soon as we can.

Daniel
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
Well, so far it is largely crickets from Omegabit except that they may have some new person try to look at things when they can fit it in. I am exploring various options and will let you know how those go.
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
after much debate I have decided to host the dho at home on a tricked out mac mini
expct downtime in th next few days
sorry for any inconvenienc
no ammount of effort seemed to make upgrading possible on Omgabit
we'll see if this alternate strategy works
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
we are in the upgrade and testing phase now
downloading this database shortly
Expect delays, complexity, downtime, and more in the next little bit here
Hopefully this will get us on 6.2, which has some really cool features, mobile compatibility, etc
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
Yeah!
The DhO now has a copy running on my local server, so I suspect that shortly we will be able to switch over to running from there.

I will let you know when we do that. It might mean the place is down for a day or so. This is unavoidable, as DNS things will have to map across the globe to the new server.

Sorry about that. It will give me full control of the server and all of that, so hopefully it will allow me to make all this work.

I will try to give you warning, but expect it in the next few days.

Daniel
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
One thing we had problems with: setting up a public IP address on my Mac OSX Server on my Mac Mini here, which, BTW, it totally awesome: i7 2.3GHz, 16GB Ram, 500GB SSD drive, totally flies...

Any Mac people out there want to give me a hand?

Daniel
thumbnail
Rick M, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 100 Join Date: 1/1/13 Recent Posts
Daniel M. Ingram:
One thing we had problems with: setting up a public IP address on my Mac OSX Server on my Mac Mini here, which, BTW, it totally awesome: i7 2.3GHz, 16GB Ram, 500GB SSD drive, totally flies...

Any Mac people out there want to give me a hand?

Daniel


I use no-ip.com and some redirects to get a browser to point to my home machine, also a Mac mini.
thumbnail
Rick M, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 100 Join Date: 1/1/13 Recent Posts
Continuing on my laptop, since I can't type on my !#%!# tablet. Here's how no-ip works: you run a little app on your computer, that every hour or so figures out what your dynamic IP address is. You can then go to the no-ip web page and point domains registered there (with a very limited number of names) to that dynamic address.

I think you could perhaps point your dharmaoverground.org domain to forward to one of those noip domains.

However, I'm not a web-guy, so maybe some of the other uber-techs here can come up with a better solution.

no-ip is free, but the paid subscription isn't much, and I feel is insurance against their going out of business. There's a better known service called dyndns. Can't remember why I went with noip, to be honest.
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
I actually have a static IP that I just purchased from my ISP, but it appears to point to my Airport Extreme, as that is what is connected to the DSL modem.

The Mac Mini is set up as 10.0.1.15, which is a local address and set up as DHCP manual fixed at that local address.

The static IP address is something more complex.

How to make the world see the Mac Mini with a fixed IP?

Thanks,

Daniel
thumbnail
Rick M, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 100 Join Date: 1/1/13 Recent Posts
Awesome. That makes it much easier. The fact that your IP starts with 10.x.x.x makes me think you might be using Comcast's XFinity. Is this right? If so, I think I can walk you through the menus to get the IP to tunnel through to the web server.
thumbnail
Rick M, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 100 Join Date: 1/1/13 Recent Posts
Nevermind. I'm an idiot. You already said that you have an Airport Express. I don't know much about what that gateway looks like, since I've only used Linksys and Xfinity. But if you go to the setup page for the router (try loading 10.0.0.1), you should find a page somewhere that will let you tunnel individual ports through to different local IP addresses. Port 80 is what most web servers use. You just need to push port 80 to 10.0.1.15, and you should be up.

Some web servers use additional ports, in which case you would also have to forward them.
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
I go through Ardmore Telephone Company, a local mom-and-pop type shop, basically.

I have a DSL dual-line bonded Comtrend NexusLink 5631 modem running at 12mbs down and 2mbs up at the moment (this has varied) that the Airport Extreme is connected to by its Ethernet LAN port and everything else comes off the Airport Extreme via Wi-fi.

How to tell the Airport Extreme to make the Mac Mini something public and to give it an address that makes sense to DNS? I am running OSX Server, most recent edition, on top of Mavericks 10.9.1.

Thanks,

Daniel
thumbnail
Anne Cripps, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 28 Join Date: 11/12/13 Recent Posts
:-) Hi Daniel!

If no joy here, would it be worth posting a question on the Apple Support Communities website? The service is free. To browse, type a question but don't press the return-key, just wait a couple of seconds and some possibly-relevant answers will list below; if you select one of these, a few more possibly-helpful threads will list to the right under "More Like This". To submit a new question, first create a user-name and password; you may get a reply within the day (I've used the site a couple of times with some Mavericks queries recently, but alas I'm not techy so can't advise about setting up your Mini Mac).

Here is one from last year that may have some relevance.

Very many thanks for doing all this for us. Wishing you all the best with it (-:
thumbnail
Beoman Claudiu Dragon Emu Fire Golem, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 2198 Join Date: 10/27/10 Recent Posts
Daniel M. Ingram:
I go through Ardmore Telephone Company, a local mom-and-pop type shop, basically.

I have a DSL dual-line bonded Comtrend NexusLink 5631 modem running at 12mbs down and 2mbs up at the moment (this has varied) that the Airport Extreme is connected to by its Ethernet LAN port and everything else comes off the Airport Extreme via Wi-fi.

How to tell the Airport Extreme to make the Mac Mini something public and to give it an address that makes sense to DNS? I am running OSX Server, most recent edition, on top of Mavericks 10.9.1.

Thanks,

Daniel

Do any of the results for "airport extreme port forwarding" do what you want? Essentially you want to forward the external port 80 coming into the airport extreme into the internal port 80 of your mac... maybe in particular this or this help?
thumbnail
Tom O., modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 122 Join Date: 7/19/09 Recent Posts
I believe BCDEFG is correct...you want to be forwarding port 80 to the internal IP address of your Mac using Airport Utility. If, as you say, you have a static IP from your provider, then you would set your DNS to point at that. And as long as the thread IDs did not change during the migration to the newer Liferay, external links will continue to work as before once DNS has resolved itself.
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
You all have been most kind.

Ok, trying to parse all of this in my non-server-guy brain:

Let's say that my fixed address from the ISP was a.b.c.d

Let's say my Mini is called 10.0.1.99 as a fixed local address inside the local network done in Network TCP/IP by DHCP with fixed address.

I go into AirPort Utility

Go to Network tab

Change Router Mode to DHCP and NAT

I change the DHCP range to something that is from 10.0.1.1 to 10.0.1.98 so that the .99 address won't be assigned to something else.

And add a DHCP reservation using the MAC address e:f:g:h:i:j for example of the Mini and the 10.0.0.99 address.

Now, what this doesn't seem to address is the frequently mentioned Port 80: does this make it work without having to have actually seen anything that says Port 80? Is that using Port 80 somehow?

I also notice the Port Settings thing that allows port mapping. Anything there I have to do?

This is not my baseline skill-set, obviously. I am technical, but on this topic specifically ignorant.

I currently am unable to log in remotely to the Mini over Back to My Mac for unknown reasons (I am still in Tupelo this week but back for good next week, so will be working full time in Huntsville again and not commuting two weeks out of the month, yeah!) but will try it when I get home if I can't figure out how to log in remotely before then.

Anyone have time for a moment of tech help this evening? Let me know...

Thanks again,

Daniel
thumbnail
Beoman Claudiu Dragon Emu Fire Golem, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 2198 Join Date: 10/27/10 Recent Posts
Daniel M. Ingram:
Now, what this doesn't seem to address is the frequently mentioned Port 80: does this make it work without having to have actually seen anything that says Port 80? Is that using Port 80 somehow?

I also notice the Port Settings thing that allows port mapping. Anything there I have to do?

Yep, you have to add a rule that says: take incoming TCP connections to a.b.c.d, port 80, and forward them to the internal IP 10.0.1.99, port 80 (or whatever port the webserver is running on your machine).

Daniel M. Ingram:
I currently am unable to log in remotely to the Mini over Back to My Mac for unknown reasons (I am still in Tupelo this week but back for good next week, so will be working full time in Huntsville again and not commuting two weeks out of the month, yeah!) but will try it when I get home if I can't figure out how to log in remotely before then.

This might be related to the port forwarding also: you might have to forward the Back-to-My-Mac port to the same internal IP. Same rule, just different ports: I think TCP ports 5354, and UDP ports 4500 and 5353 according to this document.

Also if there's a firewall of some sort anywhere, make sure it allows those ports to go through...

Also maybe you can do this automatically via software? From here:
The Back to My Mac feature of OS X is designed to work seamlessly with compatible AirPort base stations. Please make sure that your AirPort software is up to date. This seamless integration is achieved through the use of NAT-PMP (NAT Port mapping Protocol) technology, which enables your computer to automatically configure your AirPort base station to provide services between your local network and the Internet.
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
I figured out how to get Back to My Mac working: deleted passwords in keychain, turned it off and on again, also set up access in the Airport Extreme, now working fine.

Next project: figuring out this port thing...
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
I have set up Port Forwarding of Port 80 for Personal Web Sharing with the Mac Mini at 10.0.1.99.

This has been a fun learning process if frustrating at times, kinda' like meditation.

We will see if we can get this to fly...
thumbnail
Rick M, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 100 Join Date: 1/1/13 Recent Posts
Sounds like you've gotten all of the things configured that I can think of. Best of luck going live with the new version.
thumbnail
Pål S., modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 196 Join Date: 8/16/10 Recent Posts
I have a small server at home on a fiber link. Was thinking it could help out with load balancing or clustering. Looked into that but the Liferay/Java/Tomcat/XML setup and config is too complicated for me. Just wanted to let you know though in case you need some static hosting, offsite backup, etc. in the future.
thumbnail
Daniel M. Ingram, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
That is most kind of you. I will keep that in mind.

BTW: for anyone doing this: the trick seems to be to set up the port forwarding for the AirPort in OSX Server and not through AirPort Utility except the DHCP reservation.

I actually found setting up the Liferay/Apache/MySQL/Tomcat thing the easy part, and this is definitely outside my general skill-set, so, if you are curious, you might just download those and give it a go. Make sure to get the MySQL control panel app thing.

Just curious: how fast is fiber?
thumbnail
Pål S., modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 196 Join Date: 8/16/10 Recent Posts
I'm pretty sure I could get a vanilla Liferay installation up and running, the tricky part is sharing information between two installations, like session data and databases, I don't feel comfortable blindly following an online guide and then being unable to fix things if/when it breaks.

I have a 100/100mbit link.
thumbnail
Beoman Claudiu Dragon Emu Fire Golem, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 2198 Join Date: 10/27/10 Recent Posts
Oo that's gonna be tough. Essentially you want to do live replication between two databases, in both directions (so if they post on yours, it shows up on Dan's, and vice versa). My understanding is that this is non-trivial even for one technical person to do with resources they have 100% complete over.
thumbnail
Eric G, modified 6 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 132 Join Date: 5/6/10 Recent Posts
Not sure if this has been mentioned somewhere but I figured I'd share how the site looks like to me in case it's not obvious, which I have to assume it is. I would also vote for a larger font. Thanks for all the behind the scenes work.

thumbnail
John P, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 155 Join Date: 1/24/12 Recent Posts
Hi Eric, this was either a temporary or a local bug. Press ctrl+F5 and see if this still happens.

Right now the layout in the same as before. I'm not sure if there was an upgrade yet or not.
thumbnail
Eric G, modified 6 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 132 Join Date: 5/6/10 Recent Posts
John P:
Hi Eric, this was either a temporary or a local bug. Press ctrl+F5 and see if this still happens.


Thanks!
thumbnail
Daniel M. Ingram, modified 6 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
Well, we got really close and then my server guy who had helped me for months just vanished off the ePlanet.

Here is the state of things:

I have had a working copy of 6.2 Liferay on OSX up and running on my local Mac Mini with data from back in January in the database, and we were about to trade over and he suddenly stopped replying to my emails for no obvious reason and without explanation.

Anyway: anyone want to help me out with this?

We are very close. If I could get someone to help me finish this up, that would be totally awesome!

Basically, as I see things, we need to update the data from the DhO, test the thing, and switch the pointing of name www.dharmaoverground.org to the MacMini. I could be missing something important, but that is my basic sense of the thing.

I have free days on Wednesday and Thursday of this week and stay up late, in case anyone would donate their time to help me sort this out. If not, it is back to the hunt for a server person.

Any time given would be much appreciated.

Daniel
thumbnail
Simon E, modified 6 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 248 Join Date: 9/23/11 Recent Posts
Hi Daniel,

As this doesn't really seem to be getting anywhere I'll step up and help out. I have no particular experience with the Liferay platform but I have 15 years of professional experience with server hosting/administration/etc. We've discussed Liferay related issues previously a year or two ago.

Send me an email at 'simon at theoak dot se' and we can discuss it if interested.

Simon
thumbnail
Daniel M. Ingram, modified 6 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 3166 Join Date: 4/20/09 Recent Posts
Manish says he will be free after April 20th to help upgrade things. We will see how that goes.

In the meantime, I have shut down the invite and mail portlets to see if that helps us not be producing spam. I do not know if it will work. That will probably mean that nobody can join until then. Such is life.

If you have any problems between now and then, such as needing a password updated or retrieved or something, ask me directly.

Thanks,

Daniel
Dharma Overground Underlord
thumbnail
Beoman Claudiu Dragon Emu Fire Golem, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 2198 Join Date: 10/27/10 Recent Posts
This happens on occasion. No idea why. It'll go away soon enough. Maybe clear your cache and stuff
thumbnail
Beoman Claudiu Dragon Emu Fire Golem, modified 7 Years ago.

RE: Liferay 6.2 Platform Upgrade, at Long Last, and Downtime

Posts: 2198 Join Date: 10/27/10 Recent Posts
Daniel M. Ingram:
Yeah!
The DhO now has a copy running on my local server, so I suspect that shortly we will be able to switch over to running from there.

I will let you know when we do that. It might mean the place is down for a day or so. This is unavoidable, as DNS things will have to map across the globe to the new server.

Sorry about that. It will give me full control of the server and all of that, so hopefully it will allow me to make all this work.

I will try to give you warning, but expect it in the next few days.

Daniel

One question I just thought of - will old hyperlinks still work? There are tons of links on the internet and within the DhO that link to particular threads and posts... it'd be a shame if the links were to break after the update.

Breadcrumb