Avainsanana Wekan

I noticed that the service is up during configuration, and produces log entries as usua

17. tammikuuta 2018 klo 19.38
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Snap, Wekan

I noticed that the service is up locally during the (non-finishing) configuration phase, and produces journal log entries as usual, I’m attaching the relevant lines here. The gist of it appears to be an ”Error: no hostname or hostnames provided in connection string” from programs/server/node_modules/fibers/future.js:280

I’m unable to reproduce this snap issue in a VM, but so far I’ve failed to pinpoint the curcial difference between the VM and my physical server.

I’ve tried purging and reinstalling snapd, disabling IPv6, turning off Apache and any other services that might be in the way, rebuilding the snap with my previous settings built in but none of it has made any difference.

 

Vastaa viestiin sen kontekstissa (Github)

Unfortunately the install now also fails

16. tammikuuta 2018 klo 13.25
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Snap, Wekan

@xet7 Unfortunately the install now also fails with the same configure hook issue as refresh did:

root@battra:~# snap remove wekan
wekan removed
root@battra:~# snap install wekan
error: cannot perform the following tasks:
- Run configure hook of "wekan" snap if present (run hook "configure": )

(For mongodump, I had to replace/upgrade the Xenial package with mongodb-org-tools from the main MongoDB site, because Xenial’s mongodump 2.6 failed with assertion: 17369 Backing up users and roles is only supported for clusters with auth schema versions 1 or 3, found: 5. With mongodump 3.6.2 I was able to dump the db successfully.)

I came across this old Wekan snap report about the same issue. I enabled snap debugging as mentioned there, and will attach the result of grep snapd from during the installation attempt here.

Should I open a new issue about this, to keep this report on topic?

 

 

Vastaa viestiin sen kontekstissa (Github)

Stuck in Run configure hook of ”wekan

15. tammikuuta 2018 klo 20.25
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Wekan

@xet7 When I try to refresh the snap, it gets stuck in Run configure hook of "wekan" snap if presentwith a node process eating up the CPU. It takes 5 minutes before snapd gives up. Now the service won’t come back up, and revert also fails:

root@battra:~# snap revert wekan
error: cannot perform the following tasks:
- Run configure hook of "wekan" snap if present (run hook "configure": )

 

Vastaa viestiin sen kontekstissa (Github)

For me the double slash regression occurred at 0.62-3-g74877fd

21. joulukuuta 2017 klo 14.39
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Wekan

For me the double slash regression occurred at 0.62-3-g74877fd (as it did for the reporter in #1405), whereas this edge-to-edge URL issue was already there in 0.60 (but the double slash issue wasn’t). It might not definitely make them completely unrelated, but would at least hint towards it.

Vastaa viestiin sen kontekstissa (Github)

An edge-to-edge URL makes description uneditable

9. joulukuuta 2017 klo 17.20
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Firefox, saavutettavuus, Wekan

Impacted version: 0.60

Server Setup Information:

  • Operating System: Ubuntu 16.04
  • Deployment Method: snap
  • ROOT_URL environment variable (Is there a subfolder?): https://my-domain.com/kan (yes)

Problem description:
A description consisting entirely of a URL that happens to extend from the left edge to the right edge of the description field makes it impossible to edit the description, as clicking anywhere on the viewer lands the click on the URL, which triggers a new browser tab instead of the editor.

Here’s a screenshot of such a URL overlapping the editing area, as highlighted by the inspector in Firefox.

Wekan card with uneditable URL description

There’s actually a couple of pixels worth of unlinked, clickable editor area at the right edge here, but you need a really steady hand and mouse to hit those pixels.

A workaround seems to be to change the browser zoom level (either way), causing the URL to extend either over to the next line or properly short of the right edge of the first line (turning the rest of the line clickable).

Vastaa viestiin sen kontekstissa (Github)

V0.55 didn’t fix this unfortunately

20. marraskuuta 2017 klo 15.30
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Markdown, Wekan

V0.55 didn’t fix this unfortunately: my steps to reproduce still produce the unstylized text and not a code block.

tracking: stable
installed: 0.55 (87) 125MB –
refreshed: 2017-11-19 19:51:40 +0200 EET

Perak’s markdown ironically has had one issue reported about a reverse problem: someone had their first line always treated as code block (which was because they had indented the line). No bugs reported about the first line indentation being trimmed off.

Vastaa viestiin sen kontekstissa (Github)

Ah yes, the backticks are a cleaner workaround

10. lokakuuta 2017 klo 20.15
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Markdown, Wekan

@xet7 Ah yes, the backticks are a cleaner workaround.

Not sure what you meant about the description supporting markdown, as markdown formatting of the description is what I was reporting on :)

In case my wording was unclear, I didn’t mean I wanted to preserve the indentation going from the editor to the formatted view, but to use markdown’s indented code block feature, which works just fine unless the indentation occurs right at the beginning of the description (or a comment), where the starting indention is trimmed off (thus breaking the code block formatting).

Vastaa viestiin sen kontekstissa (Github)

Whitespace trimming breaks Markdown code block indentation

10. lokakuuta 2017 klo 18.41
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Markdown, Wekan

Impacted version: 0.49

Server Setup Information:

  • Operating System: Ubuntu 16.04
  • Deployment Method: snap
  • ROOT_URL environment variable (Is there a subfolder?): https://my-domain.com/kan (yes)

Steps to reproduce:

  1. Create a card
  2. Enter a description which consists entirely of a (markdown-styled) code block, i.e. indented with 4 spaces:
     first line
     second line
    
  3. Save the description

What happens:
The description is plain, unstylized text.

What I expect to happen:
For the description to be rendered as a code block.

How to work around this:
I have to enter at least one non-whitespace character followed by at least two newlines before entering the indented code block. Urgh :(

Vastaa viestiin sen kontekstissa (Github)

”You have an unsaved description” doesn’t go away after saving

10. lokakuuta 2017 klo 18.26
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Wekan

Impacted version: 0.49

Server Setup Information:

  • Operating System: Ubuntu 16.04
  • Deployment Method: snap
  • ROOT_URL environment variable (Is there a subfolder?): https://my-domain.com/kan (yes)

Steps to reproduce:

  1. Create a card
  2. Click the description field’s Edit link, enter some text
  3. Click (for instance) on the comment field, prompting Wekan to show ”You have an unsaved description” in the description (with View it/Discard links)
  4. Click the description field’s Edit link again, click Save

What happens:
The description field still shows ”You have an unsaved description” with the just saved description text. The only way to make the warning go away is to select the ”Discard” link.

What I expect to happen:
I’d expect the ”You have an unsaved description” notice to disappear when the description is saved.

Vastaa viestiin sen kontekstissa (Github)

Import from Trello fails if the board has a loose checklist

24. syyskuuta 2017 klo 18.25
Sijainti: Vianhallintajärjestelmät: Github
Avainsanat: Trello, Wekan

Impacted version: 0.39

Server Setup Information:

  • Operating System: Ubuntu 16.04
  • Deployment Method: snap
  • ROOT_URL environment variable (Is there a subfolder?): http://localhost:5000

Steps to reproduce:

  1. Create a board in Trello.
  2. Create a list in the board.
  3. Create a card in the list.
  4. Create a checklist in the card.
  5. Archive the list.
  6. Copy the board.
  7. Export the new copy as JSON.
  8. In Wekan, initiate a Trello import.
  9. Map the user.

What I expect to happen:
For the board to be imported in Wekan.

What happens:
The importer reports a ’400’. journalctl -u snap.wekan.wekan.service reports

Exception while invoking method 'importBoard' Error: Card id is required
    at getErrorObject (packages/aldeed_collection2-core.js:480:15)
    at [object Object].doValidate (packages/aldeed_collection2-core.js:462:13)
    at [object Object].Mongo.Collection.(anonymous function) [as insert] (packages/aldeed_collection2-core.js:214:25)
    at packages/matb33_collection-hooks.js:127:46
    at [object Object]._.extend.withValue (packages/meteor.js:1122:17)
    at Object.directOp (packages/matb33_collection-hooks.js:47:27)
    at Object.self.direct.(anonymous function) [as insert] (packages/matb33_collection-hooks.js:126:30)
    at models/trelloCreator.js:408:45
    at Array.forEach (native)
    at TrelloCreator.createChecklists (models/trelloCreator.js:400:22)
    at TrelloCreator.create (models/trelloCreator.js:608:10)
    at [object Object].Meteor.methods.importBoard (models/import.js:27:20)
    at packages/check.js:130:16
    at [object Object]._.extend.withValue (packages/meteor.js:1122:17)
    at Object.exports.Match._failIfArgumentsAreNotAllChecked (packages/check.js:129:41)
    at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1734:18)
Sanitized and reported to the client as: Card id is required [400]

I’m attaching the failing JSON.

To be fair, I think the blame here mostly lies with Trello: it does not preserve archived lists when copying a board (you won’t find them from archived lists view in the copy), but for some reason it does carry the checklists contained in those lists over, and they then pop up in the export file.

Wekan’s ”Card id is required” error is slightly misleading here though: I think the problem isn’t a missing card ID, but the fact that the parent card referenced by the checklist does not come with the export.

 

Vastaa viestiin sen kontekstissa (Github)

« Uudempia - Vanhempia »