{"action":"closed","issue":{"url":"https://api.github.com/repos/gophish/gophish/issues/1088","repository_url":"https://api.github.com/repos/gophish/gophish","labels_url":"https://api.github.com/repos/gophish/gophish/issues/1088/labels{/name}","comments_url":"https://api.github.com/repos/gophish/gophish/issues/1088/comments","events_url":"https://api.github.com/repos/gophish/gophish/issues/1088/events","html_url":"https://github.com/gophish/gophish/issues/1088","id":327495898,"node_id":"MDU6SXNzdWUzMjc0OTU4OTg=","number":1088,"title":"Gophish fails on start - \"no valid version found\"","user":{"login":"TymeOfNight","id":16087516,"node_id":"MDQ6VXNlcjE2MDg3NTE2","avatar_url":"https://avatars3.githubusercontent.com/u/16087516?v=4","gravatar_id":"","url":"https://api.github.com/users/TymeOfNight","html_url":"https://github.com/TymeOfNight","followers_url":"https://api.github.com/users/TymeOfNight/followers","following_url":"https://api.github.com/users/TymeOfNight/following{/other_user}","gists_url":"https://api.github.com/users/TymeOfNight/gists{/gist_id}","starred_url":"https://api.github.com/users/TymeOfNight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TymeOfNight/subscriptions","organizations_url":"https://api.github.com/users/TymeOfNight/orgs","repos_url":"https://api.github.com/users/TymeOfNight/repos","events_url":"https://api.github.com/users/TymeOfNight/events{/privacy}","received_events_url":"https://api.github.com/users/TymeOfNight/received_events","type":"User","site_admin":false},"labels":[{"id":319459886,"node_id":"MDU6TGFiZWwzMTk0NTk4ODY=","url":"https://api.github.com/repos/gophish/gophish/labels/support","name":"support","color":"207de5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-29T21:34:31Z","updated_at":"2018-05-31T12:30:31Z","closed_at":"2018-05-31T12:30:31Z","author_association":"NONE","body":"What version of Gophish are you using?: \r\n0.6.0\r\n\r\nBrief description of the issue: \r\nAfter installing v.0.6.0 and setting it up to run with mysql, the gophish client will not stay running, and throws a \"no valid version found\" error. \r\n\r\nWhat are you expecting to see happen? :\r\nGophish should start running normally.\r\n\r\nWhat are you seeing happen?\r\n\r\nWe installed v0.6.0 on top of an exsisting v0.5 install.  Both versions were built from source; we deleted /opt/goapps/github.com and all of its contents before recompiling the source.  We tested the new Gophish install, and it was working swimmingly [ ;-) ].  Then, we modified the config.json file to be able to hook up to a mysql database.  We never deleted the old database, and were expecting the new version to just pick up the old connection and work.  (I tried adding the reported column to the results table of the old database, since I know that that changed between versions, but the same error message as below was given.)  We are getting the following error:\r\n\r\n```\r\ntime=\"2018-05-29T17:21:28-04:00\" level=info msg=\"Background Worker Started Successfully - Waiting for Campaigns\"\r\ntime=\"2018-05-29T17:21:28-04:00\" level=error msg=\"no valid version found\"\r\ntime=\"2018-05-29T17:21:28-04:00\" level=fatal msg=\"no valid version found\"\r\n```\r\n\r\nOur config.json looks like this:\r\n```\r\n       \"admin_server\" : {\r\n                \"listen_url\" : \"x.x.x.x:3333\",\r\n                \"use_tls\" : true,\r\n                \"cert_path\" : \"gophish_admin.crt\",\r\n                \"key_path\" : \"gophish_admin.key\"\r\n        },\r\n        \"phish_server\" : {\r\n                \"listen_url\" : \"0.0.0.0:80\",\r\n                \"use_tls\" : false,\r\n                \"cert_path\" : \"example.crt\",\r\n                \"key_path\": \"example.key\"\r\n        },\r\n        \"db_name\" : \"mysql\",\r\n        \"db_path\" : \"redacted:redacted@localhost:3306/gophish?charset=latin1_swedish_ci&parseTime=True&loc=UTC\",\r\n        \"migrations_prefix\" : \"db/db_\"\r\n}\r\n```\r\n\r\nOur connection information for MySQL (regarding the time format discrepancy) is the same as it was for version 0.5.0; we didn't change it during the install.\r\n\r\nIn case it's relevant, we installed GoPhish from source using these instructions: [http://www.jaspher.com/blog/install-go-and-gophish-on-centos-7](http://www.jaspher.com/blog/install-go-and-gophish-on-centos-7)\r\n\r\nIf you could provide any insight on this, we would be appreciative.  Thanks!\r\n \r\n"}}
{"actor":{"display_login":"TymeOfNight"}}