Comments (2)
So, there is currently no update path for existing instances? Thanks for the warning.
from b2share.
Any news on this one? Upgrading an existing instance fails with:
b2share_1 | INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
b2share_1 | INFO [alembic.runtime.migration] Will assume transactional DDL.
b2share_1 | Load root schemas.
b2share_1 | LOADING root schemas from "/eudat/b2share/b2share/modules/schemas/root_schemas".
b2share_1 | READING schema from "root_schema_v0.json"
b2share_1 | Traceback (most recent call last):
b2share_1 | File "/usr/local/bin/b2share", line 33, in <module>
b2share_1 | sys.exit(load_entry_point('b2share', 'console_scripts', 'b2share')())
b2share_1 | File "/usr/local/lib/python3.6/site-packages/click/core.py", line 716, in __call__
b2share_1 | return self.main(*args, **kwargs)
b2share_1 | File "/usr/local/lib/python3.6/site-packages/flask/cli.py", line 345, in main
b2share_1 | return AppGroup.main(self, *args, **kwargs)
b2share_1 | File "/usr/local/lib/python3.6/site-packages/click/core.py", line 696, in main
b2share_1 | rv = self.invoke(ctx)
b2share_1 | File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1060, in invoke
b2share_1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
b2share_1 | File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1060, in invoke
b2share_1 | return _process_result(sub_ctx.command.invoke(sub_ctx))
b2share_1 | File "/usr/local/lib/python3.6/site-packages/click/core.py", line 889, in invoke
b2share_1 | return ctx.invoke(self.callback, **ctx.params)
b2share_1 | File "/usr/local/lib/python3.6/site-packages/click/core.py", line 534, in invoke
b2share_1 | return callback(*args, **kwargs)
b2share_1 | File "/usr/local/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func
b2share_1 | return f(get_current_context(), *args, **kwargs)
b2share_1 | File "/usr/local/lib/python3.6/site-packages/flask/cli.py", line 229, in decorator
b2share_1 | return __ctx.invoke(f, *args, **kwargs)
b2share_1 | File "/usr/local/lib/python3.6/site-packages/click/core.py", line 534, in invoke
b2share_1 | return callback(*args, **kwargs)
b2share_1 | File "/eudat/b2share/b2share/modules/upgrade/cli.py", line 45, in run
b2share_1 | upgrade_to_last_version(verbose)
b2share_1 | File "/eudat/b2share/b2share/modules/upgrade/api.py", line 86, in upgrade_to_last_version
b2share_1 | upgrade.run(failed_migration=last_failure, verbose=verbose)
b2share_1 | File "/eudat/b2share/b2share/modules/upgrade/api.py", line 48, in decorator
b2share_1 | f(*args, **kwargs)
b2share_1 | File "/eudat/b2share/b2share/modules/upgrade/api.py", line 235, in run
b2share_1 | raise e
b2share_1 | File "/eudat/b2share/b2share/modules/upgrade/api.py", line 215, in run
b2share_1 | step.run(alembic, verbose)
b2share_1 | File "/eudat/b2share/b2share/modules/upgrade/upgrades/common.py", line 91, in schemas_init
b2share_1 | load_root_schemas(cli=True, verbose=verbose, ignore_mismatches=True)
b2share_1 | File "/eudat/b2share/b2share/modules/schemas/helpers.py", line 239, in load_root_schemas
b2share_1 | os.path.join(root_schemas_dir, filename)),
b2share_1 | b2share.modules.schemas.errors.RootSchemaAlreadyExistsError: 400: Bad Request
Is there documentation available on how to properly upgrade an existing instance?
from b2share.
Related Issues (20)
- Displaying a community with no block schema fails HOT 1
- The "(admin page)" link on the community admin profile page is broken HOT 3
- Delete draft button not working
- Add support for contenthash for b2share-bundle.js building HOT 1
- Show PID or DOI even if one of them is missing. HOT 1
- Elasticsearch field `country` in `file-download` mapping overlaps with other type HOT 1
- Change B2ACCESS scopes to OpenID scopes HOT 1
- travis.yml needs to be updated
- Draft records sometimes result "No results", even when records exist.
- Validation error when adding optional geospatial meta data HOT 2
- Feature request: Share editor rights for published records
- Update B2ACCESS configuration
- Bug: Special chars in OAuth2 secret
- Add citation feature
- HTTP server doesn't seem to support byte ranges
- single value box in spatial coverage are labeled with boxes
- Use https instead of http when copying DOI or Handle pid from UI to clipboard
- Cannot update / replace / delete file in existing data publication
- Cannot create ePIC PIDs for the existing records via CLI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from b2share.