Comments (4)
This is a new installation or one from packages? I had the same when updating with packages, rpm would move the distributions.xml out of the package away - unless it's changed of course.
from open-build-service.
Updated packages from openSUSE:Tools:Unstable
Btw. you must now adapt the above file to check for tables and only create new tables if they don't exist. Otherwise people who executed rake with this buggy file will run into this error:
$ RAILS_ENV="production" rake db:migrate
== CreateDistributions: migrating ============================================
-- create_table(:distributions)
rake aborted!
An error has occurred, all later migrations canceled:
Mysql2::Error: Table 'distributions' already exists: CREATE TABLE distributions
(id
int(11) DEFAULT NULL auto_increment PRIMARY KEY, vendor
varchar(255) NOT NULL, version
varchar(255) NOT NULL, name
varchar(255) NOT NULL, project
varchar(255) NOT NULL, reponame
varchar(255) NOT NULL, repository
varchar(255) NOT NULL, link
varchar(255)) ENGINE=InnoDB
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
from open-build-service.
No, just change your local migration and remove the whole up function. We won't add work arounds for people trying the versions from :Unstable. Some local work arounds are required.
And note that this is a long standing problem with mysql - it can't rollback schema changes done in transactions.
from open-build-service.
fixed the issue
from open-build-service.
Related Issues (20)
- Error 404 on accepting automatic delete requests HOT 1
- add Dod error Unknown state of repository HOT 2
- [production][package#buildresult] undefined method `buildresult' for nil:NilClass @buildresults = @package.buildresult(@proj... HOT 1
- [production][files#show] undefined method `file_exists?' for nil:NilClass return if @package.file_exists?(@filena... HOT 1
- Integrate gitea into OBS-Appliance HOT 3
- Admin user connection not displayed from ssh connection
- [production][] POST https://api.github.com/repos/os-autoinst/openQA/statuses/cf64ab7d35a3a627690b2cf3956d76ed8c6... HOT 2
- [production][request#index] undefined method `where' for nil:NilClass @relation.where("bs_requests.id ...
- linkify URLs in files viewed in the web UI
- app/views/webui/configuration/index.html.haml missing user registration enable/disable HOT 1
- Depfu Error: Depfu is stuck and needs your help HOT 1
- Depfu Error: Depfu is stuck and needs your help HOT 1
- [production][notifications#index] undefined method `user' for nil:NilClass accused = @notification.notifiable.reportable.user ... HOT 1
- [production][notifications#index] undefined method `user' for nil:NilClass accused = @notification.notifiable.reportable.user ... HOT 1
- Wrong notification of Relationship created HOT 1
- `rake docker:build` errors out with "Errno::EACCES: Permission denied @ rb_sysopen - config/database.yml" HOT 2
- Please stop using an unsupported ruby-ldap HOT 1
- LDAP: Anonymous bind doesn't work
- Superseding failed: Supersed a request requires a 'superseded_by' parameter with the request id HOT 2
- [production][package#statistics] No route matches {:action=>"show", :arch=>"x86_64", :controller=>"webui/package", :format=>"html"...
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 open-build-service.