{"action":"closed","issue":{"url":"https://api.github.com/repos/kaiyou/freeposte.io/issues/53","repository_url":"https://api.github.com/repos/kaiyou/freeposte.io","labels_url":"https://api.github.com/repos/kaiyou/freeposte.io/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/kaiyou/freeposte.io/issues/53/comments","events_url":"https://api.github.com/repos/kaiyou/freeposte.io/issues/53/events","html_url":"https://github.com/kaiyou/freeposte.io/issues/53","id":172628886,"number":53,"title":"Database initialization error at first start","user":{"login":"e29qwg","id":511156,"avatar_url":"https://avatars.githubusercontent.com/u/511156?v=3","gravatar_id":"","url":"https://api.github.com/users/e29qwg","html_url":"https://github.com/e29qwg","followers_url":"https://api.github.com/users/e29qwg/followers","following_url":"https://api.github.com/users/e29qwg/following{/other_user}","gists_url":"https://api.github.com/users/e29qwg/gists{/gist_id}","starred_url":"https://api.github.com/users/e29qwg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e29qwg/subscriptions","organizations_url":"https://api.github.com/users/e29qwg/orgs","repos_url":"https://api.github.com/users/e29qwg/repos","events_url":"https://api.github.com/users/e29qwg/events{/privacy}","received_events_url":"https://api.github.com/users/e29qwg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-23T07:20:55Z","updated_at":"2016-08-23T20:47:05Z","closed_at":"2016-08-23T20:47:05Z","body":"After running ```docker-compose up -d```, I just executed a ```manage.py``` to create an administrator account and I found it always unexpectedly shows up warnings (as of below). I am able to successfully logged in. However, I could not access the Manage Domains page in admin console.\r\n\r\n```\r\n# docker exec -it freeposte_admin_1 python manage.py admin admin example.net admin\r\n\r\n/usr/local/lib/python3.5/site-packages/sqlalchemy/ext/declarative/api.py:173: SAWarning: Unmanaged access of declarative attribute domain_name from non-mapped class Email\r\n  (desc.fget.__name__, cls.__name__))\r\n/usr/local/lib/python3.5/site-packages/sqlalchemy/ext/declarative/api.py:173: SAWarning: Unmanaged access of declarative attribute email from non-mapped class Email\r\n  (desc.fget.__name__, cls.__name__))\r\n```\r\n\r\nAfter a while investigation, I found that there is an error upgrading from initial database schema. \r\n```\r\nsqlalchemy.exc.OperationalError: (sqlite3.OperationalError) Cannot add a NOT NULL column with default value NULL [SQL: 'ALTER TABLE alias ADD COLUMN wildcard BOOLEAN NOT NULL']\r\n```\r\n\r\nHope that might contribute to this project."}}
{"actor":{"display_login":"kaiyou"}}