I have been trying, for about 2 weeks off and on, to install sage math cloud on a single node server. I have found that there is a lot missing from the install documentation, and have managed to piece together what I needed to do by reading the coffee scripts. However, I have some weirdness going on in that it does not work. I can get as far as signing up for an account and logging in, and I can create projects but those projects cannot start. Also, no files are created in /projects (even though permissions match). Also, I cannot run the hub as a daemon, it immediately quits. Running it in the foreground, however works.
Anyway, here's where I'm at right now. I can create a project, but when I try to start a project I get the following on my foreground hub (as the last action):
2016-08-18T23:12:53.319Z - debug: [1 concurrent] [0 modified] rethink: query time using (00ed2d2d-7f26-41df-93a8-c8bb5b8cf5a5) took 7ms; average=5ms; -- 'r.db("smc").table("projects", {"readMode": "outdated"}).get("7c84ab6d-8a67-4466-97dc-8ab1eb2b3cdd").replace(r.row.without({"host": {"host": true}}))'
2016-08-18T23:12:53.319Z - debug: ProjectClient(project_id='7c84ab6d-8a67-4466-97dc-8ab1eb2b3cdd','undefined').open: request to open on 'mccs'
2016-08-18T23:12:53.320Z - debug: ProjectClient(project_id='7c84ab6d-8a67-4466-97dc-8ab1eb2b3cdd','undefined')._storage_request(action='open',target='mccs'):
2016-08-18T23:12:53.320Z - debug: ProjectClient(project_id='7c84ab6d-8a67-4466-97dc-8ab1eb2b3cdd','undefined')._storage_request(action='open',target='mccs'): no storage servers -- so all _storage_requests trivially done
2016-08-18T23:12:53.320Z - debug: ProjectClient(project_id='7c84ab6d-8a67-4466-97dc-8ab1eb2b3cdd','undefined').open: succeeded in opening; wait until host set
That sequence then repeats itself over and over again, so this leads me to some questions:
1.) Does compute need to run as root? I've tried it both ways, nothing seems to change though.
2.) How does SMC create new accounts on the server? When I run things like "who -u" on cloud.sagemath.org, I appear to be alone on the server,
though I know I'm not because the load is usually somewhere around 8 or 10.
3.) Is there some critical package, like some sort of virtualization software, that I'm missing?
I would like to get up and running so I can begin trying to do some dev work, but a lot of the code surrounding the areas in question
is highly convoluted, which makes it difficult to figure out. Has anyone else managed to install SMC?
Thanks,
Robert Lowe
Assistant Professor
Maryville College