{"action":"created","issue":{"url":"https://api.github.com/repos/leanote/leanote/issues/722","repository_url":"https://api.github.com/repos/leanote/leanote","labels_url":"https://api.github.com/repos/leanote/leanote/issues/722/labels{/name}","comments_url":"https://api.github.com/repos/leanote/leanote/issues/722/comments","events_url":"https://api.github.com/repos/leanote/leanote/issues/722/events","html_url":"https://github.com/leanote/leanote/issues/722","id":286508769,"number":722,"title":"Setup is different with 2.6 ?","user":{"login":"romu70","id":1898319,"avatar_url":"https://avatars0.githubusercontent.com/u/1898319?v=4","gravatar_id":"","url":"https://api.github.com/users/romu70","html_url":"https://github.com/romu70","followers_url":"https://api.github.com/users/romu70/followers","following_url":"https://api.github.com/users/romu70/following{/other_user}","gists_url":"https://api.github.com/users/romu70/gists{/gist_id}","starred_url":"https://api.github.com/users/romu70/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romu70/subscriptions","organizations_url":"https://api.github.com/users/romu70/orgs","repos_url":"https://api.github.com/users/romu70/repos","events_url":"https://api.github.com/users/romu70/events{/privacy}","received_events_url":"https://api.github.com/users/romu70/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-01-06T18:39:01Z","updated_at":"2018-02-15T11:58:53Z","closed_at":null,"author_association":"NONE","body":"I use to run a Leanote server 2.5 on my nas. It's setup through a Docker container. The Dockerfile is there: https://github.com/romu70/self-hosting-containers/blob/master/leanote/Dockerfile.\r\n\r\nThis is being running flawlessly for several weeks.\r\n\r\nI decided to upgrade to the new 2.6 release. And what I did is ONLY changing 2.5 by 2.6 in my Dockerfile above. Nothing more. And I didn't change anything in the app.conf nor changing my MongoDB database.\r\n\r\nProblem is it doesn't work at all. The process seems to work, ```ps -aux``` returns: \r\n```root         1  0.1  0.2  23800 11828 ?        Ssl  18:05   0:00 /app/leanote-linux-amd64 -importPath github.com/leanote/leanote```\r\n\r\nThe output is very different than the 2.5 one:\r\n\r\n```\r\nListening on.. localhost:9000\r\n36mDEBUG [0m  18:05:36  revel server.go:106: InitServerEngine: Found server engine and invoking  [36msection [0m=server [36mname [0m=go \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\memberuser \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\memberuser     [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\memberindex \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\memberindex    [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\membergroup \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\membergroup    [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\memberblog \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\memberblog     [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\apiuser \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\apiuser        [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\apitag \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\apitag         [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\apinote \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\apinote        [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\apinotebook \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\apinotebook    [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\apifile \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\apifile        [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\apiauth \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\apiauth        [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\admindata \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\admindata      [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\adminblog \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\adminblog      [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\adminuser \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\adminuser      [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\adminsetting \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\adminsetting   [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\adminemail \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\adminemail     [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\adminupgrade \r\n36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\\adminupgrade   [36msection[0m=controller \r\n36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\admin \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\admin          [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\preview \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\preview        [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\memberbasecontroller \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\memberbasecontroller  [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\apibasecontrller \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\apibasecontrller  [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\adminbasecontroller \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\adminbasecontroller  [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\note \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\note           [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\file \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\file           [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\captcha \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\captcha        [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\auth \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\auth           [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\tag \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\tag            [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\share \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\share          [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\notebook \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\notebook       [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\index \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\index          [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\attach \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\attach         [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\notecontenthistory \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\notecontenthistory  [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\album \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\album          [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\user \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\user           [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\blog \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\blog           [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=static\\\\static \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: static\\static      [36msection[0m=controller \r\n[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\\\basecontroller \r\n[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\\basecontroller  [36msection[0m=controller \r\n[32mINFO [0m 18:05:36    app    main.go:36: Running revel server                      \r\n[32mINFO [0m 18:05:36  revel  revel.go:204: Initialized Revel                         [32mVersion[0m=0.18.0 [32mBuildDate[0m=2017-10-30 [32mMinimumGoVersion[0m=\">= go1.6\" \r\n[36mDEBUG [0m 18:05:36  revel module.go:190: Loaded module                             [36msection[0m=module  \r\n[36mDEBUG [0m 18:05:36  revel module.go:145: Sorted keys                               [36msection[0m=module [36mkeys[0m=module.static \r\n[36mDEBUG [0m 18:05:36  revel  server.go:27: RegisterServerEngine: Registered engine   [36msection [0m=server [36mname [0m=go \r\n```\r\n\r\nI don't understand what happens. Obviously the 2.6 setup is a bit different, any help would be great, thanks."},"comment":{"url":"https://api.github.com/repos/leanote/leanote/issues/comments/365906527","html_url":"https://github.com/leanote/leanote/issues/722#issuecomment-365906527","issue_url":"https://api.github.com/repos/leanote/leanote/issues/722","id":365906527,"user":{"login":"adrianharabula","id":2271038,"avatar_url":"https://avatars3.githubusercontent.com/u/2271038?v=4","gravatar_id":"","url":"https://api.github.com/users/adrianharabula","html_url":"https://github.com/adrianharabula","followers_url":"https://api.github.com/users/adrianharabula/followers","following_url":"https://api.github.com/users/adrianharabula/following{/other_user}","gists_url":"https://api.github.com/users/adrianharabula/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianharabula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianharabula/subscriptions","organizations_url":"https://api.github.com/users/adrianharabula/orgs","repos_url":"https://api.github.com/users/adrianharabula/repos","events_url":"https://api.github.com/users/adrianharabula/events{/privacy}","received_events_url":"https://api.github.com/users/adrianharabula/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T11:58:53Z","updated_at":"2018-02-15T11:58:53Z","author_association":"NONE","body":"Will try and do even more tests it in the next days. I'm curious especially:\r\n\r\n- if import from evernote really works\r\n- if you can create backups and how easily can be restored\r\n- how easy is to upgrade to new versions\r\n- how usable is the mobile/android version\r\n\r\nLeanote seems to have some potential, but until I test and see the results with my eye, I can't say anything.\r\n\r\nThis app to run seamless for very long years it's very important for me too!!!"}}
{"actor":{"display_login":"adrianharabula"}}