-
Notifications
You must be signed in to change notification settings - Fork 112
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
Upgrade from 0.4.1 causes "500 server error" on /permissions/credentials/ page #173
Comments
Hmm, did you try to enable the Django debug mode and reload the server? With the debug mode on you should get a full traceback on any error and that should give you a hint of what's going on. You can enable the debug mode by adding a |
Thanks for the tip! The error is:
I'm guessing during an upgrade, the comment column (which I saw was new) doesn't get created. With that knowledge, I'm sure I can manually create the column to get us up and going. |
I've manually added that column |
I think I know where my problem lies. (I'm not a python dev, so bear with me.) Even after fixing the missing comment column, I'm having further issues. When I ran the upgrade ( So, I'm assuming my problems lie in the migration from "south" to the new migration stuff in django. Anyway, I'm going to try to follow the process here to see if I can "reset" the migrations or something. But hey, I'm learning lots! |
We are trying to upgrade from an old localshop 0.4.1 virtualenv (running on an Ubuntu 11.10 server) to a new version of localshop on a new server (Ubuntu 14.04).
What I've done:
pip install --upgrade localshop
.localshop upgrade
. The upgrade doesn't show any errors.After starting localshop back up again, the web interface is mostly full functional except trying to go to the Permissions->Credentials page, I get a "500 server error". (Hence, I can't manage credentials.)
The issue seems to be that it's trying to load the css and js from the wrong location for some reason. Here's a log snippet showing what I mean, the first bit going to the /permissions/credentials/ page, and the second bit, going to the /permissions/cidr/ page, where it's properly loading assets from the /assets/ path.
I've tried various permuations, including upgrading in small steps. Upgrading from 0.4.1 to 0.6.0 exhibits the same issue.
Incidentally, if I move the localshop.db out of the way and "start fresh" with a
localshop init
, I don't see the problem. With the clean installation, I am able to access the credentials page without issue.The text was updated successfully, but these errors were encountered: