Comments (6)
just tested with cli v0.11.1 and the problem also exists there.
from dnote.
Hi @kimusan, I'll have a look sometime soon, in the meantime:
- does the problem persist with Dnote server v1.0.4?
- could you try to set
apiEndpoint
to[insert base url to your dnote instance]/api
in.config/dnote/dnoterc
(instead of simply[insert base url to your dnote instance]
)
from dnote.
Seems to happen with both 1. 0.4 and 2.0.1 and both the old and new cli.
I wonder if it is the ngnix I have in front that somehow get it to break. The ssl cert is currently expired so maybe that can get things to explode.
The Web interface works just fine on the server.
Also tried with /api and also with :3000/api but no luck.
BTW: is it on purpose the new cli uses the old location for the dnotesrc file? I thought it was weird that it did not identify my changes when I changed the api url in ~/.config/dnote/dnoterc. Strace showed it tried to open ~/.dnote/dnoterc
from dnote.
The ssl cert is currently expired
I think this is the root cause. I admit that the error handling could be improved, and opened #603 to track the improvement.
Would you be able to try to renew your SSL cert? Or you could use http
rather than https
to get unblocked in the short term.
is it on purpose the new cli uses the old location for the dnotesrc file?
Yes, it is intentional for v0.12.0. If the old location exists, CLI will use that location for backward compatibility (https://github.com/dnote/dnote/blob/master/CHANGELOG.md#0120---2020-01-03).
from dnote.
Finally got around to test it with a new ssl cert (the nginx setup was a bit funky so it required a bit of a hack). This is indeed the problem causing the SIGSEGV and now I can login and search my notes again.
from dnote.
Thanks for the update. Closing this and keeping #603 open as an improvement.
More notes on the removal of the web interface: it was removed to lengthen the project's lifespan by simplifying the features and reducing complexity. Since API is stable, maybe a simplified version could be offered as a non-official client in the future. Please let me know about any thoughts.
from dnote.
Related Issues (20)
- How to install 32bits? HOT 1
- Internal Server Error When Syncing Notes HOT 1
- 403 when using dnote sync HOT 1
- Response 429 "Too many requests" again. HOT 1
- web interface HOT 1
- darwin_arm64 cli binary is broken? HOT 5
- Use OnPremises rather than OnPremise
- GPG encryption HOT 1
- Allow to disable upgrade check HOT 3
- Simplify by removing dependency on Cobra HOT 1
- homebrew install broken HOT 1
- How do I have dnote.exe on Windows connect to a dnote docker host? HOT 1
- Error relocating dnote, need musl(libc) release HOT 4
- Error: request() got an unexpected keyword argument 'chunked' HOT 1
- Autocompletion zsh script appears to be faulty HOT 2
- Glitch of chinese appearance in output of VIEW command HOT 3
- please provide an configuration option to change the location of dnote database HOT 1
- what about adding an option for simple auth for home server such as basic auth HOT 2
- Question: Find partial match HOT 1
- remove web interface part in makefile HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dnote.