{"action":"created","issue":{"url":"https://api.github.com/repos/singularityhub/sregistry/issues/148","repository_url":"https://api.github.com/repos/singularityhub/sregistry","labels_url":"https://api.github.com/repos/singularityhub/sregistry/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/singularityhub/sregistry/issues/148/comments","events_url":"https://api.github.com/repos/singularityhub/sregistry/issues/148/events","html_url":"https://github.com/singularityhub/sregistry/issues/148","id":358944176,"node_id":"MDU6SXNzdWUzNTg5NDQxNzY=","number":148,"title":"Error in api_imageupload migration","user":{"login":"victorsndvg","id":6474985,"node_id":"MDQ6VXNlcjY0NzQ5ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/6474985?v=4","gravatar_id":"","url":"https://api.github.com/users/victorsndvg","html_url":"https://github.com/victorsndvg","followers_url":"https://api.github.com/users/victorsndvg/followers","following_url":"https://api.github.com/users/victorsndvg/following{/other_user}","gists_url":"https://api.github.com/users/victorsndvg/gists{/gist_id}","starred_url":"https://api.github.com/users/victorsndvg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorsndvg/subscriptions","organizations_url":"https://api.github.com/users/victorsndvg/orgs","repos_url":"https://api.github.com/users/victorsndvg/repos","events_url":"https://api.github.com/users/victorsndvg/events{/privacy}","received_events_url":"https://api.github.com/users/victorsndvg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-11T08:39:57Z","updated_at":"2018-09-11T15:30:28Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi @vsoch ,\r\n\r\nis there a way to fix this? or I should go back to previous sregistry version?\r\n\r\n```\r\nWARNING Database disabled. Install sqlalchemy for full functionality\r\nOperations to perform:\r\n  Apply all migrations: admin, api, auth, authtoken, contenttypes, djcelery, logs, main, sessions, social_django, taggit, users\r\nRunning migrations:\r\n  Applying api.0002_auto_20180911_0335...Traceback (most recent call last):\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py\", line 65, in execute\r\n    return self.cursor.execute(sql, params)\r\npsycopg2.ProgrammingError: relation \"api_imageupload\" does not exist\r\n\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nTraceback (most recent call last):\r\n  File \"manage.py\", line 8, in <module>\r\n    execute_from_command_line(sys.argv)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py\", line 363, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/__init__.py\", line 355, in execute\r\n    self.fetch_command(subcommand).run_from_argv(self.argv)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/base.py\", line 283, in run_from_argv\r\n    self.execute(*args, **cmd_options)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/base.py\", line 330, in execute\r\n    output = self.handle(*args, **options)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/core/management/commands/migrate.py\", line 204, in handle\r\n    fake_initial=fake_initial,\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/migrations/executor.py\", line 115, in migrate\r\n    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/migrations/executor.py\", line 145, in _migrate_all_forwards\r\n    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/migrations/executor.py\", line 244, in apply_migration\r\n    state = migration.apply(state, schema_editor)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/migrations/migration.py\", line 129, in apply\r\n    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/migrations/operations/fields.py\", line 215, in database_forwards\r\n    schema_editor.alter_field(from_model, from_field, to_field)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/base/schema.py\", line 515, in alter_field\r\n    old_db_params, new_db_params, strict)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/postgresql/schema.py\", line 112, in _alter_field\r\n    new_db_params, strict,\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/base/schema.py\", line 684, in _alter_field\r\n    params,\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/base/schema.py\", line 120, in execute\r\n    cursor.execute(sql, params)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py\", line 65, in execute\r\n    return self.cursor.execute(sql, params)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/utils.py\", line 94, in __exit__\r\n    six.reraise(dj_exc_type, dj_exc_value, traceback)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/utils/six.py\", line 685, in reraise\r\n    raise value.with_traceback(tb)\r\n  File \"/usr/local/lib/python3.5/site-packages/django/db/backends/utils.py\", line 65, in execute\r\n    return self.cursor.execute(sql, params)\r\ndjango.db.utils.ProgrammingError: relation \"api_imageupload\" does not exist\r\n\r\nroot@5ad7f44d01c4:/code# python manage.py collectstatic --noinput\r\n\r\n0 static files copied to '/var/www/static', 287 unmodified.\r\nroot@5ad7f44d01c4:/code# python manage.py makemigrations api_imageupload\r\nWARNING Database disabled. Install sqlalchemy for full functionality\r\nApp 'api_imageupload' could not be found. Is it in INSTALLED_APPS?\r\n```\r\n\r\nThanks in advance! ;)"},"comment":{"url":"https://api.github.com/repos/singularityhub/sregistry/issues/comments/420315749","html_url":"https://github.com/singularityhub/sregistry/issues/148#issuecomment-420315749","issue_url":"https://api.github.com/repos/singularityhub/sregistry/issues/148","id":420315749,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDMxNTc0OQ==","user":{"login":"vsoch","id":814322,"node_id":"MDQ6VXNlcjgxNDMyMg==","avatar_url":"https://avatars0.githubusercontent.com/u/814322?v=4","gravatar_id":"","url":"https://api.github.com/users/vsoch","html_url":"https://github.com/vsoch","followers_url":"https://api.github.com/users/vsoch/followers","following_url":"https://api.github.com/users/vsoch/following{/other_user}","gists_url":"https://api.github.com/users/vsoch/gists{/gist_id}","starred_url":"https://api.github.com/users/vsoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsoch/subscriptions","organizations_url":"https://api.github.com/users/vsoch/orgs","repos_url":"https://api.github.com/users/vsoch/repos","events_url":"https://api.github.com/users/vsoch/events{/privacy}","received_events_url":"https://api.github.com/users/vsoch/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T15:30:28Z","updated_at":"2018-09-11T15:30:28Z","author_association":"MEMBER","body":"and you did\r\n\r\n```\r\npython manage.py makemigrations api\r\n```"}}
{"actor":{"display_login":"vsoch"}}