Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest Code Throws Internal Server Error #30

Open
Angelbotics1339 opened this issue Jan 6, 2018 · 4 comments
Open

Latest Code Throws Internal Server Error #30

Angelbotics1339 opened this issue Jan 6, 2018 · 4 comments

Comments

@Angelbotics1339
Copy link

When I try running the latest version of the code, it throws an error 500. I looked at the logs on Heroku and it said this:
transfer1339-logs-1515209999133.txt

@forlornlawngnome
Copy link
Owner

Have you run rake DB:migrate since pulling the latest code?

@ghost
Copy link

ghost commented Jan 16, 2018

@forlornlawngnome I am encountering the same error.
I did a fresh install today actually, and get that error.

@zachdeibert
Copy link

The migrate command does not work from Rails version 5+. To fix it, it is possible to use ActiveRecord::Migration[5.1] as the class instead of ActiveRecord::Migration on all of the migrations, but then some of the migrations fail (even though it works if those migrations are done by hand).

These files are still broken with the ActiveRecord::Migration[5.1] class (code is here):

db/migrate/20130830200315_create_timelogs.rb
db/migrate/20141025204914_create_forms_users.rb
db/migrate/20150809003307_create_hour_overrides.rb
db/migrate/20150809004751_create_hour_exceptions.rb
db/migrate/20150809183511_create_week_exceptions.rb

@forlornlawngnome
Copy link
Owner

@alexwebberfrc @zachdeibert @Angelbotics1339 I've updated the migrations and a fresh install now runs in Heroku. Pull the latest and see if you're still having the problems?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants