Submodule for cartodb-postgresql out of sync with versions in code
See original GitHub issueAs of now (at commit a7366989811321929858c4fbbf9a4cd4c96e7df7), the master branch includes two places where the cartodb
postgres extension version is hardcoded:
and
However, the submodule reference at lib/sql
is pointing at
https://github.com/CartoDB/cartodb-postgresql/tree/32db4fd81efcba0be0686a0bf67f8cdb62f1133c
Which is the hash for the extension’s 0.29.0 release.
It’s causing this error on user creation:
#<Sequel::DatabaseError: PG::InvalidParameterValue: ERROR: extension "cartodb" has no update path from version "unpackaged" to version "0.30.0"
CONTEXT: SQL statement "CREATE EXTENSION cartodb VERSION '0.30.0' FROM unpackaged"
PL/pgSQL function inline_code_block line 10 at SQL statement
@rafatower - Looks like this is from your commit 580b16befba999d24723daa5e2ed2a0c547faa43 – Can you update the submodule version target for lib/sql
to match the hard-coded version strings?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
git submodule update vs git submodule sync - Stack Overflow
update is basically doing git pull in each submodule (except without a branch, since the main repo specifies a commit directly).
Read more >git-submodule Documentation - Git
If --recursive is specified, this command will recurse into the registered submodules, and sync any nested submodules within.
Read more >How to update Git submodules - TheServerSide.com
If your Git submodule is out of sync with the server, we can help. This git submodule update example shows you how to...
Read more >Git submodule - Atlassian
A git submodule is a record within a host git repository that points to a specific commit in another external repository. Learn more...
Read more >Mastering Git submodules - Medium
However, it can happen that submodule code cannot be tested, or even compiled, outside container code. Many themes and plugins have such ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Finally fixed in parallel here: https://github.com/CartoDB/cartodb/pull/15052
Closing this.
Thanks, Nick for reporting.
Thanks for the fix, @rafatower!