Closed chriswhong closed 7 years ago
I was able to get this working with my old docker volumes! Thanks and nice work.
The new version does actually seem to be consistently rendering more than a subset of my 68mil points now (referring to the feature truncating bug that the carto team suggested to us as being recently fixed at js.geo).
I may have had to manually bundle exec rake db:migrate
for the old database and I definitely needed to use the database console to update the users' last_name
to a string and org_admin
to TRUE.
Hi @thadk, thanks for the feedback! I was happy to get the build working on its own but had not yet tried to make it use volumes from a previous version.
I may have had to manually bundle exec rake db:migrate for the old database and I definitely needed to use the database console to update the users' last_name to a string and org_admin to TRUE.
I was expecting to have to do a rake migrate
, but why did you need to change the user's last name and org_admin? Can you say more about how to do that?
Only just now seeing this: There were errors in the startup logs that indicated values in those columns were invalid for the pre-existing users from the old database that I wanted to use until I manually inserted them. These errors prevented the login page from accessing the platform. I tried to modify them using the Rails console rather than PostgresSQL console but even with .save()
it did not seem to persist. After the schema was updated with migrate, I ran a SQL UPDATE
query to set those two columns for my user.
This PR includes changes to
Dockerfile
and thecreate_user
script that yielded a successful build on 3 September 2017 (carto UI v.4.9.54)