Closed natea closed 5 years ago
Apparently the install script is only known to work on a fresh install of Ubuntu 16.04, and anything other than that may have issues. I'm a bit stumped, since it failed on my U14.04 setup and the only dependencies that aren't OS-agnostic are Pip and Docker. I'll try this out a bit more and see if I can find a fix
Thanks Theodor. Any luck tracking down a fix?
Now it doesn't seem to complain about creating the database anymore:
$ sudo docker-compose run --rm -e RAILS_ENV=production web rake db:create
Password:
Starting local_db_1_e6351c097e85 ... done
Starting local_tango_1_b01116f87ab0 ... done
app_autolab_development already exists
Huh, looks like sudo was the error. Are any of the other rake db:
commands working? I haven't found a fix, but at this point, it looks like it's already created the database and you can proceed with the migration.
I ran the migrate command earlier and it executed without any errors: https://gist.github.com/natea/e504f66320e719a2fb99dfc192a2a897
It's the autolab:populate
that is still giving the permission denied error. https://github.com/autolab/autolab-oneclick/issues/18
I'm running
install.sh -l
in my MacOSX, and when it tries to startlocal_db_1_e6351c097e85
, it fails when it tries to connect to the MySQL server and thus fails to create the database