mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-12 01:59:34 -05:00
Importing from Trello does not work properly #13
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NoLooseEnds on GitHub (Sep 8, 2021).
I start the process, authorize the Vikunja Migration app via Trello, and it says "Importing in progress"
The result is one board without cards – and that is the only one that is a "personal board" – the rest is in different workspaces (where I'm admin – and I gave permissions to when authorizing the "Vikunja app").
So in summary:
I've tried to look at the logs, but nothing related pops up as far as I can see (maybe I'm looking in the wrong place, or need debugging on).
I see it says ´Vikunja Migration will be able to use your account for an hour (or until you disable it).` on the Trello authorization page – is it too little time.
Screenshot:

Let me know if you want me to check something specific.
@NoLooseEnds commented on GitHub (Sep 8, 2021):
I removed the one board that got imported, and started again.
This time it imported another board – from a workspace(!). It imported all the "buckets", but only imported one card (of 24 spread over different buckets).
The cards do have images, also the one card that got imported, but the image did not get imported. But that might be another limitation of the import tool?
@kolaente commented on GitHub (Sep 8, 2021):
Could you enable debug logging on the server and try again? There should be something there, this clearly looks like a bug.
Maybe we're running in Trellos rate limit.
@NoLooseEnds commented on GitHub (Sep 8, 2021):
Enabled debug now, should have done it in the first place. Everything regarding parsing through all the boards, cards, etc. seems to work fine. Until it wants to save an attachment. Here is the relevant log:
But the
/app/vikunja/filesdirectory is writable, and running "touch testfile" from inside the docker works fine.Not sure whats going on – the storage is on a NFS share.
@kolaente commented on GitHub (Sep 8, 2021):
Are you able to upload attachments? If that doesn't work either and fails with the same error message, it's a permission problem.
The
lsoutput looks like the folder is owned by root, the user you created thetestfiledoes not seem to be the Vikunja user.The user you're executing commands in the container is not necessarily the same user running the Vikunja binary. You can control the UID that user has, check out the docs for more details.
@NoLooseEnds commented on GitHub (Sep 8, 2021):
I'll try to test some more, but the NFS share should be fully writable for anyone by the nature of MFD.
Thanks for your help so far 🙂
@NoLooseEnds commented on GitHub (Sep 8, 2021):
It was clearly a permission error.

That's sorted now. And you were right, the app runs under the vikunja user while I tested under a root user.
Every board is now imported (yey! – some even with the Trello background image), and the logs seems fine as far as I can tell.
Unfortunately, attachments are still not imported and/or showing properly.
So to summarize. It seems as every board gets imported, some images (ie. background), and some attachments get's an erroneous attachment – while others don't show that they have any.
I have tried to add attachments manually, and that works as expected.
I have the whole import as a debug-log, if you want it. I don't want to put it here since it's quite massive, and I'm unsure about privacy concerns.
List of files from the files directory:
@kolaente commented on GitHub (Sep 8, 2021):
I love that comic, I have it printed on a wall in the office.
What does that look like when you open the file? (for example with
cat?I'd love to take a look at the log. You could send it to me via email: konrad@vikunja.io
@NoLooseEnds commented on GitHub (Sep 8, 2021):
So something is weird with import. I checked the board settings on Trello, just to be sure, and I am an admin. My user also created all the cards.
I just sent you the debug log.
@kolaente commented on GitHub (Sep 8, 2021):
Got it, will look into it.
@kolaente commented on GitHub (Nov 14, 2021):
Fixed in
c3e0e6405a. Please test with a new unstable release once the CI released one (in ~30 min).Closing as resolved, feel free to ping me if you have issues with it.