Did you follow the directions here using packer?
digitalocean: Error waiting for snapshot to complete: Timeout while waiting to for droplet to become ‘active’
why im having this error now?
Is EC2 not longer supported? Or will it come back?
I just wonder why there is a screencast for EC2 Installation but not for digital ocean.
Hey guys,
just set up a new Coronium LS Instance on digital ocean.
Also activated SSL.
So hows that working? xD
Is there some kind of dashboard, like there was on the old Coronium?
And how to access it?
Thank you
I have the same error:
==\> digitalocean: Gracefully shutting down droplet... ==\> digitalocean: Creating snapshot: CoroniumLS-1.3.3-1473581909 ==\> digitalocean: Waiting for snapshot to complete... ==\> digitalocean: Error waiting for snapshot to complete: Timeout while waiting to for droplet to become 'active' ==\> digitalocean: Destroying droplet... ==\> digitalocean: Deleting temporary ssh key... Build 'digitalocean' errored: Error waiting for snapshot to complete: Timeout while waiting to for droplet to become 'active'
I followed all steps. The snapshot is there but no droplet. I generated a droplet with the snapshot and it worked, but coronium is not responding.
Any ideas? Would be nice if someone could make a better tutorial on how to set up coronium LS on digitalocean, there are a lot of open questions.
Thanks!
Sunmils and Rene,
Can you check that your API key for Digitalocean is valid?
Same thing happened to me, generated a droplet with the snapshot and it works. Did you do “sudo cloud up” to start the processes?
Also to the other poster, no, there isn’t a dashboard that I’m aware of.
I will use my coronium 1.93.5 instance @ EC2, that causes me less friction, and for my needs it seems to be sufficient.
Having just implemented a Coronium instance on Digital Ocean, I’m wondering what the difference is with this new version? Is there a migration path? Are they completely different?
Amazing!
I also have a modified version of Coronium (added multi app support for objects/users and a few functions to get app default configurations) running on Digital Ocean.
Looking forward for more informations on this Coronium LS.
@Dotnaught More info is coming via screencast. They are different, so it will depend on your use case.
@PXL artificer Thats sounds awesome! Are you able to share?
Cheers.
It’s something very very simple I’ve kinda hacked together because I have a few apps that don’t have that much traffic to require a dedicated server… I’m not sure it’s really worth sharing tbh
I’m not in my office right now, but basically what I did was, in the client library, to conceptually change appId to serverId and add a new appId to select a specific app.
Then I changed the endpoint function from handling requests like
to
In Coronium server I modified the lua files managing the incoming requests to use the appId like a “prefix” for queries…
I mean, if from client I’m querying a class called “testTable” with an appId “testAppId”, I’m actually referring to a “testAppId_testTable” class on the server…
So, two apps using different appIds can use the same class names (client side) without causing conflicts, since on server they’re distinct classes.
I think the User table works a little different but I can’t remember exactly now (and I’m actually not using it for my apps).
The “getConfig” (inspired by parse.config) instead is a function querying a Configuration class (containing different objects with the configuration of the apps). It uses the appId & the time of the last request to return the newest config data (or blank if the user has already the most updated config).
PXL, I like what you did there. I set up for multi-tenant also but I like how you modified the routes to make the call more restful. I may have to steal this from you.
Looking forward to the beta Chris.
-Ed
Congratulations Chris, looking forward to seeing your progress!
As an aside I’m very much bought into Coronium Cloud and am just wondering if you think you’ll still have a chance to get a new image on AWS?
Thanks, and keep up the great work
Hi folks,
Been a bit slow-going through pre-release-beta-beta testing, and general project organization (Lua+Mongo are not good cousins), but “hopefully” will be throwing together a quick screencast soon along with deployments, and source code (did you see the “hopefully” part?).
On first release you’ll be able to work locally, send ‘pristine’ images to your DigitalOcean account, or use a pre-baked Amazon AMI. Other deployment methods are possible, but more on that later.
This is a more serious affair (not that Coronium Cloud wasn’t), but as an open source project requires the use of more standardized tools and organization.
With that in mind, if you’re bored waiting around, you might want to set some of these tools up now. What you need depends on what you plan on doing with the software, for instance:
“I want to use Coronium LS locally as I develop my Corona SDK app.”
Install : VirtualBox, Vagrant
“I want to host my Coronium LS images on a DigitalOcean account.”
Install : Packer
“I want to run Coronium LS on an Amazon EC2 AMI.”
Install : AWS Account
“These docs would be better if…”
Install : MkDocs
“I would love to hack on some of that Coronium LS project code. It’s a good thing I understand Chef cookbooks, as well as, Lua.”
Install : SourceTree (or the like), VirtualBox, Vagrant. If you are going to be compiling to DigitialOcean, or would like to help integrate other “builders”, you will also need Packer. DigitalOcean is the only provided “builder” at this time.
All of these tools are very simple to install. You won’t actually have to learn how to use these tools (unless you’re hacking core), they just need to be available on your system.
Thank you everyone for all the encouragement, it’s like virtual coffee.
And boy, do I need it…
I absolutely get that this kind of thing takes time and effort, as well it has hidden surprises and delays. I am very much looking forward to this and am very much willing to wait.
Having said that, thanks for the awesome start early list. At the very least this gives me more interesting things to check out and for others I think this will give them a good leg up on an early setup.
Cheers,
Ed
@Chris, keep up the good work. I’ve been in this industry for so long that I know for a fact that nothing is going as fast as we would like and there is always those delays and/or problems that arise regardless of the plan.
We are with you
regards,
Nick
Also, I wanted to point out that for general use, you don’t actually need to learn those tools listed. They just need to be on your system, as you’ll be working with the source code directly.
Cheers.