Export.zip from vikunja.cloud no uploading

I installed non-docker self-hosting Vikunja (version 24-6) in /opt/vikunja. Works well.
Until now I used vikunja cloud. I want to migrate my data, but get only error response: “could not read data: json: cannot unmarshal object into Go struct field”.
I have a simple question: what is the matter, and can I repair it as a non-coder?

Update: I downgraded to Version 24.1, the actual version of vikunja cloud. Still the same error.

Where did you get the error?

Vikunja cloud runs on a recent unstable build, not 0.24.1

I exported a zipfile from vikunja cloud. In the Version file, the number v0.24.1-603-f16cd8d813 was mentioned.

And did you see the error message during the export or the import?

I saw the error when starting vikunja from the cli.

So not during the import?

I am sorry, I am not making myself very clear. I should have written: I saw the error after starting vikunja from the cli. When trying to import, in stdout the error “could not read data: json: cannot unmarshal object into Go struct field” appeared every time.

Does it work with a recent unstable build?

After using the latest unstable version, import went smoothly. Thank you for your fast response!

1 Like

I allow myself to hijack this thread. Same problem.

Exported data today from vikunja cloud and VERSION file in downloaded ZIP tells v0.24.1-795-ac36389a42.

I went to my local instance and tried to upload the ZIP to import the data. The import animation, which I know from vikunja cloud, pops up for some milliseconds. Terminal running docker compose up shows:

vikunja-1 | 2025-03-03T08:19:03Z: ERROR ▶ 167 could not read data: json: cannot unmarshal object into Go struct field ProjectView.views.filter of type string

Then, I upgraded local vikunja by running docker compose stop followed by docker compose rm -f, docker compose pull and a subsequent docker compose up. About page is telling Version: v0.24.6 and VERSION file in backup created from the local instance is telling v0.24.6.

Still the same error message is displayed when I try to import data. The import animation also only pops up for some millisecond.

Any hints on that?

I use Vikunja Ubuntu version. After upgrading to newest unstable the export-import problems were gone. Did you download the docker unstable version?

1 Like

Thank you again for pointing on that! Following the compose file starting with…

services:
    vikunja:
        image: vikunja/vikunja
[...]

… docker pulled vikunja/vikunja:latest . I changed the docker-compose.yml to pull unstable and this solved the issue.

#wiederwasgelernt

Best