!oaRMJImPLfUnnXzwnN:shivering-isles.com

HedgeDoc

788 Members
We run, support and develop the community project HedgeDoc | Latest version: https://demo.hedgedoc.org/ | Repository: https://github.com/hedgedoc/hedgedoc | Forum: https://community.hedgedoc.org | Follow us at: https://social.hedgedoc.org/ | Development chat: https://chat.hedgedoc.org/dev239 Servers

Load older messages


SenderMessageTime
31 Aug 2021
@anoa:matrix.org[anoa] joined the room.07:33:33
@scorchedmuffin:matrix.vasbud.funScorchedMuffin joined the room.18:57:27
1 Sep 2021
@philfree:matrix.orgphilfree joined the room.17:32:11
@oss_guy:matrix.orgoss_guy joined the room.23:01:41
2 Sep 2021
@niquola:matrix.orgniquola Hi guys, any plans to add Wiki-like links between notes - [[..autocomplete notes or plugin system so we can contribute it? 14:04:19
@jason.vanzyl:matrix.orgJason van Zyl joined the room.14:17:24
@d33tah-test:matrix.orgd33tahhi! quick question: what are the disadvantages of sqlite as the database backend? hedgedoc recently started crashing and the logs mention "error: operation revision not in history"14:29:27
@davebloggt:kif.rocksDavid [🦔-backend]
In reply to @niquola:matrix.org
Hi guys, any plans to add Wiki-like links between notes - [[..autocomplete notes or plugin system so we can contribute it?

We plan a few features in this direction for HedgeDoc 2, see https://github.com/hedgedoc/hedgedoc/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22feature%3Anote+organization%22

The closest thing is probably https://github.com/hedgedoc/hedgedoc/issues/1001

14:29:47
@davebloggt:kif.rocksDavid [🦔-backend]
In reply to @d33tah-test:matrix.org
hi! quick question: what are the disadvantages of sqlite as the database backend? hedgedoc recently started crashing and the logs mention "error: operation revision not in history"
SQLite does not scale as well as PostgreSQL or MariaDB and has no high availability.
It should not cause HedgeDoc to crash, so I'd be interested in more details. Could you post a snippet of the log that shows the crashß
14:32:27
@davebloggt:kif.rocksDavid [🦔-backend]
In reply to @d33tah-test:matrix.org
hi! quick question: what are the disadvantages of sqlite as the database backend? hedgedoc recently started crashing and the logs mention "error: operation revision not in history"
* SQLite does not scale as well as PostgreSQL or MariaDB and has no high availability.
It should not cause HedgeDoc to crash, so I'd be interested in more details. Could you post a snippet of the log that shows the crash?
14:32:33
@davebloggt:kif.rocksDavid [🦔-backend] * SQLite does not scale as well as PostgreSQL or MariaDB and has no networking features or high availability.
It should not cause HedgeDoc to crash, so I'd be interested in more details. Could you post a snippet of the log that shows the crash?
14:33:03
@d33tah-test:matrix.orgd33tah
In reply to @davebloggt:kif.rocks
SQLite does not scale as well as PostgreSQL or MariaDB and has no networking features or high availability.
It should not cause HedgeDoc to crash, so I'd be interested in more details. Could you post a snippet of the log that shows the crash?
is there a standard log location for your Docker images? the stdout mostly mentions user deserialization
14:34:00
@davebloggt:kif.rocksDavid [🦔-backend]We log to stdout, so the docker logs should contain everything14:34:37
@d33tah-test:matrix.orgd33tahhm, stdout doesn't seem to have details14:38:59
@d33tah-test:matrix.orgd33tah

I looked into queries and found that this is the kind of query that fails:

curl 'https://scrubbed/socket.io/?noteId=scrubbed&EIO=3&transport=polling&t=NkcyECC&sid=scrubbed' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: https://scrubbed' -H 'Content-type: text/plain;charset=UTF-8' -H 'Origin: https://scrubbed' -H 'Authorization: Basic scrubbed' -H 'Connection: keep-alive' -H 'Cookie: connect.sid=scrubbed; loginstate=true; indent_type=space; space_units=4; keymap=sublime; userid=scrubbed' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' -H 'Sec-GPC: 1' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' --data-raw '1:2'
14:39:17
@d33tah-test:matrix.orgd33tahgetting error 40014:39:36
@d33tah-test:matrix.orgd33tah"Session ID unknown"14:39:52
@davebloggt:kif.rocksDavid [🦔-backend]This can happen when the session has expired14:41:25
@davebloggt:kif.rocksDavid [🦔-backend]Did your users report any problems?14:41:32
@d33tah-test:matrix.orgd33tahI'm the main user and the admin for this instance14:41:43
@d33tah-test:matrix.orgd33tahit only happens when I delete sections14:41:50
@d33tah-test:matrix.orgd33tahit doesn't make sense for session expire, surrounding queries work fine14:42:14
@d33tah-test:matrix.orgd33tahbut this 400 makes hedgedoc mark itself as offline, then i need to wait a few seconds and my latest change is undone14:42:39
@davebloggt:kif.rocksDavid [🦔-backend]So you can edit a note normally, then you delete a section of text and the editor in your browser is offline for a few seconds?14:43:49
@erik:michelson.euErik [🦔-dev]
In reply to @d33tah-test:matrix.org

I looked into queries and found that this is the kind of query that fails:

curl 'https://scrubbed/socket.io/?noteId=scrubbed&EIO=3&transport=polling&t=NkcyECC&sid=scrubbed' -H 'User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H 'Referer: https://scrubbed' -H 'Content-type: text/plain;charset=UTF-8' -H 'Origin: https://scrubbed' -H 'Authorization: Basic scrubbed' -H 'Connection: keep-alive' -H 'Cookie: connect.sid=scrubbed; loginstate=true; indent_type=space; space_units=4; keymap=sublime; userid=scrubbed' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-origin' -H 'Sec-GPC: 1' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' --data-raw '1:2'
That query instructs socket.io to use long-polling which is inferior to websockets as transport method. Maybe there's something faulty with your reverse proxy configuration regarding websockets?
14:44:00
@hanser:hofra.rockshanserI also had issues like this with my reverse proxy. Could you check it without the proxy?14:44:41
@davebloggt:kif.rocksDavid [🦔-backend]
In reply to @erik:michelson.eu
That query instructs socket.io to use long-polling which is inferior to websockets as transport method. Maybe there's something faulty with your reverse proxy configuration regarding websockets?
socketio seems to do these queries sometimes, even if the websocket works
14:44:51
@d33tah-test:matrix.orgd33tahhm, there seems to be no websocket connection made according to the browser14:45:42
@erik:michelson.euErik [🦔-dev]Yes, but it still could be a thing.14:45:42
@d33tah-test:matrix.orgd33tahis there a recommended configuration for nginx that should work?14:45:52

Show newer messages


Back to Room ListRoom Version: 7