cloudfoundry-incubator / admin-ui

Need new main contributor - An application for viewing Cloud Foundry metrics and operations data.
Apache License 2.0
71 stars 44 forks source link

Unable to find db/migrations #121

Closed rkoster closed 10 years ago

rkoster commented 10 years ago

While starting the admin-ui I'm running into:

/var/vcap/data/packages/admin_ui/7ea8611e804151ef290f7beec310545bac960621.1-ed90c60676fe6fef6cb884a50dfed0a5877a9bfd/admin_ui/vendor/bundle/ruby/2.1.0/gems/sequel-4.14.0/lib/sequel/extensions/migration.rb:399
:in `initialize': No such file or directory @ dir_initialize - db/migrations (Errno::ENOENT)
        from /var/vcap/data/packages/admin_ui/7ea8611e804151ef290f7beec310545bac960621.1-ed90c60676fe6fef6cb884a50dfed0a5877a9bfd/admin_ui/vendor/bundle/ruby/2.1.0/gems/sequel-4.14.0/lib/sequel/extensions/mig
ration.rb:399:in `new'
        from /var/vcap/data/packages/admin_ui/7ea8611e804151ef290f7beec310545bac960621.1-ed90c60676fe6fef6cb884a50dfed0a5877a9bfd/admin_ui/vendor/bundle/ruby/2.1.0/gems/sequel-4.14.0/lib/sequel/extensions/mig
ration.rb:399:in `migrator_class'
        from /var/vcap/data/packages/admin_ui/7ea8611e804151ef290f7beec310545bac960621.1-ed90c60676fe6fef6cb884a50dfed0a5877a9bfd/admin_ui/vendor/bundle/ruby/2.1.0/gems/sequel-4.14.0/lib/sequel/extensions/mig
ration.rb:391:in `run'
        from /var/vcap/data/packages/admin_ui/7ea8611e804151ef290f7beec310545bac960621.1-ed90c60676fe6fef6cb884a50dfed0a5877a9bfd/admin_ui/vendor/bundle/ruby/2.1.0/gems/sequel-4.14.0/lib/sequel/extensions/mig
ration.rb:362:in `apply'
        from /var/vcap/data/packages/admin_ui/7ea8611e804151ef290f7beec310545bac960621.1-ed90c60676fe6fef6cb884a50dfed0a5877a9bfd/admin_ui/lib/admin/db/dbstore_migration.rb:14:in `migrate_to_db'
        from /var/vcap/data/packages/admin_ui/7ea8611e804151ef290f7beec310545bac960621.1-ed90c60676fe6fef6cb884a50dfed0a5877a9bfd/admin_ui/lib/admin.rb:58:in `setup_dbstore'
        from /var/vcap/data/packages/admin_ui/7ea8611e804151ef290f7beec310545bac960621.1-ed90c60676fe6fef6cb884a50dfed0a5877a9bfd/admin_ui/lib/admin.rb:34:in `start'
        from bin/admin:45:in `<main>'

Which can be traced back to this line

I'm using the following ctl script to start the admin-ui.

rkoster commented 10 years ago

Sorry my bad found the problem was related to the glob in the boshrelease.