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

Setup is different with 2.6 ? #722

Open
romu70 opened this Issue Jan 6, 2018 · 11 comments

Comments

Projects
None yet
4 participants
@romu70

romu70 commented Jan 6, 2018

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.

This is being running flawlessly for several weeks.

I 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.

Problem is it doesn't work at all. The process seems to work, ps -aux returns:
root 1 0.1 0.2 23800 11828 ? Ssl 18:05 0:00 /app/leanote-linux-amd64 -importPath github.com/leanote/leanote

The output is very different than the 2.5 one:

Listening on.. localhost:9000
36mDEBUG [0m  18:05:36  revel server.go:106: InitServerEngine: Found server engine and invoking  [36msection [0m=server [36mname [0m=go 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\memberuser 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\memberuser     [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\memberindex 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\memberindex    [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\membergroup 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\membergroup    [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\memberblog 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\memberblog     [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\apiuser 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\apiuser        [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\apitag 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\apitag         [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\apinote 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\apinote        [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\apinotebook 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\apinotebook    [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\apifile 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\apifile        [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\apiauth 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\apiauth        [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\admindata 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\admindata      [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\adminblog 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\adminblog      [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\adminuser 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\adminuser      [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\adminsetting 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\adminsetting   [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\adminemail 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\adminemail     [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\adminupgrade 
36mDEBUG [0m  18:05:36  revel controller_type.go:64: Registered controller: App\adminupgrade   [36msection[0m=controller 
36mDEBUG [0m  18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\admin 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\admin          [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\preview 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\preview        [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\memberbasecontroller 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\memberbasecontroller  [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\apibasecontrller 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\apibasecontrller  [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\adminbasecontroller 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\adminbasecontroller  [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\note 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\note           [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\file 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\file           [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\captcha 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\captcha        [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\auth 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\auth           [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\tag 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\tag            [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\share 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\share          [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\notebook 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\notebook       [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\index 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\index          [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\attach 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\attach         [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\notecontenthistory 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\notecontenthistory  [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\album 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\album          [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\user 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\user           [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\blog 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\blog           [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=static\\static 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: static\static      [36msection[0m=controller 
[36mDEBUG [0m 18:05:36  revel controller.go:523: RegisterController:Registered controller  [36msection [0m=controller [36mcontroller [0m=App\\basecontroller 
[36mDEBUG [0m 18:05:36  revel controller_type.go:64: Registered controller: App\basecontroller  [36msection[0m=controller 
[32mINFO [0m 18:05:36    app    main.go:36: Running revel server                      
[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" 
[36mDEBUG [0m 18:05:36  revel module.go:190: Loaded module                             [36msection[0m=module  
[36mDEBUG [0m 18:05:36  revel module.go:145: Sorted keys                               [36msection[0m=module [36mkeys[0m=module.static 
[36mDEBUG [0m 18:05:36  revel  server.go:27: RegisterServerEngine: Registered engine   [36msection [0m=server [36mname [0m=go 

I don't understand what happens. Obviously the 2.6 setup is a bit different, any help would be great, thanks.

@adrianharabula

This comment has been minimized.

Show comment
Hide comment
@adrianharabula

adrianharabula Feb 14, 2018

Hey romu, can you check if #735 fixes it for you? I had the same issue. 2.5 works fine, but 2.6 won't run at all in docker as I would get Connection reset errors.

Can you try to set http.addr=0.0.0.0 in conf/app.conf and see if it fixes it for you?

adrianharabula commented Feb 14, 2018

Hey romu, can you check if #735 fixes it for you? I had the same issue. 2.5 works fine, but 2.6 won't run at all in docker as I would get Connection reset errors.

Can you try to set http.addr=0.0.0.0 in conf/app.conf and see if it fixes it for you?

@romu70

This comment has been minimized.

Show comment
Hide comment
@romu70

romu70 Feb 15, 2018

Honestly, I gave up with Leanote. There is nobody to answer issues. A lot of discussions are in chinese, so I changed for something else.

romu70 commented Feb 15, 2018

Honestly, I gave up with Leanote. There is nobody to answer issues. A lot of discussions are in chinese, so I changed for something else.

@adrianharabula

This comment has been minimized.

Show comment
Hide comment
@adrianharabula

adrianharabula Feb 15, 2018

I feel the same, as I tried about half a day to run a leanote instance locally. Way too much trouble with it. But the app is great, now that is working.

adrianharabula commented Feb 15, 2018

I feel the same, as I tried about half a day to run a leanote instance locally. Way too much trouble with it. But the app is great, now that is working.

@romu70

This comment has been minimized.

Show comment
Hide comment
@romu70

romu70 Feb 15, 2018

I agree, I didn't find something better yet. But I absolutely want something something manageable on the long run. That's why I stopped.

romu70 commented Feb 15, 2018

I agree, I didn't find something better yet. But I absolutely want something something manageable on the long run. That's why I stopped.

@adrianharabula

This comment has been minimized.

Show comment
Hide comment
@adrianharabula

adrianharabula Feb 15, 2018

Will try and do even more tests it in the next days. I'm curious especially:

  • if import from evernote really works
  • if you can create backups and how easily can be restored
  • how easy is to upgrade to new versions
  • how usable is the mobile/android version

Leanote seems to have some potential, but until I test and see the results with my eye, I can't say anything.

This app to run seamless for very long years it's very important for me too!!!

adrianharabula commented Feb 15, 2018

Will try and do even more tests it in the next days. I'm curious especially:

  • if import from evernote really works
  • if you can create backups and how easily can be restored
  • how easy is to upgrade to new versions
  • how usable is the mobile/android version

Leanote seems to have some potential, but until I test and see the results with my eye, I can't say anything.

This app to run seamless for very long years it's very important for me too!!!

@mariusv

This comment has been minimized.

Show comment
Hide comment
@mariusv

mariusv Feb 26, 2018

@romu70 , what do you use as an alternative?

mariusv commented Feb 26, 2018

@romu70 , what do you use as an alternative?

@romu70

This comment has been minimized.

Show comment
Hide comment
@romu70

romu70 Feb 26, 2018

Laverna is great if you access to put your data on DropBox.

NextCloud Notes is also good, very basic (no tags, no notebook, etc). But it stores the notes as mardown files on your file system, which is great.

Paperwork doesn't work well on Firefox (didn't try on Chrome, because I use Firefox only).

I plan to give StandardNotes a try, but I've to find some time to setup a container.

romu70 commented Feb 26, 2018

Laverna is great if you access to put your data on DropBox.

NextCloud Notes is also good, very basic (no tags, no notebook, etc). But it stores the notes as mardown files on your file system, which is great.

Paperwork doesn't work well on Firefox (didn't try on Chrome, because I use Firefox only).

I plan to give StandardNotes a try, but I've to find some time to setup a container.

@mariusv

This comment has been minimized.

Show comment
Hide comment
@mariusv

mariusv Feb 26, 2018

My main thing is that I need it to have iOS/Android and OSX apps...also offline editing and markdown

mariusv commented Feb 26, 2018

My main thing is that I need it to have iOS/Android and OSX apps...also offline editing and markdown

@romu70

This comment has been minimized.

Show comment
Hide comment
@romu70

romu70 Feb 26, 2018

romu70 commented Feb 26, 2018

@lealife

This comment has been minimized.

Show comment
Hide comment
@lealife

lealife Mar 8, 2018

Member

Can you try to set http.addr=0.0.0.0 in conf/app.conf and see if it fixes it for you?

Member

lealife commented Mar 8, 2018

Can you try to set http.addr=0.0.0.0 in conf/app.conf and see if it fixes it for you?

@romu70

This comment has been minimized.

Show comment
Hide comment
@romu70

romu70 Mar 10, 2018

Thanks for your advice. But I won't. I gave up with Leanote, sorry.

romu70 commented Mar 10, 2018

Thanks for your advice. But I won't. I gave up with Leanote, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment