Git Product home page Git Product logo

Comments (10)

agrare avatar agrare commented on July 17, 2024

@varun0002 did you run the database migrations after upgrading the code from ivanchuk to jansa?

from manageiq-documentation.

varun0002 avatar varun0002 commented on July 17, 2024

I guess no, are there any steps published to do that?

from manageiq-documentation.

Fryguy avatar Fryguy commented on July 17, 2024

We will need to add upgrade steps for the various forms (in this case the monolithic docker image)...transferring this issue to manageiq-documentation

from manageiq-documentation.

Fryguy avatar Fryguy commented on July 17, 2024

@bdunne Do you have any steps for this?

from manageiq-documentation.

varun0002 avatar varun0002 commented on July 17, 2024

Any update on the steps to upgrade?

from manageiq-documentation.

Fryguy avatar Fryguy commented on July 17, 2024

Sorry @varun0002, no. The docker monolithic image is really meant for "trying out" ManageIQ and it is not expect to be used for production scenarios. Documentation for upgrade also implies that we need documentation for how to deploy with persistent database, and perhaps persistent certificates, and encryption keys. If you have any documentation for any of that, we would welcome a contribution!

from manageiq-documentation.

bdunne avatar bdunne commented on July 17, 2024

I don't have any steps for this. As you mentioned, it is meant for "trying out" ManageIQ. And I would expect a production deployment to use either pods or appliances. That being said, it should be possible if the important data (postgresql database, certs, GUID, etc.) is stored on persistent volumes.

from manageiq-documentation.

varun0002 avatar varun0002 commented on July 17, 2024

@Fryguy Yes, I am running this with persistent volumes (postgresql database, certs & GUID) and happy to contribute but couldn't find the file to update this information.

@bdunne I am running all managiq components in a container. I started following below document to migrate (though it talks about K8 & multiple containers). However, it's failing on step 7 with:

link: https://www.manageiq.org/docs/reference/latest/installing_on_kubernetes/index.html#migrating-from-appliances

Error:
rake aborted!
URI::InvalidURIError: the scheme postgresql does not accept registry part: :@: (or bad hostname?)
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:40:in initialize' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:282:in new'
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:282:in resolve_url_connection' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:270:in resolve_hash_connection'
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:245:in resolve_connection' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:143:in resolve'
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:163:in block in resolve_all' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:162:in each'
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_adapters/connection_specification.rb:162:in resolve_all' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/connection_handling.rb:72:in resolve'
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/core.rb:54:in configurations=' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/core.rb:56:in block in module:Core'
/opt/manageiq/manageiq-gemset/gems/activesupport-5.2.4.4/lib/active_support/concern.rb:122:in class_eval' /opt/manageiq/manageiq-gemset/gems/activesupport-5.2.4.4/lib/active_support/concern.rb:122:in append_features'
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/base.rb:293:in include' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/base.rb:293:in class:Base'
/opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/base.rb:277:in <module:ActiveRecord>' /opt/manageiq/manageiq-gemset/gems/activerecord-5.2.4.4/lib/active_record/base.rb:27:in <top (required)>'
/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-schema-a800fbb786e4/lib/reserve.rb:1:in require' /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-schema-a800fbb786e4/lib/reserve.rb:1:in <top (required)>'
/opt/manageiq/manageiq-gemset/bundler/gems/manageiq-schema-a800fbb786e4/lib/manageiq/schema.rb:11:in require' /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-schema-a800fbb786e4/lib/manageiq/schema.rb:11:in <top (required)>'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:88:in require' /opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:88:in rescue in block in require'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:65:in block in require' /opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in each'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in require' /opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler.rb:174:in require'
/var/www/miq/vmdb/config/application.rb:31:in <top (required)>' /var/www/miq/vmdb/Rakefile:5:in <top (required)>'
/opt/manageiq/manageiq-gemset/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'

Caused by:
LoadError: cannot load such file -- manageiq-schema
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:74:in require' /opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:74:in block (2 levels) in require'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:69:in each' /opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:69:in block in require'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in each' /opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in require'
/opt/manageiq/manageiq-gemset/gems/bundler-2.1.4/lib/bundler.rb:174:in require' /var/www/miq/vmdb/config/application.rb:31:in <top (required)>'
/var/www/miq/vmdb/Rakefile:5:in <top (required)>' /opt/manageiq/manageiq-gemset/gems/rake-13.0.1/exe/rake:27:in <top (required)>'

from manageiq-documentation.

Fryguy avatar Fryguy commented on July 17, 2024

The DATABASE_URL env var is built from other env vars, if i recall...I wonder if something is missing there. I've hit this manageiq-schema error before when I've run a /bin/bash on a container and forgot to specify the DATABASE_URL env vars.

from manageiq-documentation.

varun0002 avatar varun0002 commented on July 17, 2024

I was able to upgrade it.

from manageiq-documentation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.