Todoist Migration Failure (500 Internal Server Error) #897

Closed
opened 2021-06-24 19:06:58 +00:00 by bolgrov · 50 comments

Hello !

I've finally been able to setup Vikunja and reverse proxy it to my domain.
However, when using the Todoist migration I get an error "Error Request failed with status code 500 Internal Server Error"

If this is useful for debugging, I have in Todoist:

  • Tasks with due dates
  • Tasks with reminders
  • Recurring Tasks
  • Tasks with substaks
  • Tasks with comments
  • One shared project with another Todoist user

In the Vikunja api logs I had this:

2021-06-24T19:01:05.85936685Z: WEB 	▶ 94.46.24.58  POST 500 /api/v1/migration/todoist/migrate 2.39076773s - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0

Thank you so much !

Hello ! I've finally been able to setup Vikunja and reverse proxy it to my domain. However, when using the Todoist migration I get an error "*Error Request failed with status code 500 Internal Server Error*" If this is useful for debugging, I have in Todoist: - Tasks with due dates - Tasks with reminders - Recurring Tasks - Tasks with substaks - Tasks with comments - One shared project with another Todoist user In the Vikunja api logs I had this: ``` 2021-06-24T19:01:05.85936685Z: WEB ▶ 94.46.24.58 POST 500 /api/v1/migration/todoist/migrate 2.39076773s - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 ``` Thank you so much !
Owner

Could you enable debug logs and try the migration again?

Could you enable debug logs and try the migration again?
Author

Here you go, hope its useful:

2021-06-24T19:47:22.180753802Z: DEBUG	▶ todoist/convertTodoistToVikunja 156 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730765175,
2021-06-24T19:47:22.18082806Z: DEBUG	▶ todoist/convertTodoistToVikunja 157 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730851930,
2021-06-24T19:47:22.1811905Z: DEBUG	▶ todoist/convertTodoistToVikunja 158 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4785602859,
2021-06-24T19:47:22.181829602Z: DEBUG	▶ todoist/convertTodoistToVikunja 159 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4830674349,
2021-06-24T19:47:22.182036303Z: DEBUG	▶ todoist/convertTodoistToVikunja 15a [Todoist Migration] Could not find task 4846708425 in tasks map while trying to get resolve subtasks for task 4846720978,
2021-06-24T19:47:22.18231954Z: DEBUG	▶ todoist/convertTodoistToVikunja 15b [Todoist Migration] Could not find task 4846722641 in tasks map while trying to get resolve subtasks for task 4862260537,
2021-06-24T19:47:22.182584481Z: DEBUG	▶ todoist/convertTodoistToVikunja 15c [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4902497772,
2021-06-24T19:47:22.182722516Z: DEBUG	▶ todoist/convertTodoistToVikunja 15d [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4906847700,
2021-06-24T19:47:22.182854496Z: DEBUG	▶ todoist/convertTodoistToVikunja 15e [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4907341687,
2021-06-24T19:47:22.183041123Z: DEBUG	▶ todoist/convertTodoistToVikunja 15f [Todoist Migration] Could not find task 4846708425 in tasks map while trying to get resolve subtasks for task 4907495012,
2021-06-24T19:47:22.183311675Z: DEBUG	▶ todoist/convertTodoistToVikunja 160 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4909222156,
2021-06-24T19:47:22.18351145Z: DEBUG	▶ todoist/convertTodoistToVikunja 161 [Todoist Migration] Could not find task 4469200961 in tasks map while trying to get resolve subtasks for task 4910987794,
2021-06-24T19:47:22.183752669Z: DEBUG	▶ todoist/convertTodoistToVikunja 162 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4914176761,
2021-06-24T19:47:22.183871223Z: DEBUG	▶ todoist/convertTodoistToVikunja 163 [Todoist Migration] Could not find task 4914187831 in tasks map while trying to get resolve subtasks for task 4918369364,
2021-06-24T19:47:22.183993851Z: DEBUG	▶ todoist/convertTodoistToVikunja 164 [Todoist Migration] Could not find task 4914187831 in tasks map while trying to get resolve subtasks for task 4918369829,
2021-06-24T19:47:22.184261329Z: DEBUG	▶ todoist/convertTodoistToVikunja 165 [Todoist Migration] Could not find task 3758051176 for note 2575768147,
2021-06-24T19:47:22.184521566Z: DEBUG	▶ todoist/convertTodoistToVikunja 166 [Todoist Migration] Could not find task 4480213803 for note 2746868097,
2021-06-24T19:47:22.18463512Z: DEBUG	▶ todoist/convertTodoistToVikunja 167 [Todoist Migration] Could not find task 4543766884 for note 2761117683,
2021-06-24T19:47:22.184759933Z: DEBUG	▶ todoist/convertTodoistToVikunja 168 [Todoist Migration] Could not find task 4618056715 for note 2779151536,
2021-06-24T19:47:22.184944524Z: DEBUG	▶ todoist/convertTodoistToVikunja 169 [Todoist Migration] Could not find task 4636510374 for note 2783737093,
2021-06-24T19:47:22.185209613Z: DEBUG	▶ todoist/convertTodoistToVikunja 16a [Todoist Migration] Could not find task 4713444528 for note 2802218397,
2021-06-24T19:47:22.185411388Z: DEBUG	▶ todoist/convertTodoistToVikunja 16b [Todoist Migration] Could not find task 4792096667 for note 2821991544,
2021-06-24T19:47:22.185489905Z: DEBUG	▶ todoist/convertTodoistToVikunja 16c [Todoist Migration] Could not find task 4792098226 for note 2821991621,
2021-06-24T19:47:22.185678255Z: DEBUG	▶ todoist/convertTodoistToVikunja 16d [Todoist Migration] Could not find task 4799992018 for note 2823660290,
2021-06-24T19:47:22.185833067Z: DEBUG	▶ todoist/convertTodoistToVikunja 16e [Todoist Migration] Could not find task 4846725652 for note 2835370231,
2021-06-24T19:47:22.186031083Z: DEBUG	▶ todoist/convertTodoistToVikunja 16f [Todoist Migration] Could not find task 4911075949 for note 2851313727,
2021-06-24T19:47:22.186382208Z: DEBUG	▶ todoist/convertTodoistToVikunja 170 Could not find task 3741371016 for reminder 2283159207 while trying to resolve reminders,
2021-06-24T19:47:22.189153708Z: - 	▶ echo recover.go:92 [PANIC RECOVER] runtime error: invalid memory address or nil pointer dereference goroutine 254 [running]:,
github.com/labstack/echo/v4/middleware.RecoverWithConfig.func1.1.1(0xec3864, 0x1000, 0x0, 0x101ead4, 0x2eb0180),
	/go/pkg/mod/github.com/labstack/echo/v4@v4.3.0/middleware/recover.go:77 +0xa8,
panic(0xc05238, 0x1585918),
	/usr/local/go/src/runtime/panic.go:965 +0x174,
code.vikunja.io/api/pkg/modules/migration/todoist.convertTodoistToVikunja(0x2fa30e0, 0x5, 0x3eecaa0, 0x3eeca98, 0x1, 0x1),
	/go/src/code.vikunja.io/api/pkg/modules/migration/todoist/todoist.go:428 +0x1e04,
code.vikunja.io/api/pkg/modules/migration/todoist.(*Migration).Migrate(0x2e5f500, 0x2d60fa0, 0x0, 0x0),
	/go/src/code.vikunja.io/api/pkg/modules/migration/todoist/todoist.go:511 +0x654,
code.vikunja.io/api/pkg/modules/migration/handler.(*MigrationWeb).Migrate(0x2c111c8, 0x101ead4, 0x2eb0180, 0xec4a70, 0x2eb01c0),
	/go/src/code.vikunja.io/api/pkg/modules/migration/handler/handler.go:70 +0x204,
github.com/labstack/echo/v4/middleware.JWTWithConfig.func1.1(0x101ead4, 0x2eb0180, 0x1, 0x1),
	/go/pkg/mod/github.com/labstack/echo/v4@v4.3.0/middleware/jwt.go:229 +0x354,
github.com/labstack/echo/v4.(*Echo).add.func1(0x101ead4, 0x2eb0180, 0xd0812a, 0x1b),
	/go/pkg/mod/github.com/labstack/echo/v4@v4.3.0/echo.go:536 +0x50,
github.com/labstack/echo/v4/middleware.CORSWithConfig.func1.1(0x101ead4, 0x2eb0180, 0x916c00, 0x60d4e146),
	/go/pkg/mod/github.com/labstack/echo/v4@v4.3.0/middleware/cors.go:186 +0xd64,
github.com/labstack/echo/v4/middleware.RecoverWithConfig.func1.1(0x101ead4, 0x2eb0180, 0x0, 0x0),
	/go/pkg/mod/github.com/labstack/echo/v4@v4.3.0/middleware/recover.go:98 +0xec,
github.com/labstack/echo/v4/middleware.LoggerWithConfig.func2.1(0x101ead4, 0x2eb0180, 0x0, 0x0),
	/go/pkg/mod/github.com/labstack/echo/v4@v4.3.0/middleware/logger.go:117 +0xd4,
github.com/labstack/echo/v4.(*Echo).ServeHTTP(0x2f1b2c0, 0x1013420, 0x2d60f00, 0x2cac480),
	/go/pkg/mod/github.com/labstack/echo/v4@v4.3.0/echo.go:646 +0x2ac,
net/http.serverHandler.ServeHTTP(0x2c90000, 0x1013420, 0x2d60f00, 0x2cac480),
	/usr/local/go/src/net/http/server.go:2887 +0x88,
net/http.(*conn).serve(0x2e5cd20, 0x10146f4, 0x31e3080),
	/usr/local/go/src/net/http/server.go:1952 +0x7f0,
created by net/http.(*Server).Serve,
	/usr/local/go/src/net/http/server.go:3013 +0x318,
,
goroutine 1 [chan receive, 2 minutes]:,
code.vikunja.io/api/pkg/cmd.glob..func2(0x158d618, 0x162da20, 0x0, 0x0),
	/go/src/code.vikunja.io/api/pkg/cmd/web.go:68 +0x194,
github.com/spf13/cobra.(*Command).execute(0x158d618, 0x2d18110, 0x0, 0x0, 0x158d618, 0x2d18110),
	/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:856 +0x1f4,
github.com/spf13/cobra.(*Command).ExecuteC(0x158d618, 0x0, 0x1, 0x1),
	/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:960 +0x274,
github.com/spf13/cobra.(*Command).Execute(...),
	/go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:897,
code.vikunja.io/api/pkg/cmd.Execute(),
	/go/src/code.vikunja.io/api/pkg/cmd/cmd.go:44 +0x20,
main.main(),
	/go/src/code.vikunja.io/api/main.go:22 +0x14,
,
goroutine 36 [select, 2 minutes]:,
database/sql.(*DB).connectionOpener(0x2e8c120, 0x1014694, 0x2e5ad60),
	/usr/local/go/src/database/sql/sql.go:1133 +0x9c,
created by database/sql.OpenDB,
	/usr/local/go/src/database/sql/sql.go:740 +0xf4,
,
goroutine 37 [select]:,
code.vikunja.io/api/pkg/mail.StartMailDaemon.func1(),
	/go/src/code.vikunja.io/api/pkg/mail/mail.go:62 +0xfc,
created by code.vikunja.io/api/pkg/mail.StartMailDaemon,
	/go/src/code.vikunja.io/api/pkg/mail/mail.go:55 +0x12c,
,
goroutine 38 [select, 1 minutes]:,
github.com/robfig/cron/v3.(*Cron).run(0x2fa2300),
	/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:263 +0x394,
created by github.com/robfig/cron/v3.(*Cron).Start,
	/go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:222 +0x9c,
,
goroutine 39 [chan receive, 2 minutes]:,
github.com/ThreeDotsLabs/watermill/message.(*Router).Run(0x2fec070, 0x10146b4, 0x31645a0, 0x0, 0x0),
	/go/pkg/mod/github.com/!three!dots!labs/watermill@v1.1.1/message/router.go:360 +0x740,
code.vikunja.io/api/pkg/events.InitEvents(0xc02f38, 0x0),
	/go/src/code.vikunja.io/api/pkg/events/events.go:95 +0x3ec,
code.vikunja.io/api/pkg/initialize.FullInit.func1(),
	/go/src/code.vikunja.io/a,
,
2021-06-24T19:47:22.190985832Z: WEB 	▶ 94.46.24.58  POST 500 /api/v1/migration/todoist/migrate 3.816745049s - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0,
2021-06-24T19:47:28.23019719Z: WEB 	▶ 94.46.24.58  GET 200 /api/v1/notifications?page=1 933.802µs - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0,
2021-06-24T19:47:30.487486238Z: WEB 	▶ 94.46.24.58  GET 401 /api/v1/notifications?page=1 301.199µs - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0,
Here you go, hope its useful: ``` 2021-06-24T19:47:22.180753802Z: DEBUG ▶ todoist/convertTodoistToVikunja 156 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730765175, 2021-06-24T19:47:22.18082806Z: DEBUG ▶ todoist/convertTodoistToVikunja 157 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730851930, 2021-06-24T19:47:22.1811905Z: DEBUG ▶ todoist/convertTodoistToVikunja 158 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4785602859, 2021-06-24T19:47:22.181829602Z: DEBUG ▶ todoist/convertTodoistToVikunja 159 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4830674349, 2021-06-24T19:47:22.182036303Z: DEBUG ▶ todoist/convertTodoistToVikunja 15a [Todoist Migration] Could not find task 4846708425 in tasks map while trying to get resolve subtasks for task 4846720978, 2021-06-24T19:47:22.18231954Z: DEBUG ▶ todoist/convertTodoistToVikunja 15b [Todoist Migration] Could not find task 4846722641 in tasks map while trying to get resolve subtasks for task 4862260537, 2021-06-24T19:47:22.182584481Z: DEBUG ▶ todoist/convertTodoistToVikunja 15c [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4902497772, 2021-06-24T19:47:22.182722516Z: DEBUG ▶ todoist/convertTodoistToVikunja 15d [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4906847700, 2021-06-24T19:47:22.182854496Z: DEBUG ▶ todoist/convertTodoistToVikunja 15e [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4907341687, 2021-06-24T19:47:22.183041123Z: DEBUG ▶ todoist/convertTodoistToVikunja 15f [Todoist Migration] Could not find task 4846708425 in tasks map while trying to get resolve subtasks for task 4907495012, 2021-06-24T19:47:22.183311675Z: DEBUG ▶ todoist/convertTodoistToVikunja 160 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4909222156, 2021-06-24T19:47:22.18351145Z: DEBUG ▶ todoist/convertTodoistToVikunja 161 [Todoist Migration] Could not find task 4469200961 in tasks map while trying to get resolve subtasks for task 4910987794, 2021-06-24T19:47:22.183752669Z: DEBUG ▶ todoist/convertTodoistToVikunja 162 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4914176761, 2021-06-24T19:47:22.183871223Z: DEBUG ▶ todoist/convertTodoistToVikunja 163 [Todoist Migration] Could not find task 4914187831 in tasks map while trying to get resolve subtasks for task 4918369364, 2021-06-24T19:47:22.183993851Z: DEBUG ▶ todoist/convertTodoistToVikunja 164 [Todoist Migration] Could not find task 4914187831 in tasks map while trying to get resolve subtasks for task 4918369829, 2021-06-24T19:47:22.184261329Z: DEBUG ▶ todoist/convertTodoistToVikunja 165 [Todoist Migration] Could not find task 3758051176 for note 2575768147, 2021-06-24T19:47:22.184521566Z: DEBUG ▶ todoist/convertTodoistToVikunja 166 [Todoist Migration] Could not find task 4480213803 for note 2746868097, 2021-06-24T19:47:22.18463512Z: DEBUG ▶ todoist/convertTodoistToVikunja 167 [Todoist Migration] Could not find task 4543766884 for note 2761117683, 2021-06-24T19:47:22.184759933Z: DEBUG ▶ todoist/convertTodoistToVikunja 168 [Todoist Migration] Could not find task 4618056715 for note 2779151536, 2021-06-24T19:47:22.184944524Z: DEBUG ▶ todoist/convertTodoistToVikunja 169 [Todoist Migration] Could not find task 4636510374 for note 2783737093, 2021-06-24T19:47:22.185209613Z: DEBUG ▶ todoist/convertTodoistToVikunja 16a [Todoist Migration] Could not find task 4713444528 for note 2802218397, 2021-06-24T19:47:22.185411388Z: DEBUG ▶ todoist/convertTodoistToVikunja 16b [Todoist Migration] Could not find task 4792096667 for note 2821991544, 2021-06-24T19:47:22.185489905Z: DEBUG ▶ todoist/convertTodoistToVikunja 16c [Todoist Migration] Could not find task 4792098226 for note 2821991621, 2021-06-24T19:47:22.185678255Z: DEBUG ▶ todoist/convertTodoistToVikunja 16d [Todoist Migration] Could not find task 4799992018 for note 2823660290, 2021-06-24T19:47:22.185833067Z: DEBUG ▶ todoist/convertTodoistToVikunja 16e [Todoist Migration] Could not find task 4846725652 for note 2835370231, 2021-06-24T19:47:22.186031083Z: DEBUG ▶ todoist/convertTodoistToVikunja 16f [Todoist Migration] Could not find task 4911075949 for note 2851313727, 2021-06-24T19:47:22.186382208Z: DEBUG ▶ todoist/convertTodoistToVikunja 170 Could not find task 3741371016 for reminder 2283159207 while trying to resolve reminders, 2021-06-24T19:47:22.189153708Z: - ▶ echo recover.go:92 [PANIC RECOVER] runtime error: invalid memory address or nil pointer dereference goroutine 254 [running]:, github.com/labstack/echo/v4/middleware.RecoverWithConfig.func1.1.1(0xec3864, 0x1000, 0x0, 0x101ead4, 0x2eb0180), /go/pkg/mod/github.com/labstack/echo/v4@v4.3.0/middleware/recover.go:77 +0xa8, panic(0xc05238, 0x1585918), /usr/local/go/src/runtime/panic.go:965 +0x174, code.vikunja.io/api/pkg/modules/migration/todoist.convertTodoistToVikunja(0x2fa30e0, 0x5, 0x3eecaa0, 0x3eeca98, 0x1, 0x1), /go/src/code.vikunja.io/api/pkg/modules/migration/todoist/todoist.go:428 +0x1e04, code.vikunja.io/api/pkg/modules/migration/todoist.(*Migration).Migrate(0x2e5f500, 0x2d60fa0, 0x0, 0x0), /go/src/code.vikunja.io/api/pkg/modules/migration/todoist/todoist.go:511 +0x654, code.vikunja.io/api/pkg/modules/migration/handler.(*MigrationWeb).Migrate(0x2c111c8, 0x101ead4, 0x2eb0180, 0xec4a70, 0x2eb01c0), /go/src/code.vikunja.io/api/pkg/modules/migration/handler/handler.go:70 +0x204, github.com/labstack/echo/v4/middleware.JWTWithConfig.func1.1(0x101ead4, 0x2eb0180, 0x1, 0x1), /go/pkg/mod/github.com/labstack/echo/v4@v4.3.0/middleware/jwt.go:229 +0x354, github.com/labstack/echo/v4.(*Echo).add.func1(0x101ead4, 0x2eb0180, 0xd0812a, 0x1b), /go/pkg/mod/github.com/labstack/echo/v4@v4.3.0/echo.go:536 +0x50, github.com/labstack/echo/v4/middleware.CORSWithConfig.func1.1(0x101ead4, 0x2eb0180, 0x916c00, 0x60d4e146), /go/pkg/mod/github.com/labstack/echo/v4@v4.3.0/middleware/cors.go:186 +0xd64, github.com/labstack/echo/v4/middleware.RecoverWithConfig.func1.1(0x101ead4, 0x2eb0180, 0x0, 0x0), /go/pkg/mod/github.com/labstack/echo/v4@v4.3.0/middleware/recover.go:98 +0xec, github.com/labstack/echo/v4/middleware.LoggerWithConfig.func2.1(0x101ead4, 0x2eb0180, 0x0, 0x0), /go/pkg/mod/github.com/labstack/echo/v4@v4.3.0/middleware/logger.go:117 +0xd4, github.com/labstack/echo/v4.(*Echo).ServeHTTP(0x2f1b2c0, 0x1013420, 0x2d60f00, 0x2cac480), /go/pkg/mod/github.com/labstack/echo/v4@v4.3.0/echo.go:646 +0x2ac, net/http.serverHandler.ServeHTTP(0x2c90000, 0x1013420, 0x2d60f00, 0x2cac480), /usr/local/go/src/net/http/server.go:2887 +0x88, net/http.(*conn).serve(0x2e5cd20, 0x10146f4, 0x31e3080), /usr/local/go/src/net/http/server.go:1952 +0x7f0, created by net/http.(*Server).Serve, /usr/local/go/src/net/http/server.go:3013 +0x318, , goroutine 1 [chan receive, 2 minutes]:, code.vikunja.io/api/pkg/cmd.glob..func2(0x158d618, 0x162da20, 0x0, 0x0), /go/src/code.vikunja.io/api/pkg/cmd/web.go:68 +0x194, github.com/spf13/cobra.(*Command).execute(0x158d618, 0x2d18110, 0x0, 0x0, 0x158d618, 0x2d18110), /go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:856 +0x1f4, github.com/spf13/cobra.(*Command).ExecuteC(0x158d618, 0x0, 0x1, 0x1), /go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:960 +0x274, github.com/spf13/cobra.(*Command).Execute(...), /go/pkg/mod/github.com/spf13/cobra@v1.1.3/command.go:897, code.vikunja.io/api/pkg/cmd.Execute(), /go/src/code.vikunja.io/api/pkg/cmd/cmd.go:44 +0x20, main.main(), /go/src/code.vikunja.io/api/main.go:22 +0x14, , goroutine 36 [select, 2 minutes]:, database/sql.(*DB).connectionOpener(0x2e8c120, 0x1014694, 0x2e5ad60), /usr/local/go/src/database/sql/sql.go:1133 +0x9c, created by database/sql.OpenDB, /usr/local/go/src/database/sql/sql.go:740 +0xf4, , goroutine 37 [select]:, code.vikunja.io/api/pkg/mail.StartMailDaemon.func1(), /go/src/code.vikunja.io/api/pkg/mail/mail.go:62 +0xfc, created by code.vikunja.io/api/pkg/mail.StartMailDaemon, /go/src/code.vikunja.io/api/pkg/mail/mail.go:55 +0x12c, , goroutine 38 [select, 1 minutes]:, github.com/robfig/cron/v3.(*Cron).run(0x2fa2300), /go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:263 +0x394, created by github.com/robfig/cron/v3.(*Cron).Start, /go/pkg/mod/github.com/robfig/cron/v3@v3.0.1/cron.go:222 +0x9c, , goroutine 39 [chan receive, 2 minutes]:, github.com/ThreeDotsLabs/watermill/message.(*Router).Run(0x2fec070, 0x10146b4, 0x31645a0, 0x0, 0x0), /go/pkg/mod/github.com/!three!dots!labs/watermill@v1.1.1/message/router.go:360 +0x740, code.vikunja.io/api/pkg/events.InitEvents(0xc02f38, 0x0), /go/src/code.vikunja.io/api/pkg/events/events.go:95 +0x3ec, code.vikunja.io/api/pkg/initialize.FullInit.func1(), /go/src/code.vikunja.io/a, , 2021-06-24T19:47:22.190985832Z: WEB ▶ 94.46.24.58 POST 500 /api/v1/migration/todoist/migrate 3.816745049s - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0, 2021-06-24T19:47:28.23019719Z: WEB ▶ 94.46.24.58 GET 200 /api/v1/notifications?page=1 933.802µs - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0, 2021-06-24T19:47:30.487486238Z: WEB ▶ 94.46.24.58 GET 401 /api/v1/notifications?page=1 301.199µs - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0, ```
konrad added the
kind/bug
label 2021-06-24 20:52:48 +00:00
Owner

This looks like a bug. Pushed a potential fix which should at least let the import run through in 37718c3282 - a new unstable release should be ready and released in ~45min. Could you try again with that?

My guess is though that the imported tasks won't contain any reminders or subtasks, maybe neither notes. Not sure why. Could you check that with the new version?

This looks like a bug. Pushed a potential fix which should at least let the import run through in https://kolaente.dev/vikunja/api/commit/37718c3282fad233a2fcc131423bfb6cf98718bc - a new unstable release should be ready and released in ~45min. Could you try again with that? My guess is though that the imported tasks won't contain any reminders or subtasks, maybe neither notes. Not sure why. Could you check that with the new version?
Author

I'll test it tomorrow !

In the meantime, would it help you to look how planner imports Todoist tasks with comments, subtasks, labels etc without any apparent problem (although they only sync to Todoist instead of really importing the tasks to local database...)

Anyway thanks !

I'll test it tomorrow ! In the meantime, would it help you to look how [planner](https://github.com/alainm23/planner) imports Todoist tasks with comments, subtasks, labels etc without any apparent problem (although they only sync to Todoist instead of really importing the tasks to local database...) Anyway thanks !
Author

Hello @konrad , I updated the docker container and I was partially sucessful. However I got an error (which I wasn't quick enough to take a screenshot) which said something about "bucket end list" or simillar.
At the same time I noticed that both my Inbox and Team Inbox tasks got imported however all my projects (and the subsquent tasks in these projects) didn't get imported, which is basically all my tasks.

Here are the logs from Portainer:

- Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
2021-06-25T13:24:16.292327248Z: DEBUG	▶ todoist/Migrate 1d81 [Todoist Migration] Starting migration for user 2
2021-06-25T13:24:16.293111497Z: WEB 	▶ 192.168.1.3  GET 200 /api/v1/user 978.876µs - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
2021-06-25T13:24:16.602639371Z: DEBUG	▶ todoist/Migrate 1d85 [Todoist Migration] Got user token for user 2
2021-06-25T13:24:16.602746592Z: DEBUG	▶ todoist/Migrate 1d86 [Todoist Migration] Getting todoist data for user 2
2021-06-25T13:24:18.270098525Z: DEBUG	▶ todoist/Migrate 1d87 [Todoist Migration] Got all todoist user data for user 2
2021-06-25T13:24:18.270215339Z: DEBUG	▶ todoist/Migrate 1d88 [Todoist Migration] Start converting data for user 2
2021-06-25T13:24:18.272967821Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d89 [Todoist Migration] Could not find task 4172823179 in tasks map while trying to get resolve subtasks for task 4172824956
2021-06-25T13:24:18.27318654Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d8a [Todoist Migration] Could not find task 3624111094 in tasks map while trying to get resolve subtasks for task 4496574699
2021-06-25T13:24:18.273305872Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d8b [Todoist Migration] Could not find task 4498572513 in tasks map while trying to get resolve subtasks for task 4498573261
2021-06-25T13:24:18.273509814Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d8c [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4550049071
2021-06-25T13:24:18.273582424Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d8d [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4550049251
2021-06-25T13:24:18.27395016Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d8e [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4630381703
2021-06-25T13:24:18.274032937Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d8f [Todoist Migration] Could not find task 4630895126 in tasks map while trying to get resolve subtasks for task 4630896942
2021-06-25T13:24:18.275419585Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d90 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730765175
2021-06-25T13:24:18.275500362Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d91 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730851930
2021-06-25T13:24:18.275626138Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d92 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4785602859
2021-06-25T13:24:18.27641422Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d93 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4830674349
2021-06-25T13:24:18.276511719Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d94 [Todoist Migration] Could not find task 4846708425 in tasks map while trying to get resolve subtasks for task 4846720978
2021-06-25T13:24:18.276639884Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d95 [Todoist Migration] Could not find task 4846722641 in tasks map while trying to get resolve subtasks for task 4862260537
2021-06-25T13:24:18.276761605Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d96 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4902497772
2021-06-25T13:24:18.276854844Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d97 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4906847700
2021-06-25T13:24:18.276924399Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d98 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4907341687
2021-06-25T13:24:18.276993102Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d99 [Todoist Migration] Could not find task 4846708425 in tasks map while trying to get resolve subtasks for task 4907495012
2021-06-25T13:24:18.277081471Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d9a [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4909222156
2021-06-25T13:24:18.277179822Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d9b [Todoist Migration] Could not find task 4469200961 in tasks map while trying to get resolve subtasks for task 4910987794
2021-06-25T13:24:18.277303801Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d9c [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4914176761
2021-06-25T13:24:18.277426596Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d9d [Todoist Migration] Could not find task 4914187831 in tasks map while trying to get resolve subtasks for task 4918369364
2021-06-25T13:24:18.27749654Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d9e [Todoist Migration] Could not find task 4914187831 in tasks map while trying to get resolve subtasks for task 4918369829
2021-06-25T13:24:18.277619168Z: DEBUG	▶ todoist/convertTodoistToVikunja 1d9f [Todoist Migration] Could not find task 3758051176 for note 2575768147
2021-06-25T13:24:18.277758518Z: DEBUG	▶ todoist/convertTodoistToVikunja 1da0 [Todoist Migration] Could not find task 4480213803 for note 2746868097
2021-06-25T13:24:18.27784872Z: DEBUG	▶ todoist/convertTodoistToVikunja 1da1 [Todoist Migration] Could not find task 4543766884 for note 2761117683
2021-06-25T13:24:18.277927349Z: DEBUG	▶ todoist/convertTodoistToVikunja 1da2 [Todoist Migration] Could not find task 4618056715 for note 2779151536
2021-06-25T13:24:18.278002903Z: DEBUG	▶ todoist/convertTodoistToVikunja 1da3 [Todoist Migration] Could not find task 4636510374 for note 2783737093
2021-06-25T13:24:18.278098976Z: DEBUG	▶ todoist/convertTodoistToVikunja 1da4 [Todoist Migration] Could not find task 4713444528 for note 2802218397
2021-06-25T13:24:18.278217438Z: DEBUG	▶ todoist/convertTodoistToVikunja 1da5 [Todoist Migration] Could not find task 4792096667 for note 2821991544
2021-06-25T13:24:18.27829414Z: DEBUG	▶ todoist/convertTodoistToVikunja 1da6 [Todoist Migration] Could not find task 4792098226 for note 2821991621
2021-06-25T13:24:18.278368565Z: DEBUG	▶ todoist/convertTodoistToVikunja 1da7 [Todoist Migration] Could not find task 4799992018 for note 2823660290
2021-06-25T13:24:18.278445546Z: DEBUG	▶ todoist/convertTodoistToVikunja 1da8 [Todoist Migration] Could not find task 4846725652 for note 2835370231
2021-06-25T13:24:18.278528341Z: DEBUG	▶ todoist/convertTodoistToVikunja 1da9 [Todoist Migration] Could not find task 4911075949 for note 2851313727
2021-06-25T13:24:18.278670746Z: DEBUG	▶ todoist/convertTodoistToVikunja 1daa Could not find task 3741371016 for reminder 2283159207 while trying to resolve reminders
2021-06-25T13:24:18.278751301Z: DEBUG	▶ todoist/convertTodoistToVikunja 1dab Could not find task 3756692488 for reminder 2284083994 while trying to resolve reminders
2021-06-25T13:24:18.278839763Z: DEBUG	▶ todoist/convertTodoistToVikunja 1dac Could not find task 3774051228 for reminder 2285027626 while trying to resolve reminders
2021-06-25T13:24:18.278916521Z: DEBUG	▶ todoist/convertTodoistToVikunja 1dad Could not find task 3754668500 for reminder 2285044692 while trying to resolve reminders
2021-06-25T13:24:18.278991427Z: DEBUG	▶ todoist/convertTodoistToVikunja 1dae Could not find task 3754668500 for reminder 2285044694 while trying to resolve reminders
2021-06-25T13:24:18.279066612Z: DEBUG	▶ todoist/convertTodoistToVikunja 1daf Could not find task 3754670723 for reminder 2285044696 while trying to resolve reminders
2021-06-25T13:24:18.279162888Z: DEBUG	▶ todoist/convertTodoistToVikunja 1db0 Could not find task 3754683948 for reminder 2285291387 while trying to resolve reminders
2021-06-25T13:24:18.279268109Z: DEBUG	▶ todoist/convertTodoistToVikunja 1db1 Could not find task 3754683948 for reminder 2285291410 while trying to resolve reminders
2021-06-25T13:24:18.279350626Z: DEBUG	▶ todoist/convertTodoistToVikunja 1db2 Could not find task 3754697910 for reminder 2285291482 while trying to resolve reminders
2021-06-25T13:24:18.279426125Z: DEBUG	▶ todoist/convertTodoistToVikunja 1db3 Could not find task 3754697910 for reminder 2285291530 while trying to resolve reminders
2021-06-25T13:24:18.27952468Z: DEBUG	▶ todoist/convertTodoistToVikunja 1db4 Could not find task 3760225964 for reminder 2285291829 while trying to resolve reminders
2021-06-25T13:24:18.279618345Z: DEBUG	▶ todoist/convertTodoistToVikunja 1db5 Could not find task 3758049970 for reminder 2285291922 while trying to resolve reminders
2021-06-25T13:24:18.279694307Z: DEBUG	▶ todoist/convertTodoistToVikunja 1db6 Could not find task 3758051176 for reminder 2285292002 while trying to resolve reminders
2021-06-25T13:24:18.279909341Z: DEBUG	▶ todoist/convertTodoistToVikunja 1db7 Could not find task 3502640217 for reminder 2349115919 while trying to resolve reminders
2021-06-25T13:24:18.280057876Z: DEBUG	▶ todoist/convertTodoistToVikunja 1db8 Could not find task 4508292246 for reminder 2357937527 while trying to resolve reminders
2021-06-25T13:24:18.280151801Z: DEBUG	▶ todoist/Migrate 1db9 [Todoist Migration] Done converting data for user 2
2021-06-25T13:24:18.280212411Z: DEBUG	▶ todoist/Migrate 1dba [Todoist Migration] Start inserting data for user 2
2021-06-25T13:24:18.280272133Z: DEBUG	▶ migration/InsertFromStructure 1dbb [creating structure] Creating 1 namespaces
2021-06-25T13:24:18.286403016Z: DEBUG	▶ migration/InsertFromStructure 1dc0 [creating structure] Created namespace 5
2021-06-25T13:24:18.286535977Z: DEBUG	▶ migration/InsertFromStructure 1dc1 [creating structure] Creating 36 lists
2021-06-25T13:24:18.300861586Z: DEBUG	▶ migration/InsertFromStructure 1ddb [creating structure] Created list 6
2021-06-25T13:24:18.300987565Z: DEBUG	▶ migration/InsertFromStructure 1ddc [creating structure] Creating 49 tasks
2021-06-25T13:24:18.301929238Z: DEBUG	▶ models/Handle 1de4 Sending list created notifications to 0 subscribers for list 6
2021-06-25T13:24:18.311448021Z: DEBUG	▶ migration/InsertFromStructure 1dfd [creating structure] Created task 103
2021-06-25T13:24:18.321899255Z: DEBUG	▶ migration/InsertFromStructure 1e15 [creating structure] Created task 104
2021-06-25T13:24:18.349361747Z: DEBUG	▶ migration/InsertFromStructure 1e31 [creating structure] Created task 105
2021-06-25T13:24:18.360656895Z: DEBUG	▶ migration/InsertFromStructure 1e49 [creating structure] Created task 106
2021-06-25T13:24:18.371433273Z: DEBUG	▶ migration/InsertFromStructure 1e61 [creating structure] Created task 107
2021-06-25T13:24:18.376039305Z: DEBUG	▶ migration/InsertFromStructure 1e63 [creating structure] Created new label 5
2021-06-25T13:24:18.383188638Z: DEBUG	▶ migration/InsertFromStructure 1e6b [creating structure] Associated task 107 with label 5
2021-06-25T13:24:18.39398283Z: DEBUG	▶ migration/InsertFromStructure 1e83 [creating structure] Created task 108
2021-06-25T13:24:18.409083447Z: DEBUG	▶ migration/InsertFromStructure 1e9c [creating structure] Created task 109
2021-06-25T13:24:18.419971138Z: DEBUG	▶ migration/InsertFromStructure 1eb4 [creating structure] Created task 110
2021-06-25T13:24:18.430536055Z: DEBUG	▶ migration/InsertFromStructure 1ecc [creating structure] Created task 111
2021-06-25T13:24:18.440943363Z: DEBUG	▶ migration/InsertFromStructure 1ee4 [creating structure] Created task 112
2021-06-25T13:24:18.451309116Z: DEBUG	▶ migration/InsertFromStructure 1efc [creating structure] Created task 113
2021-06-25T13:24:18.466722563Z: DEBUG	▶ migration/InsertFromStructure 1f15 [creating structure] Created task 114
2021-06-25T13:24:18.482303433Z: DEBUG	▶ migration/InsertFromStructure 1f2e [creating structure] Created task 115
2021-06-25T13:24:18.497015425Z: DEBUG	▶ migration/InsertFromStructure 1f47 [creating structure] Created task 116
2021-06-25T13:24:18.507728785Z: DEBUG	▶ migration/InsertFromStructure 1f5f [creating structure] Created task 117
2021-06-25T13:24:18.523165231Z: DEBUG	▶ migration/InsertFromStructure 1f78 [creating structure] Created task 118
2021-06-25T13:24:18.537960945Z: DEBUG	▶ migration/InsertFromStructure 1f91 [creating structure] Created task 119
2021-06-25T13:24:18.553113709Z: DEBUG	▶ migration/InsertFromStructure 1faa [creating structure] Created task 120
2021-06-25T13:24:18.564089603Z: DEBUG	▶ migration/InsertFromStructure 1fc2 [creating structure] Created task 121
2021-06-25T13:24:18.579203812Z: DEBUG	▶ migration/InsertFromStructure 1fdb [creating structure] Created task 122
2021-06-25T13:24:18.589845136Z: DEBUG	▶ migration/InsertFromStructure 1ff3 [creating structure] Created task 123
2021-06-25T13:24:18.600199334Z: DEBUG	▶ migration/InsertFromStructure 200b [creating structure] Created task 124
2021-06-25T13:24:18.615722131Z: DEBUG	▶ migration/InsertFromStructure 2024 [creating structure] Created task 125
2021-06-25T13:24:18.63113441Z: DEBUG	▶ migration/InsertFromStructure 203d [creating structure] Created task 126
2021-06-25T13:24:18.640842765Z: DEBUG	▶ migration/InsertFromStructure 2055 [creating structure] Created task 127
2021-06-25T13:24:18.65117013Z: DEBUG	▶ migration/InsertFromStructure 206d [creating structure] Created task 128
2021-06-25T13:24:18.661666307Z: DEBUG	▶ migration/InsertFromStructure 2085 [creating structure] Created task 129
2021-06-25T13:24:18.672587294Z: DEBUG	▶ migration/InsertFromStructure 209d [creating structure] Created task 130
2021-06-25T13:24:18.684749801Z: DEBUG	▶ migration/InsertFromStructure 20b5 [creating structure] Created task 131
2021-06-25T13:24:18.70241857Z: DEBUG	▶ migration/InsertFromStructure 20ce [creating structure] Created task 132
2021-06-25T13:24:18.702535272Z: DEBUG	▶ migration/InsertFromStructure 20cf [creating structure] Creating 1 related task kinds
2021-06-25T13:24:18.70261466Z: DEBUG	▶ migration/InsertFromStructure 20d0 [creating structure] Creating 1 related tasks for kind subtask
2021-06-25T13:24:18.71349261Z: DEBUG	▶ migration/InsertFromStructure 20e8 [creating structure] Created related task 133
2021-06-25T13:24:18.719484272Z: DEBUG	▶ migration/InsertFromStructure 20ee [creating structure] Created task relation between task 132 and 133
2021-06-25T13:24:18.729727323Z: DEBUG	▶ migration/InsertFromStructure 2106 [creating structure] Created task 134
2021-06-25T13:24:18.729843377Z: DEBUG	▶ migration/InsertFromStructure 2107 [creating structure] Creating 1 related task kinds
2021-06-25T13:24:18.729920728Z: DEBUG	▶ migration/InsertFromStructure 2108 [creating structure] Creating 1 related tasks for kind subtask
2021-06-25T13:24:18.740910084Z: DEBUG	▶ migration/InsertFromStructure 211e [creating structure] Created related task 135
2021-06-25T13:24:18.746995727Z: DEBUG	▶ migration/InsertFromStructure 2126 [creating structure] Created task relation between task 134 and 135
2021-06-25T13:24:18.763172997Z: DEBUG	▶ migration/InsertFromStructure 213f [creating structure] Created task 136
2021-06-25T13:24:18.774453738Z: DEBUG	▶ migration/InsertFromStructure 2157 [creating structure] Created task 137
2021-06-25T13:24:18.785393391Z: DEBUG	▶ migration/InsertFromStructure 216f [creating structure] Created task 138
2021-06-25T13:24:18.79608314Z: DEBUG	▶ migration/InsertFromStructure 2187 [creating structure] Created task 139
2021-06-25T13:24:18.806827925Z: DEBUG	▶ migration/InsertFromStructure 219f [creating structure] Created task 140
2021-06-25T13:24:18.817832355Z: DEBUG	▶ migration/InsertFromStructure 21b7 [creating structure] Created task 141
2021-06-25T13:24:18.828602159Z: DEBUG	▶ migration/InsertFromStructure 21cf [creating structure] Created task 142
2021-06-25T13:24:18.839125817Z: DEBUG	▶ migration/InsertFromStructure 21e7 [creating structure] Created task 143
2021-06-25T13:24:18.850454169Z: DEBUG	▶ migration/InsertFromStructure 21ff [creating structure] Created task 144
2021-06-25T13:24:18.855369364Z: DEBUG	▶ migration/InsertFromStructure 2201 [creating structure] Created new label 6
2021-06-25T13:24:18.861945796Z: DEBUG	▶ migration/InsertFromStructure 2209 [creating structure] Associated task 144 with label 6
2021-06-25T13:24:18.872758007Z: DEBUG	▶ migration/InsertFromStructure 2221 [creating structure] Created task 145
2021-06-25T13:24:18.883207351Z: DEBUG	▶ migration/InsertFromStructure 2239 [creating structure] Created task 146
2021-06-25T13:24:18.893727825Z: DEBUG	▶ migration/InsertFromStructure 2251 [creating structure] Created task 147
2021-06-25T13:24:18.904524313Z: DEBUG	▶ migration/InsertFromStructure 2269 [creating structure] Created task 148
2021-06-25T13:24:18.915401763Z: DEBUG	▶ migration/InsertFromStructure 2281 [creating structure] Created task 149
2021-06-25T13:24:18.926104679Z: DEBUG	▶ migration/InsertFromStructure 2299 [creating structure] Created task 150
2021-06-25T13:24:18.93669391Z: DEBUG	▶ migration/InsertFromStructure 22b1 [creating structure] Created task 151
2021-06-25T13:24:18.948123076Z: DEBUG	▶ migration/InsertFromStructure 22c9 [creating structure] Created task 152
2021-06-25T13:24:18.958709048Z: DEBUG	▶ migration/InsertFromStructure 22e1 [creating structure] Created task 153
2021-06-25T13:24:18.972707717Z: DEBUG	▶ migration/InsertFromStructure 22f6 [creating structure] Created list 7
2021-06-25T13:24:18.972865122Z: DEBUG	▶ migration/InsertFromStructure 22f9 [creating structure] Creating 0 tasks
2021-06-25T13:24:18.97380311Z: DEBUG	▶ models/Handle 2300 Sending list created notifications to 0 subscribers for list 7
2021-06-25T13:24:18.976095802Z: WEB 	▶ 192.168.1.3  POST 412 /api/v1/migration/todoist/migrate 2.683971922s - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
2021-06-25T13:24:25.547207424Z: WEB 	▶ 192.168.1.3  GET 200 /api/v1/notifications?page=1 1.95827ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
2021-06-25T13:24:25.857919375Z: WEB 	▶ 192.168.1.3  GET 200 /api/v1/notifications?page=1 1.830902ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
2021-06-25T13:24:35.476802722Z: WEB 	▶ 192.168.1.3  GET 200 /api/v1/notifications?page=1 863.099µs - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
2021-06-25T13:24:35.861145467Z: WEB 	▶ 192.168.1.3  GET 200 /api/v1/notifications?page=1 1.784829ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
2021-06-25T13:24:45.477583356Z: WEB 	▶ 192.168.1.3  GET 200 /api/v1/notifications?page=1 1.879772ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
2021-06-25T13:24:45.807800382Z: WEB 	▶ 192.168.1.3  GET 200 /api/v1/notifications?page=1 2.118231ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
2021-06-25T13:24:55.484481011Z: WEB 	▶ 192.168.1.3  GET 200 /api/v1/notifications?page=1 1.950678ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0
2021-06-25T13:24:55.806053947Z: WEB 	▶ 192.168.1.3  GET 200 /api/v1/notifications?page=1 1.808828ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0

To note that, although the majority of my tasks are in different Projects, the few tasks I had in the Inbox got imported without problems with the respective due dates, tags and comments and even subtasks !

Hope this is helpful and keep up the good work !

Edit:
I was able to see the error before it dissapears:

Request failed with statues code 412
You cannot remove the last bucket on a list
Hello @konrad , I updated the docker container and I was partially sucessful. However I got an error (which I wasn't quick enough to take a screenshot) which said something about "bucket end list" or simillar. At the same time I noticed that both my Inbox and Team Inbox tasks got imported however all my projects (and the subsquent tasks in these projects) didn't get imported, which is basically all my tasks. Here are the logs from Portainer: ``` - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 2021-06-25T13:24:16.292327248Z: DEBUG ▶ todoist/Migrate 1d81 [Todoist Migration] Starting migration for user 2 2021-06-25T13:24:16.293111497Z: WEB ▶ 192.168.1.3 GET 200 /api/v1/user 978.876µs - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 2021-06-25T13:24:16.602639371Z: DEBUG ▶ todoist/Migrate 1d85 [Todoist Migration] Got user token for user 2 2021-06-25T13:24:16.602746592Z: DEBUG ▶ todoist/Migrate 1d86 [Todoist Migration] Getting todoist data for user 2 2021-06-25T13:24:18.270098525Z: DEBUG ▶ todoist/Migrate 1d87 [Todoist Migration] Got all todoist user data for user 2 2021-06-25T13:24:18.270215339Z: DEBUG ▶ todoist/Migrate 1d88 [Todoist Migration] Start converting data for user 2 2021-06-25T13:24:18.272967821Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d89 [Todoist Migration] Could not find task 4172823179 in tasks map while trying to get resolve subtasks for task 4172824956 2021-06-25T13:24:18.27318654Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d8a [Todoist Migration] Could not find task 3624111094 in tasks map while trying to get resolve subtasks for task 4496574699 2021-06-25T13:24:18.273305872Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d8b [Todoist Migration] Could not find task 4498572513 in tasks map while trying to get resolve subtasks for task 4498573261 2021-06-25T13:24:18.273509814Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d8c [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4550049071 2021-06-25T13:24:18.273582424Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d8d [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4550049251 2021-06-25T13:24:18.27395016Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d8e [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4630381703 2021-06-25T13:24:18.274032937Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d8f [Todoist Migration] Could not find task 4630895126 in tasks map while trying to get resolve subtasks for task 4630896942 2021-06-25T13:24:18.275419585Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d90 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730765175 2021-06-25T13:24:18.275500362Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d91 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730851930 2021-06-25T13:24:18.275626138Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d92 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4785602859 2021-06-25T13:24:18.27641422Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d93 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4830674349 2021-06-25T13:24:18.276511719Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d94 [Todoist Migration] Could not find task 4846708425 in tasks map while trying to get resolve subtasks for task 4846720978 2021-06-25T13:24:18.276639884Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d95 [Todoist Migration] Could not find task 4846722641 in tasks map while trying to get resolve subtasks for task 4862260537 2021-06-25T13:24:18.276761605Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d96 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4902497772 2021-06-25T13:24:18.276854844Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d97 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4906847700 2021-06-25T13:24:18.276924399Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d98 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4907341687 2021-06-25T13:24:18.276993102Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d99 [Todoist Migration] Could not find task 4846708425 in tasks map while trying to get resolve subtasks for task 4907495012 2021-06-25T13:24:18.277081471Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d9a [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4909222156 2021-06-25T13:24:18.277179822Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d9b [Todoist Migration] Could not find task 4469200961 in tasks map while trying to get resolve subtasks for task 4910987794 2021-06-25T13:24:18.277303801Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d9c [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4914176761 2021-06-25T13:24:18.277426596Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d9d [Todoist Migration] Could not find task 4914187831 in tasks map while trying to get resolve subtasks for task 4918369364 2021-06-25T13:24:18.27749654Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d9e [Todoist Migration] Could not find task 4914187831 in tasks map while trying to get resolve subtasks for task 4918369829 2021-06-25T13:24:18.277619168Z: DEBUG ▶ todoist/convertTodoistToVikunja 1d9f [Todoist Migration] Could not find task 3758051176 for note 2575768147 2021-06-25T13:24:18.277758518Z: DEBUG ▶ todoist/convertTodoistToVikunja 1da0 [Todoist Migration] Could not find task 4480213803 for note 2746868097 2021-06-25T13:24:18.27784872Z: DEBUG ▶ todoist/convertTodoistToVikunja 1da1 [Todoist Migration] Could not find task 4543766884 for note 2761117683 2021-06-25T13:24:18.277927349Z: DEBUG ▶ todoist/convertTodoistToVikunja 1da2 [Todoist Migration] Could not find task 4618056715 for note 2779151536 2021-06-25T13:24:18.278002903Z: DEBUG ▶ todoist/convertTodoistToVikunja 1da3 [Todoist Migration] Could not find task 4636510374 for note 2783737093 2021-06-25T13:24:18.278098976Z: DEBUG ▶ todoist/convertTodoistToVikunja 1da4 [Todoist Migration] Could not find task 4713444528 for note 2802218397 2021-06-25T13:24:18.278217438Z: DEBUG ▶ todoist/convertTodoistToVikunja 1da5 [Todoist Migration] Could not find task 4792096667 for note 2821991544 2021-06-25T13:24:18.27829414Z: DEBUG ▶ todoist/convertTodoistToVikunja 1da6 [Todoist Migration] Could not find task 4792098226 for note 2821991621 2021-06-25T13:24:18.278368565Z: DEBUG ▶ todoist/convertTodoistToVikunja 1da7 [Todoist Migration] Could not find task 4799992018 for note 2823660290 2021-06-25T13:24:18.278445546Z: DEBUG ▶ todoist/convertTodoistToVikunja 1da8 [Todoist Migration] Could not find task 4846725652 for note 2835370231 2021-06-25T13:24:18.278528341Z: DEBUG ▶ todoist/convertTodoistToVikunja 1da9 [Todoist Migration] Could not find task 4911075949 for note 2851313727 2021-06-25T13:24:18.278670746Z: DEBUG ▶ todoist/convertTodoistToVikunja 1daa Could not find task 3741371016 for reminder 2283159207 while trying to resolve reminders 2021-06-25T13:24:18.278751301Z: DEBUG ▶ todoist/convertTodoistToVikunja 1dab Could not find task 3756692488 for reminder 2284083994 while trying to resolve reminders 2021-06-25T13:24:18.278839763Z: DEBUG ▶ todoist/convertTodoistToVikunja 1dac Could not find task 3774051228 for reminder 2285027626 while trying to resolve reminders 2021-06-25T13:24:18.278916521Z: DEBUG ▶ todoist/convertTodoistToVikunja 1dad Could not find task 3754668500 for reminder 2285044692 while trying to resolve reminders 2021-06-25T13:24:18.278991427Z: DEBUG ▶ todoist/convertTodoistToVikunja 1dae Could not find task 3754668500 for reminder 2285044694 while trying to resolve reminders 2021-06-25T13:24:18.279066612Z: DEBUG ▶ todoist/convertTodoistToVikunja 1daf Could not find task 3754670723 for reminder 2285044696 while trying to resolve reminders 2021-06-25T13:24:18.279162888Z: DEBUG ▶ todoist/convertTodoistToVikunja 1db0 Could not find task 3754683948 for reminder 2285291387 while trying to resolve reminders 2021-06-25T13:24:18.279268109Z: DEBUG ▶ todoist/convertTodoistToVikunja 1db1 Could not find task 3754683948 for reminder 2285291410 while trying to resolve reminders 2021-06-25T13:24:18.279350626Z: DEBUG ▶ todoist/convertTodoistToVikunja 1db2 Could not find task 3754697910 for reminder 2285291482 while trying to resolve reminders 2021-06-25T13:24:18.279426125Z: DEBUG ▶ todoist/convertTodoistToVikunja 1db3 Could not find task 3754697910 for reminder 2285291530 while trying to resolve reminders 2021-06-25T13:24:18.27952468Z: DEBUG ▶ todoist/convertTodoistToVikunja 1db4 Could not find task 3760225964 for reminder 2285291829 while trying to resolve reminders 2021-06-25T13:24:18.279618345Z: DEBUG ▶ todoist/convertTodoistToVikunja 1db5 Could not find task 3758049970 for reminder 2285291922 while trying to resolve reminders 2021-06-25T13:24:18.279694307Z: DEBUG ▶ todoist/convertTodoistToVikunja 1db6 Could not find task 3758051176 for reminder 2285292002 while trying to resolve reminders 2021-06-25T13:24:18.279909341Z: DEBUG ▶ todoist/convertTodoistToVikunja 1db7 Could not find task 3502640217 for reminder 2349115919 while trying to resolve reminders 2021-06-25T13:24:18.280057876Z: DEBUG ▶ todoist/convertTodoistToVikunja 1db8 Could not find task 4508292246 for reminder 2357937527 while trying to resolve reminders 2021-06-25T13:24:18.280151801Z: DEBUG ▶ todoist/Migrate 1db9 [Todoist Migration] Done converting data for user 2 2021-06-25T13:24:18.280212411Z: DEBUG ▶ todoist/Migrate 1dba [Todoist Migration] Start inserting data for user 2 2021-06-25T13:24:18.280272133Z: DEBUG ▶ migration/InsertFromStructure 1dbb [creating structure] Creating 1 namespaces 2021-06-25T13:24:18.286403016Z: DEBUG ▶ migration/InsertFromStructure 1dc0 [creating structure] Created namespace 5 2021-06-25T13:24:18.286535977Z: DEBUG ▶ migration/InsertFromStructure 1dc1 [creating structure] Creating 36 lists 2021-06-25T13:24:18.300861586Z: DEBUG ▶ migration/InsertFromStructure 1ddb [creating structure] Created list 6 2021-06-25T13:24:18.300987565Z: DEBUG ▶ migration/InsertFromStructure 1ddc [creating structure] Creating 49 tasks 2021-06-25T13:24:18.301929238Z: DEBUG ▶ models/Handle 1de4 Sending list created notifications to 0 subscribers for list 6 2021-06-25T13:24:18.311448021Z: DEBUG ▶ migration/InsertFromStructure 1dfd [creating structure] Created task 103 2021-06-25T13:24:18.321899255Z: DEBUG ▶ migration/InsertFromStructure 1e15 [creating structure] Created task 104 2021-06-25T13:24:18.349361747Z: DEBUG ▶ migration/InsertFromStructure 1e31 [creating structure] Created task 105 2021-06-25T13:24:18.360656895Z: DEBUG ▶ migration/InsertFromStructure 1e49 [creating structure] Created task 106 2021-06-25T13:24:18.371433273Z: DEBUG ▶ migration/InsertFromStructure 1e61 [creating structure] Created task 107 2021-06-25T13:24:18.376039305Z: DEBUG ▶ migration/InsertFromStructure 1e63 [creating structure] Created new label 5 2021-06-25T13:24:18.383188638Z: DEBUG ▶ migration/InsertFromStructure 1e6b [creating structure] Associated task 107 with label 5 2021-06-25T13:24:18.39398283Z: DEBUG ▶ migration/InsertFromStructure 1e83 [creating structure] Created task 108 2021-06-25T13:24:18.409083447Z: DEBUG ▶ migration/InsertFromStructure 1e9c [creating structure] Created task 109 2021-06-25T13:24:18.419971138Z: DEBUG ▶ migration/InsertFromStructure 1eb4 [creating structure] Created task 110 2021-06-25T13:24:18.430536055Z: DEBUG ▶ migration/InsertFromStructure 1ecc [creating structure] Created task 111 2021-06-25T13:24:18.440943363Z: DEBUG ▶ migration/InsertFromStructure 1ee4 [creating structure] Created task 112 2021-06-25T13:24:18.451309116Z: DEBUG ▶ migration/InsertFromStructure 1efc [creating structure] Created task 113 2021-06-25T13:24:18.466722563Z: DEBUG ▶ migration/InsertFromStructure 1f15 [creating structure] Created task 114 2021-06-25T13:24:18.482303433Z: DEBUG ▶ migration/InsertFromStructure 1f2e [creating structure] Created task 115 2021-06-25T13:24:18.497015425Z: DEBUG ▶ migration/InsertFromStructure 1f47 [creating structure] Created task 116 2021-06-25T13:24:18.507728785Z: DEBUG ▶ migration/InsertFromStructure 1f5f [creating structure] Created task 117 2021-06-25T13:24:18.523165231Z: DEBUG ▶ migration/InsertFromStructure 1f78 [creating structure] Created task 118 2021-06-25T13:24:18.537960945Z: DEBUG ▶ migration/InsertFromStructure 1f91 [creating structure] Created task 119 2021-06-25T13:24:18.553113709Z: DEBUG ▶ migration/InsertFromStructure 1faa [creating structure] Created task 120 2021-06-25T13:24:18.564089603Z: DEBUG ▶ migration/InsertFromStructure 1fc2 [creating structure] Created task 121 2021-06-25T13:24:18.579203812Z: DEBUG ▶ migration/InsertFromStructure 1fdb [creating structure] Created task 122 2021-06-25T13:24:18.589845136Z: DEBUG ▶ migration/InsertFromStructure 1ff3 [creating structure] Created task 123 2021-06-25T13:24:18.600199334Z: DEBUG ▶ migration/InsertFromStructure 200b [creating structure] Created task 124 2021-06-25T13:24:18.615722131Z: DEBUG ▶ migration/InsertFromStructure 2024 [creating structure] Created task 125 2021-06-25T13:24:18.63113441Z: DEBUG ▶ migration/InsertFromStructure 203d [creating structure] Created task 126 2021-06-25T13:24:18.640842765Z: DEBUG ▶ migration/InsertFromStructure 2055 [creating structure] Created task 127 2021-06-25T13:24:18.65117013Z: DEBUG ▶ migration/InsertFromStructure 206d [creating structure] Created task 128 2021-06-25T13:24:18.661666307Z: DEBUG ▶ migration/InsertFromStructure 2085 [creating structure] Created task 129 2021-06-25T13:24:18.672587294Z: DEBUG ▶ migration/InsertFromStructure 209d [creating structure] Created task 130 2021-06-25T13:24:18.684749801Z: DEBUG ▶ migration/InsertFromStructure 20b5 [creating structure] Created task 131 2021-06-25T13:24:18.70241857Z: DEBUG ▶ migration/InsertFromStructure 20ce [creating structure] Created task 132 2021-06-25T13:24:18.702535272Z: DEBUG ▶ migration/InsertFromStructure 20cf [creating structure] Creating 1 related task kinds 2021-06-25T13:24:18.70261466Z: DEBUG ▶ migration/InsertFromStructure 20d0 [creating structure] Creating 1 related tasks for kind subtask 2021-06-25T13:24:18.71349261Z: DEBUG ▶ migration/InsertFromStructure 20e8 [creating structure] Created related task 133 2021-06-25T13:24:18.719484272Z: DEBUG ▶ migration/InsertFromStructure 20ee [creating structure] Created task relation between task 132 and 133 2021-06-25T13:24:18.729727323Z: DEBUG ▶ migration/InsertFromStructure 2106 [creating structure] Created task 134 2021-06-25T13:24:18.729843377Z: DEBUG ▶ migration/InsertFromStructure 2107 [creating structure] Creating 1 related task kinds 2021-06-25T13:24:18.729920728Z: DEBUG ▶ migration/InsertFromStructure 2108 [creating structure] Creating 1 related tasks for kind subtask 2021-06-25T13:24:18.740910084Z: DEBUG ▶ migration/InsertFromStructure 211e [creating structure] Created related task 135 2021-06-25T13:24:18.746995727Z: DEBUG ▶ migration/InsertFromStructure 2126 [creating structure] Created task relation between task 134 and 135 2021-06-25T13:24:18.763172997Z: DEBUG ▶ migration/InsertFromStructure 213f [creating structure] Created task 136 2021-06-25T13:24:18.774453738Z: DEBUG ▶ migration/InsertFromStructure 2157 [creating structure] Created task 137 2021-06-25T13:24:18.785393391Z: DEBUG ▶ migration/InsertFromStructure 216f [creating structure] Created task 138 2021-06-25T13:24:18.79608314Z: DEBUG ▶ migration/InsertFromStructure 2187 [creating structure] Created task 139 2021-06-25T13:24:18.806827925Z: DEBUG ▶ migration/InsertFromStructure 219f [creating structure] Created task 140 2021-06-25T13:24:18.817832355Z: DEBUG ▶ migration/InsertFromStructure 21b7 [creating structure] Created task 141 2021-06-25T13:24:18.828602159Z: DEBUG ▶ migration/InsertFromStructure 21cf [creating structure] Created task 142 2021-06-25T13:24:18.839125817Z: DEBUG ▶ migration/InsertFromStructure 21e7 [creating structure] Created task 143 2021-06-25T13:24:18.850454169Z: DEBUG ▶ migration/InsertFromStructure 21ff [creating structure] Created task 144 2021-06-25T13:24:18.855369364Z: DEBUG ▶ migration/InsertFromStructure 2201 [creating structure] Created new label 6 2021-06-25T13:24:18.861945796Z: DEBUG ▶ migration/InsertFromStructure 2209 [creating structure] Associated task 144 with label 6 2021-06-25T13:24:18.872758007Z: DEBUG ▶ migration/InsertFromStructure 2221 [creating structure] Created task 145 2021-06-25T13:24:18.883207351Z: DEBUG ▶ migration/InsertFromStructure 2239 [creating structure] Created task 146 2021-06-25T13:24:18.893727825Z: DEBUG ▶ migration/InsertFromStructure 2251 [creating structure] Created task 147 2021-06-25T13:24:18.904524313Z: DEBUG ▶ migration/InsertFromStructure 2269 [creating structure] Created task 148 2021-06-25T13:24:18.915401763Z: DEBUG ▶ migration/InsertFromStructure 2281 [creating structure] Created task 149 2021-06-25T13:24:18.926104679Z: DEBUG ▶ migration/InsertFromStructure 2299 [creating structure] Created task 150 2021-06-25T13:24:18.93669391Z: DEBUG ▶ migration/InsertFromStructure 22b1 [creating structure] Created task 151 2021-06-25T13:24:18.948123076Z: DEBUG ▶ migration/InsertFromStructure 22c9 [creating structure] Created task 152 2021-06-25T13:24:18.958709048Z: DEBUG ▶ migration/InsertFromStructure 22e1 [creating structure] Created task 153 2021-06-25T13:24:18.972707717Z: DEBUG ▶ migration/InsertFromStructure 22f6 [creating structure] Created list 7 2021-06-25T13:24:18.972865122Z: DEBUG ▶ migration/InsertFromStructure 22f9 [creating structure] Creating 0 tasks 2021-06-25T13:24:18.97380311Z: DEBUG ▶ models/Handle 2300 Sending list created notifications to 0 subscribers for list 7 2021-06-25T13:24:18.976095802Z: WEB ▶ 192.168.1.3 POST 412 /api/v1/migration/todoist/migrate 2.683971922s - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 2021-06-25T13:24:25.547207424Z: WEB ▶ 192.168.1.3 GET 200 /api/v1/notifications?page=1 1.95827ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 2021-06-25T13:24:25.857919375Z: WEB ▶ 192.168.1.3 GET 200 /api/v1/notifications?page=1 1.830902ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 2021-06-25T13:24:35.476802722Z: WEB ▶ 192.168.1.3 GET 200 /api/v1/notifications?page=1 863.099µs - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 2021-06-25T13:24:35.861145467Z: WEB ▶ 192.168.1.3 GET 200 /api/v1/notifications?page=1 1.784829ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 2021-06-25T13:24:45.477583356Z: WEB ▶ 192.168.1.3 GET 200 /api/v1/notifications?page=1 1.879772ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 2021-06-25T13:24:45.807800382Z: WEB ▶ 192.168.1.3 GET 200 /api/v1/notifications?page=1 2.118231ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 2021-06-25T13:24:55.484481011Z: WEB ▶ 192.168.1.3 GET 200 /api/v1/notifications?page=1 1.950678ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 2021-06-25T13:24:55.806053947Z: WEB ▶ 192.168.1.3 GET 200 /api/v1/notifications?page=1 1.808828ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 ``` To note that, although the majority of my tasks are in different Projects, the few tasks I had in the Inbox got imported without problems with the respective due dates, tags and comments and even subtasks ! Hope this is helpful and keep up the good work ! Edit: I was able to see the error before it dissapears: ``` Request failed with statues code 412 You cannot remove the last bucket on a list ```
Owner

You cannot remove the last bucket on a list

I've pushed a potential fix for this error in d7932d2648. Could you check if that lets you import more lists? (New release should be ready in ~45min as usual)

> You cannot remove the last bucket on a list I've pushed a potential fix for this error in https://kolaente.dev/vikunja/api/commit/d7932d2648841e9d6ac103d68e3e497bec884701. Could you check if that lets you import more lists? (New release should be ready in ~45min as usual)
Author

You cannot remove the last bucket on a list

I've pushed a potential fix for this error in d7932d2648. Could you check if that lets you import more lists? (New release should be ready in ~45min as usual)

Hey @konrad, the server is down again in Matrix..

I've tried the new update and this time besides my Inbox tasks being imported two other projects and their tasks were imported but than it bugged again. However, I think I Know the problem for it. The first project imported had none subprojects, however the second Project imported has 6 subprojects but from what I gather Vikunja does not have the ability to create sub-lists hasn't it ?

So what happened was that, Vikunja imported first my tasks from the Inbox, then it imported the tasks from my project called 2020 (which had none subprojects), however when it moved to my next Project (Personal) after importing the tasks in this project it bugged out when trying to import the subprojects and their tasks from Personal and the migration tasks stopped here with:

error 404 the bucket does not exist

Visual aid to help understanding what I'm talking about relating to Todoist subprojects:

image

Bellow you can see the log's part relevant to the migration task:


2021-07-06T15:11:40.19788539Z: WEB 	▶ 94.46.24.59  GET 200 /api/v1/user 1.924253ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0


2021-07-06T15:11:40.204530304Z: DEBUG	▶ todoist/Migrate 29f [Todoist Migration] Starting migration for user 1


2021-07-06T15:11:40.834559378Z: DEBUG	▶ todoist/Migrate 2a0 [Todoist Migration] Got user token for user 1


2021-07-06T15:11:40.834860355Z: DEBUG	▶ todoist/Migrate 2a1 [Todoist Migration] Getting todoist data for user 1


2021-07-06T15:11:46.542706147Z: DEBUG	▶ todoist/Migrate 2a2 [Todoist Migration] Got all todoist user data for user 1


2021-07-06T15:11:46.542922477Z: DEBUG	▶ todoist/Migrate 2a3 [Todoist Migration] Start converting data for user 1


2021-07-06T15:11:46.549125137Z: DEBUG	▶ todoist/convertTodoistToVikunja 2a4 [Todoist Migration] Could not find task 4172823179 in tasks map while trying to get resolve subtasks for task 4172824956


2021-07-06T15:11:46.549807203Z: DEBUG	▶ todoist/convertTodoistToVikunja 2a5 [Todoist Migration] Could not find task 3624111094 in tasks map while trying to get resolve subtasks for task 4496574699


2021-07-06T15:11:46.550231308Z: DEBUG	▶ todoist/convertTodoistToVikunja 2a6 [Todoist Migration] Could not find task 4498572513 in tasks map while trying to get resolve subtasks for task 4498573261


2021-07-06T15:11:46.550890726Z: DEBUG	▶ todoist/convertTodoistToVikunja 2a7 [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4550049071


2021-07-06T15:11:46.551054816Z: DEBUG	▶ todoist/convertTodoistToVikunja 2a8 [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4550049251


2021-07-06T15:11:46.551983878Z: DEBUG	▶ todoist/convertTodoistToVikunja 2a9 [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4630381703


2021-07-06T15:11:46.552187357Z: DEBUG	▶ todoist/convertTodoistToVikunja 2aa [Todoist Migration] Could not find task 4630895126 in tasks map while trying to get resolve subtasks for task 4630896942


2021-07-06T15:11:46.554672677Z: DEBUG	▶ todoist/convertTodoistToVikunja 2ab [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730765175


2021-07-06T15:11:46.55483873Z: DEBUG	▶ todoist/convertTodoistToVikunja 2ac [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730851930


2021-07-06T15:11:46.555279021Z: DEBUG	▶ todoist/convertTodoistToVikunja 2ad [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4785602859


2021-07-06T15:11:46.556946277Z: DEBUG	▶ todoist/convertTodoistToVikunja 2ae [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4830674349


2021-07-06T15:11:46.557399919Z: DEBUG	▶ todoist/convertTodoistToVikunja 2af [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4902497772


2021-07-06T15:11:46.557617768Z: DEBUG	▶ todoist/convertTodoistToVikunja 2b0 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4906847700


2021-07-06T15:11:46.557827636Z: DEBUG	▶ todoist/convertTodoistToVikunja 2b1 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4907341687


2021-07-06T15:11:46.558154446Z: DEBUG	▶ todoist/convertTodoistToVikunja 2b2 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4909222156


2021-07-06T15:11:46.558467961Z: DEBUG	▶ todoist/convertTodoistToVikunja 2b3 [Todoist Migration] Could not find task 4469200961 in tasks map while trying to get resolve subtasks for task 4910987794


2021-07-06T15:11:46.55901812Z: DEBUG	▶ todoist/convertTodoistToVikunja 2b4 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4914176761


2021-07-06T15:11:46.55948404Z: DEBUG	▶ todoist/convertTodoistToVikunja 2b5 [Todoist Migration] Could not find task 4948379957 in tasks map while trying to get resolve subtasks for task 4948386099


2021-07-06T15:11:46.559748851Z: DEBUG	▶ todoist/convertTodoistToVikunja 2b6 [Todoist Migration] Could not find task 4948386957 in tasks map while trying to get resolve subtasks for task 4948388185


2021-07-06T15:11:46.56051286Z: DEBUG	▶ todoist/convertTodoistToVikunja 2b7 [Todoist Migration] Could not find task 4966573455 in tasks map while trying to get resolve subtasks for task 4966576971


2021-07-06T15:11:46.560869263Z: DEBUG	▶ todoist/convertTodoistToVikunja 2b8 [Todoist Migration] Could not find task 3758051176 for note 2575768147


2021-07-06T15:11:46.561085223Z: DEBUG	▶ todoist/convertTodoistToVikunja 2b9 [Todoist Migration] Could not find task 4480213803 for note 2746868097


2021-07-06T15:11:46.56147907Z: DEBUG	▶ todoist/convertTodoistToVikunja 2ba [Todoist Migration] Could not find task 4543766884 for note 2761117683


2021-07-06T15:11:46.561703289Z: DEBUG	▶ todoist/convertTodoistToVikunja 2bb [Todoist Migration] Could not find task 4636510374 for note 2783737093


2021-07-06T15:11:46.562081673Z: DEBUG	▶ todoist/convertTodoistToVikunja 2bc [Todoist Migration] Could not find task 4713444528 for note 2802218397


2021-07-06T15:11:46.562590981Z: DEBUG	▶ todoist/convertTodoistToVikunja 2bd [Todoist Migration] Could not find task 4792096667 for note 2821991544


2021-07-06T15:11:46.562760331Z: DEBUG	▶ todoist/convertTodoistToVikunja 2be [Todoist Migration] Could not find task 4792098226 for note 2821991621


2021-07-06T15:11:46.562972236Z: DEBUG	▶ todoist/convertTodoistToVikunja 2bf [Todoist Migration] Could not find task 4799992018 for note 2823660290


2021-07-06T15:11:46.563332027Z: DEBUG	▶ todoist/convertTodoistToVikunja 2c0 [Todoist Migration] Could not find task 4911075949 for note 2851313727


2021-07-06T15:11:46.563559006Z: DEBUG	▶ todoist/convertTodoistToVikunja 2c1 [Todoist Migration] Could not find task 4966577946 for note 2865857057


2021-07-06T15:11:46.564175127Z: DEBUG	▶ todoist/convertTodoistToVikunja 2c2 Could not find task 3741371016 for reminder 2283159207 while trying to resolve reminders


2021-07-06T15:11:46.564358403Z: DEBUG	▶ todoist/convertTodoistToVikunja 2c3 Could not find task 3756692488 for reminder 2284083994 while trying to resolve reminders


2021-07-06T15:11:46.564789416Z: DEBUG	▶ todoist/convertTodoistToVikunja 2c4 Could not find task 3774051228 for reminder 2285027626 while trying to resolve reminders


2021-07-06T15:11:46.565103264Z: DEBUG	▶ todoist/convertTodoistToVikunja 2c5 Could not find task 3754668500 for reminder 2285044692 while trying to resolve reminders


2021-07-06T15:11:46.565500925Z: DEBUG	▶ todoist/convertTodoistToVikunja 2c6 Could not find task 3754668500 for reminder 2285044694 while trying to resolve reminders


2021-07-06T15:11:46.565666867Z: DEBUG	▶ todoist/convertTodoistToVikunja 2c7 Could not find task 3754670723 for reminder 2285044696 while trying to resolve reminders


2021-07-06T15:11:46.566039214Z: DEBUG	▶ todoist/convertTodoistToVikunja 2c8 Could not find task 3754683948 for reminder 2285291387 while trying to resolve reminders


2021-07-06T15:11:46.566217953Z: DEBUG	▶ todoist/convertTodoistToVikunja 2c9 Could not find task 3754683948 for reminder 2285291410 while trying to resolve reminders


2021-07-06T15:11:46.566572689Z: DEBUG	▶ todoist/convertTodoistToVikunja 2ca Could not find task 3754697910 for reminder 2285291482 while trying to resolve reminders


2021-07-06T15:11:46.566794112Z: DEBUG	▶ todoist/convertTodoistToVikunja 2cb Could not find task 3754697910 for reminder 2285291530 while trying to resolve reminders


2021-07-06T15:11:46.567197662Z: DEBUG	▶ todoist/convertTodoistToVikunja 2cc Could not find task 3760225964 for reminder 2285291829 while trying to resolve reminders


2021-07-06T15:11:46.567431733Z: DEBUG	▶ todoist/convertTodoistToVikunja 2cd Could not find task 3758049970 for reminder 2285291922 while trying to resolve reminders


2021-07-06T15:11:46.567770803Z: DEBUG	▶ todoist/convertTodoistToVikunja 2ce Could not find task 3758051176 for reminder 2285292002 while trying to resolve reminders


2021-07-06T15:11:46.568430128Z: DEBUG	▶ todoist/convertTodoistToVikunja 2cf Could not find task 3502640217 for reminder 2349115919 while trying to resolve reminders


2021-07-06T15:11:46.568799271Z: DEBUG	▶ todoist/Migrate 2d0 [Todoist Migration] Done converting data for user 1


2021-07-06T15:11:46.568932658Z: DEBUG	▶ todoist/Migrate 2d1 [Todoist Migration] Start inserting data for user 1


2021-07-06T15:11:46.56924034Z: DEBUG	▶ migration/InsertFromStructure 2d2 [creating structure] Creating 1 namespaces


2021-07-06T15:11:46.588137298Z: DEBUG	▶ migration/InsertFromStructure 2d7 [creating structure] Created namespace 5


2021-07-06T15:11:46.588272611Z: DEBUG	▶ migration/InsertFromStructure 2d8 [creating structure] Creating 37 lists


2021-07-06T15:11:46.626280452Z: DEBUG	▶ migration/InsertFromStructure 2f2 [creating structure] Created list 8


2021-07-06T15:11:46.626411302Z: DEBUG	▶ migration/InsertFromStructure 2f3 [creating structure] Creating 50 tasks


2021-07-06T15:11:46.630082439Z: DEBUG	▶ models/Handle 300 Sending list created notifications to 0 subscribers for list 8


2021-07-06T15:11:46.652229949Z: DEBUG	▶ migration/InsertFromStructure 314 [creating structure] Created task 189


2021-07-06T15:11:46.67177414Z: DEBUG	▶ migration/InsertFromStructure 32c [creating structure] Created task 190


2021-07-06T15:11:46.703493858Z: DEBUG	▶ migration/InsertFromStructure 348 [creating structure] Created task 191


2021-07-06T15:11:46.72080693Z: DEBUG	▶ migration/InsertFromStructure 360 [creating structure] Created task 192


2021-07-06T15:11:46.739613075Z: DEBUG	▶ migration/InsertFromStructure 378 [creating structure] Created task 193


2021-07-06T15:11:46.743081215Z: DEBUG	▶ migration/InsertFromStructure 37a [creating structure] Created new label 7


2021-07-06T15:11:46.75192123Z: DEBUG	▶ migration/InsertFromStructure 382 [creating structure] Associated task 193 with label 7


2021-07-06T15:11:46.766497356Z: DEBUG	▶ migration/InsertFromStructure 39a [creating structure] Created task 194


2021-07-06T15:11:46.782487815Z: DEBUG	▶ migration/InsertFromStructure 3b3 [creating structure] Created task 195


2021-07-06T15:11:46.79721605Z: DEBUG	▶ migration/InsertFromStructure 3cb [creating structure] Created task 196


2021-07-06T15:11:46.81137694Z: DEBUG	▶ migration/InsertFromStructure 3e3 [creating structure] Created task 197


2021-07-06T15:11:46.824970542Z: DEBUG	▶ migration/InsertFromStructure 3fb [creating structure] Created task 198


2021-07-06T15:11:46.839181728Z: DEBUG	▶ migration/InsertFromStructure 413 [creating structure] Created task 199


2021-07-06T15:11:46.855476387Z: DEBUG	▶ migration/InsertFromStructure 42c [creating structure] Created task 200


2021-07-06T15:11:46.871372144Z: DEBUG	▶ migration/InsertFromStructure 445 [creating structure] Created task 201


2021-07-06T15:11:46.899357707Z: DEBUG	▶ migration/InsertFromStructure 45e [creating structure] Created task 202


2021-07-06T15:11:46.936701297Z: DEBUG	▶ migration/InsertFromStructure 476 [creating structure] Created task 203


2021-07-06T15:11:46.957337196Z: DEBUG	▶ migration/InsertFromStructure 48f [creating structure] Created task 204


2021-07-06T15:11:46.974383993Z: DEBUG	▶ migration/InsertFromStructure 4a8 [creating structure] Created task 205


2021-07-06T15:11:46.991338977Z: DEBUG	▶ migration/InsertFromStructure 4c1 [creating structure] Created task 206


2021-07-06T15:11:47.00844194Z: DEBUG	▶ migration/InsertFromStructure 4da [creating structure] Created task 207


2021-07-06T15:11:47.025738605Z: DEBUG	▶ migration/InsertFromStructure 4f3 [creating structure] Created task 208


2021-07-06T15:11:47.042977011Z: DEBUG	▶ migration/InsertFromStructure 50c [creating structure] Created task 209


2021-07-06T15:11:47.057830115Z: DEBUG	▶ migration/InsertFromStructure 524 [creating structure] Created task 210


2021-07-06T15:11:47.073521985Z: DEBUG	▶ migration/InsertFromStructure 53d [creating structure] Created task 211


2021-07-06T15:11:47.090440229Z: DEBUG	▶ migration/InsertFromStructure 556 [creating structure] Created task 212


2021-07-06T15:11:47.104694914Z: DEBUG	▶ migration/InsertFromStructure 56e [creating structure] Created task 213


2021-07-06T15:11:47.120013845Z: DEBUG	▶ migration/InsertFromStructure 586 [creating structure] Created task 214


2021-07-06T15:11:47.133798167Z: DEBUG	▶ migration/InsertFromStructure 59e [creating structure] Created task 215


2021-07-06T15:11:47.156291116Z: DEBUG	▶ migration/InsertFromStructure 5b6 [creating structure] Created task 216


2021-07-06T15:11:47.170301082Z: DEBUG	▶ migration/InsertFromStructure 5ce [creating structure] Created task 217


2021-07-06T15:11:47.184258234Z: DEBUG	▶ migration/InsertFromStructure 5e6 [creating structure] Created task 218


2021-07-06T15:11:47.184402399Z: DEBUG	▶ migration/InsertFromStructure 5e7 [creating structure] Creating 1 related task kinds


2021-07-06T15:11:47.1846221Z: DEBUG	▶ migration/InsertFromStructure 5e8 [creating structure] Creating 1 related tasks for kind subtask


2021-07-06T15:11:47.199123116Z: DEBUG	▶ migration/InsertFromStructure 600 [creating structure] Created related task 219


2021-07-06T15:11:47.20647878Z: DEBUG	▶ migration/InsertFromStructure 606 [creating structure] Created task relation between task 218 and 219


2021-07-06T15:11:47.222467943Z: DEBUG	▶ migration/InsertFromStructure 61f [creating structure] Created task 220


2021-07-06T15:11:47.236196616Z: DEBUG	▶ migration/InsertFromStructure 637 [creating structure] Created task 221


2021-07-06T15:11:47.250075918Z: DEBUG	▶ migration/InsertFromStructure 64f [creating structure] Created task 222


2021-07-06T15:11:47.263895368Z: DEBUG	▶ migration/InsertFromStructure 667 [creating structure] Created task 223


2021-07-06T15:11:47.278163813Z: DEBUG	▶ migration/InsertFromStructure 67f [creating structure] Created task 224


2021-07-06T15:11:47.293927775Z: DEBUG	▶ migration/InsertFromStructure 697 [creating structure] Created task 225


2021-07-06T15:11:47.313462151Z: DEBUG	▶ migration/InsertFromStructure 6af [creating structure] Created task 226


2021-07-06T15:11:47.332980417Z: DEBUG	▶ migration/InsertFromStructure 6c7 [creating structure] Created task 227


2021-07-06T15:11:47.352132224Z: DEBUG	▶ migration/InsertFromStructure 6df [creating structure] Created task 228


2021-07-06T15:11:47.354893096Z: DEBUG	▶ migration/InsertFromStructure 6e1 [creating structure] Created new label 8


2021-07-06T15:11:47.363606205Z: DEBUG	▶ migration/InsertFromStructure 6e9 [creating structure] Associated task 228 with label 8


2021-07-06T15:11:47.383126692Z: DEBUG	▶ migration/InsertFromStructure 701 [creating structure] Created task 229


2021-07-06T15:11:47.402662217Z: DEBUG	▶ migration/InsertFromStructure 719 [creating structure] Created task 230


2021-07-06T15:11:47.423108285Z: DEBUG	▶ migration/InsertFromStructure 731 [creating structure] Created task 231


2021-07-06T15:11:47.442614088Z: DEBUG	▶ migration/InsertFromStructure 749 [creating structure] Created task 232


2021-07-06T15:11:47.461114366Z: DEBUG	▶ migration/InsertFromStructure 761 [creating structure] Created task 233


2021-07-06T15:11:47.479794124Z: DEBUG	▶ migration/InsertFromStructure 779 [creating structure] Created task 234


2021-07-06T15:11:47.49867849Z: DEBUG	▶ migration/InsertFromStructure 791 [creating structure] Created task 235


2021-07-06T15:11:47.517161713Z: DEBUG	▶ migration/InsertFromStructure 7a9 [creating structure] Created task 236


2021-07-06T15:11:47.535573327Z: DEBUG	▶ migration/InsertFromStructure 7c1 [creating structure] Created task 237


2021-07-06T15:11:47.554094364Z: DEBUG	▶ migration/InsertFromStructure 7d9 [creating structure] Created task 238


2021-07-06T15:11:47.573586Z: DEBUG	▶ migration/InsertFromStructure 7f1 [creating structure] Created task 239


2021-07-06T15:11:47.612592698Z: DEBUG	▶ migration/InsertFromStructure 806 [creating structure] Created list 9


2021-07-06T15:11:47.613778386Z: DEBUG	▶ migration/InsertFromStructure 80f [creating structure] Creating 0 tasks


2021-07-06T15:11:47.616983808Z: DEBUG	▶ models/Handle 811 Sending list created notifications to 0 subscribers for list 9


2021-07-06T15:11:47.6546873Z: DEBUG	▶ migration/InsertFromStructure 837 [creating structure] Created list 10


2021-07-06T15:11:47.65485865Z: DEBUG	▶ migration/InsertFromStructure 838 [creating structure] Creating 15 tasks


2021-07-06T15:11:47.658797636Z: DEBUG	▶ models/Handle 845 Sending list created notifications to 0 subscribers for list 10


2021-07-06T15:11:47.676671571Z: DEBUG	▶ migration/InsertFromStructure 859 [creating structure] Created task 240


2021-07-06T15:11:47.695051036Z: DEBUG	▶ migration/InsertFromStructure 871 [creating structure] Created task 241


2021-07-06T15:11:47.708829728Z: DEBUG	▶ migration/InsertFromStructure 889 [creating structure] Created task 242


2021-07-06T15:11:47.722639567Z: DEBUG	▶ migration/InsertFromStructure 8a1 [creating structure] Created task 243


2021-07-06T15:11:47.736261372Z: DEBUG	▶ migration/InsertFromStructure 8b9 [creating structure] Created task 244


2021-07-06T15:11:47.756389389Z: DEBUG	▶ migration/InsertFromStructure 8d1 [creating structure] Created task 245


2021-07-06T15:11:47.769979898Z: DEBUG	▶ migration/InsertFromStructure 8e9 [creating structure] Created task 246


2021-07-06T15:11:47.784142807Z: DEBUG	▶ migration/InsertFromStructure 901 [creating structure] Created task 247


2021-07-06T15:11:47.797967683Z: DEBUG	▶ migration/InsertFromStructure 919 [creating structure] Created task 248


2021-07-06T15:11:47.812172906Z: DEBUG	▶ migration/InsertFromStructure 931 [creating structure] Created task 249


2021-07-06T15:11:47.827884443Z: DEBUG	▶ migration/InsertFromStructure 94a [creating structure] Created task 250


2021-07-06T15:11:47.841881188Z: DEBUG	▶ migration/InsertFromStructure 962 [creating structure] Created task 251


2021-07-06T15:11:47.855953894Z: DEBUG	▶ migration/InsertFromStructure 97a [creating structure] Created task 252


2021-07-06T15:11:47.870055063Z: DEBUG	▶ migration/InsertFromStructure 992 [creating structure] Created task 253


2021-07-06T15:11:47.870176339Z: DEBUG	▶ migration/InsertFromStructure 993 [creating structure] Creating 1 related task kinds


2021-07-06T15:11:47.870262875Z: DEBUG	▶ migration/InsertFromStructure 994 [creating structure] Creating 1 related tasks for kind subtask


2021-07-06T15:11:47.884154565Z: DEBUG	▶ migration/InsertFromStructure 9ac [creating structure] Created related task 254


2021-07-06T15:11:47.889781585Z: DEBUG	▶ migration/InsertFromStructure 9b2 [creating structure] Created task relation between task 253 and 254


2021-07-06T15:11:47.903568702Z: DEBUG	▶ migration/InsertFromStructure 9ca [creating structure] Created task 255


2021-07-06T15:11:47.920990143Z: DEBUG	▶ migration/InsertFromStructure 9df [creating structure] Created list 11


2021-07-06T15:11:47.924707854Z: DEBUG	▶ models/Handle 9ec Sending list created notifications to 0 subscribers for list 11


2021-07-06T15:11:47.926185428Z: DEBUG	▶ migration/InsertFromStructure 9f0 [creating structure] Created bucket 12, old ID was 38860087


2021-07-06T15:11:47.926286871Z: DEBUG	▶ migration/InsertFromStructure 9f1 [creating structure] Creating 13 tasks


2021-07-06T15:11:47.939555717Z: DEBUG	▶ migration/InsertFromStructure a06 [creating structure] Created task 256


2021-07-06T15:11:47.955798321Z: DEBUG	▶ migration/InsertFromStructure a1f [creating structure] Created task 257


2021-07-06T15:11:47.969714826Z: DEBUG	▶ migration/InsertFromStructure a37 [creating structure] Created task 258


2021-07-06T15:11:47.985787895Z: DEBUG	▶ migration/InsertFromStructure a50 [creating structure] Created task 259


2021-07-06T15:11:47.999940582Z: DEBUG	▶ migration/InsertFromStructure a68 [creating structure] Created task 260


2021-07-06T15:11:48.002732305Z: DEBUG	▶ migration/InsertFromStructure a6a [creating structure] Created new label 9


2021-07-06T15:11:48.010037285Z: DEBUG	▶ migration/InsertFromStructure a72 [creating structure] Associated task 260 with label 9


2021-07-06T15:11:48.025928541Z: DEBUG	▶ migration/InsertFromStructure a8b [creating structure] Created task 261


2021-07-06T15:11:48.039918379Z: DEBUG	▶ migration/InsertFromStructure aa3 [creating structure] Created task 262


2021-07-06T15:11:48.053772903Z: DEBUG	▶ migration/InsertFromStructure abb [creating structure] Created task 263


2021-07-06T15:11:48.067346245Z: DEBUG	▶ migration/InsertFromStructure ad3 [creating structure] Created task 264


2021-07-06T15:11:48.080886625Z: DEBUG	▶ migration/InsertFromStructure aeb [creating structure] Created task 265


2021-07-06T15:11:48.094888777Z: DEBUG	▶ migration/InsertFromStructure b03 [creating structure] Created task 266


2021-07-06T15:11:48.10972864Z: DEBUG	▶ migration/InsertFromStructure b1b [creating structure] Created task 267


2021-07-06T15:11:48.109851194Z: DEBUG	▶ migration/InsertFromStructure b1c [creating structure] Creating 1 related task kinds


2021-07-06T15:11:48.1099381Z: DEBUG	▶ migration/InsertFromStructure b1d [creating structure] Creating 2 related tasks for kind subtask


2021-07-06T15:11:48.113843846Z: WEB 	▶ 94.46.24.59  POST 404 /api/v1/migration/todoist/migrate 7.910017162s - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0

Nevertheless, the tasks that were indeed imported had all the attributes correctly imported from Todoist (due date, reminders, comments, sub-tasks relationships) 🙂

Thank you once again for your time and help !

> > You cannot remove the last bucket on a list > > I've pushed a potential fix for this error in https://kolaente.dev/vikunja/api/commit/d7932d2648841e9d6ac103d68e3e497bec884701. Could you check if that lets you import more lists? (New release should be ready in ~45min as usual) Hey @konrad, the server is down again in Matrix.. I've tried the new update and this time besides my *Inbox* tasks being imported two other projects and their tasks were imported but than it bugged again. However, I think I Know the problem for it. The first project imported had none subprojects, however the second Project imported has 6 subprojects but from what I gather Vikunja does not have the ability to create sub-lists hasn't it ? So what happened was that, Vikunja imported first my tasks from the Inbox, then it imported the tasks from my project called *2020* (which had **none** subprojects), however when it moved to my next Project (**Personal**) after importing the tasks in this project it bugged out when trying to import the *subprojects* and their tasks from **Personal** and the migration tasks stopped here with: > error 404 the bucket does not exist Visual aid to help understanding what I'm talking about relating to Todoist subprojects: ![image](/attachments/df335269-0852-46ba-87da-44c77f8ab99d) Bellow you can see the log's part relevant to the migration task: ``` 2021-07-06T15:11:40.19788539Z: WEB ▶ 94.46.24.59 GET 200 /api/v1/user 1.924253ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 2021-07-06T15:11:40.204530304Z: DEBUG ▶ todoist/Migrate 29f [Todoist Migration] Starting migration for user 1 2021-07-06T15:11:40.834559378Z: DEBUG ▶ todoist/Migrate 2a0 [Todoist Migration] Got user token for user 1 2021-07-06T15:11:40.834860355Z: DEBUG ▶ todoist/Migrate 2a1 [Todoist Migration] Getting todoist data for user 1 2021-07-06T15:11:46.542706147Z: DEBUG ▶ todoist/Migrate 2a2 [Todoist Migration] Got all todoist user data for user 1 2021-07-06T15:11:46.542922477Z: DEBUG ▶ todoist/Migrate 2a3 [Todoist Migration] Start converting data for user 1 2021-07-06T15:11:46.549125137Z: DEBUG ▶ todoist/convertTodoistToVikunja 2a4 [Todoist Migration] Could not find task 4172823179 in tasks map while trying to get resolve subtasks for task 4172824956 2021-07-06T15:11:46.549807203Z: DEBUG ▶ todoist/convertTodoistToVikunja 2a5 [Todoist Migration] Could not find task 3624111094 in tasks map while trying to get resolve subtasks for task 4496574699 2021-07-06T15:11:46.550231308Z: DEBUG ▶ todoist/convertTodoistToVikunja 2a6 [Todoist Migration] Could not find task 4498572513 in tasks map while trying to get resolve subtasks for task 4498573261 2021-07-06T15:11:46.550890726Z: DEBUG ▶ todoist/convertTodoistToVikunja 2a7 [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4550049071 2021-07-06T15:11:46.551054816Z: DEBUG ▶ todoist/convertTodoistToVikunja 2a8 [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4550049251 2021-07-06T15:11:46.551983878Z: DEBUG ▶ todoist/convertTodoistToVikunja 2a9 [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4630381703 2021-07-06T15:11:46.552187357Z: DEBUG ▶ todoist/convertTodoistToVikunja 2aa [Todoist Migration] Could not find task 4630895126 in tasks map while trying to get resolve subtasks for task 4630896942 2021-07-06T15:11:46.554672677Z: DEBUG ▶ todoist/convertTodoistToVikunja 2ab [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730765175 2021-07-06T15:11:46.55483873Z: DEBUG ▶ todoist/convertTodoistToVikunja 2ac [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730851930 2021-07-06T15:11:46.555279021Z: DEBUG ▶ todoist/convertTodoistToVikunja 2ad [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4785602859 2021-07-06T15:11:46.556946277Z: DEBUG ▶ todoist/convertTodoistToVikunja 2ae [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4830674349 2021-07-06T15:11:46.557399919Z: DEBUG ▶ todoist/convertTodoistToVikunja 2af [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4902497772 2021-07-06T15:11:46.557617768Z: DEBUG ▶ todoist/convertTodoistToVikunja 2b0 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4906847700 2021-07-06T15:11:46.557827636Z: DEBUG ▶ todoist/convertTodoistToVikunja 2b1 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4907341687 2021-07-06T15:11:46.558154446Z: DEBUG ▶ todoist/convertTodoistToVikunja 2b2 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4909222156 2021-07-06T15:11:46.558467961Z: DEBUG ▶ todoist/convertTodoistToVikunja 2b3 [Todoist Migration] Could not find task 4469200961 in tasks map while trying to get resolve subtasks for task 4910987794 2021-07-06T15:11:46.55901812Z: DEBUG ▶ todoist/convertTodoistToVikunja 2b4 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4914176761 2021-07-06T15:11:46.55948404Z: DEBUG ▶ todoist/convertTodoistToVikunja 2b5 [Todoist Migration] Could not find task 4948379957 in tasks map while trying to get resolve subtasks for task 4948386099 2021-07-06T15:11:46.559748851Z: DEBUG ▶ todoist/convertTodoistToVikunja 2b6 [Todoist Migration] Could not find task 4948386957 in tasks map while trying to get resolve subtasks for task 4948388185 2021-07-06T15:11:46.56051286Z: DEBUG ▶ todoist/convertTodoistToVikunja 2b7 [Todoist Migration] Could not find task 4966573455 in tasks map while trying to get resolve subtasks for task 4966576971 2021-07-06T15:11:46.560869263Z: DEBUG ▶ todoist/convertTodoistToVikunja 2b8 [Todoist Migration] Could not find task 3758051176 for note 2575768147 2021-07-06T15:11:46.561085223Z: DEBUG ▶ todoist/convertTodoistToVikunja 2b9 [Todoist Migration] Could not find task 4480213803 for note 2746868097 2021-07-06T15:11:46.56147907Z: DEBUG ▶ todoist/convertTodoistToVikunja 2ba [Todoist Migration] Could not find task 4543766884 for note 2761117683 2021-07-06T15:11:46.561703289Z: DEBUG ▶ todoist/convertTodoistToVikunja 2bb [Todoist Migration] Could not find task 4636510374 for note 2783737093 2021-07-06T15:11:46.562081673Z: DEBUG ▶ todoist/convertTodoistToVikunja 2bc [Todoist Migration] Could not find task 4713444528 for note 2802218397 2021-07-06T15:11:46.562590981Z: DEBUG ▶ todoist/convertTodoistToVikunja 2bd [Todoist Migration] Could not find task 4792096667 for note 2821991544 2021-07-06T15:11:46.562760331Z: DEBUG ▶ todoist/convertTodoistToVikunja 2be [Todoist Migration] Could not find task 4792098226 for note 2821991621 2021-07-06T15:11:46.562972236Z: DEBUG ▶ todoist/convertTodoistToVikunja 2bf [Todoist Migration] Could not find task 4799992018 for note 2823660290 2021-07-06T15:11:46.563332027Z: DEBUG ▶ todoist/convertTodoistToVikunja 2c0 [Todoist Migration] Could not find task 4911075949 for note 2851313727 2021-07-06T15:11:46.563559006Z: DEBUG ▶ todoist/convertTodoistToVikunja 2c1 [Todoist Migration] Could not find task 4966577946 for note 2865857057 2021-07-06T15:11:46.564175127Z: DEBUG ▶ todoist/convertTodoistToVikunja 2c2 Could not find task 3741371016 for reminder 2283159207 while trying to resolve reminders 2021-07-06T15:11:46.564358403Z: DEBUG ▶ todoist/convertTodoistToVikunja 2c3 Could not find task 3756692488 for reminder 2284083994 while trying to resolve reminders 2021-07-06T15:11:46.564789416Z: DEBUG ▶ todoist/convertTodoistToVikunja 2c4 Could not find task 3774051228 for reminder 2285027626 while trying to resolve reminders 2021-07-06T15:11:46.565103264Z: DEBUG ▶ todoist/convertTodoistToVikunja 2c5 Could not find task 3754668500 for reminder 2285044692 while trying to resolve reminders 2021-07-06T15:11:46.565500925Z: DEBUG ▶ todoist/convertTodoistToVikunja 2c6 Could not find task 3754668500 for reminder 2285044694 while trying to resolve reminders 2021-07-06T15:11:46.565666867Z: DEBUG ▶ todoist/convertTodoistToVikunja 2c7 Could not find task 3754670723 for reminder 2285044696 while trying to resolve reminders 2021-07-06T15:11:46.566039214Z: DEBUG ▶ todoist/convertTodoistToVikunja 2c8 Could not find task 3754683948 for reminder 2285291387 while trying to resolve reminders 2021-07-06T15:11:46.566217953Z: DEBUG ▶ todoist/convertTodoistToVikunja 2c9 Could not find task 3754683948 for reminder 2285291410 while trying to resolve reminders 2021-07-06T15:11:46.566572689Z: DEBUG ▶ todoist/convertTodoistToVikunja 2ca Could not find task 3754697910 for reminder 2285291482 while trying to resolve reminders 2021-07-06T15:11:46.566794112Z: DEBUG ▶ todoist/convertTodoistToVikunja 2cb Could not find task 3754697910 for reminder 2285291530 while trying to resolve reminders 2021-07-06T15:11:46.567197662Z: DEBUG ▶ todoist/convertTodoistToVikunja 2cc Could not find task 3760225964 for reminder 2285291829 while trying to resolve reminders 2021-07-06T15:11:46.567431733Z: DEBUG ▶ todoist/convertTodoistToVikunja 2cd Could not find task 3758049970 for reminder 2285291922 while trying to resolve reminders 2021-07-06T15:11:46.567770803Z: DEBUG ▶ todoist/convertTodoistToVikunja 2ce Could not find task 3758051176 for reminder 2285292002 while trying to resolve reminders 2021-07-06T15:11:46.568430128Z: DEBUG ▶ todoist/convertTodoistToVikunja 2cf Could not find task 3502640217 for reminder 2349115919 while trying to resolve reminders 2021-07-06T15:11:46.568799271Z: DEBUG ▶ todoist/Migrate 2d0 [Todoist Migration] Done converting data for user 1 2021-07-06T15:11:46.568932658Z: DEBUG ▶ todoist/Migrate 2d1 [Todoist Migration] Start inserting data for user 1 2021-07-06T15:11:46.56924034Z: DEBUG ▶ migration/InsertFromStructure 2d2 [creating structure] Creating 1 namespaces 2021-07-06T15:11:46.588137298Z: DEBUG ▶ migration/InsertFromStructure 2d7 [creating structure] Created namespace 5 2021-07-06T15:11:46.588272611Z: DEBUG ▶ migration/InsertFromStructure 2d8 [creating structure] Creating 37 lists 2021-07-06T15:11:46.626280452Z: DEBUG ▶ migration/InsertFromStructure 2f2 [creating structure] Created list 8 2021-07-06T15:11:46.626411302Z: DEBUG ▶ migration/InsertFromStructure 2f3 [creating structure] Creating 50 tasks 2021-07-06T15:11:46.630082439Z: DEBUG ▶ models/Handle 300 Sending list created notifications to 0 subscribers for list 8 2021-07-06T15:11:46.652229949Z: DEBUG ▶ migration/InsertFromStructure 314 [creating structure] Created task 189 2021-07-06T15:11:46.67177414Z: DEBUG ▶ migration/InsertFromStructure 32c [creating structure] Created task 190 2021-07-06T15:11:46.703493858Z: DEBUG ▶ migration/InsertFromStructure 348 [creating structure] Created task 191 2021-07-06T15:11:46.72080693Z: DEBUG ▶ migration/InsertFromStructure 360 [creating structure] Created task 192 2021-07-06T15:11:46.739613075Z: DEBUG ▶ migration/InsertFromStructure 378 [creating structure] Created task 193 2021-07-06T15:11:46.743081215Z: DEBUG ▶ migration/InsertFromStructure 37a [creating structure] Created new label 7 2021-07-06T15:11:46.75192123Z: DEBUG ▶ migration/InsertFromStructure 382 [creating structure] Associated task 193 with label 7 2021-07-06T15:11:46.766497356Z: DEBUG ▶ migration/InsertFromStructure 39a [creating structure] Created task 194 2021-07-06T15:11:46.782487815Z: DEBUG ▶ migration/InsertFromStructure 3b3 [creating structure] Created task 195 2021-07-06T15:11:46.79721605Z: DEBUG ▶ migration/InsertFromStructure 3cb [creating structure] Created task 196 2021-07-06T15:11:46.81137694Z: DEBUG ▶ migration/InsertFromStructure 3e3 [creating structure] Created task 197 2021-07-06T15:11:46.824970542Z: DEBUG ▶ migration/InsertFromStructure 3fb [creating structure] Created task 198 2021-07-06T15:11:46.839181728Z: DEBUG ▶ migration/InsertFromStructure 413 [creating structure] Created task 199 2021-07-06T15:11:46.855476387Z: DEBUG ▶ migration/InsertFromStructure 42c [creating structure] Created task 200 2021-07-06T15:11:46.871372144Z: DEBUG ▶ migration/InsertFromStructure 445 [creating structure] Created task 201 2021-07-06T15:11:46.899357707Z: DEBUG ▶ migration/InsertFromStructure 45e [creating structure] Created task 202 2021-07-06T15:11:46.936701297Z: DEBUG ▶ migration/InsertFromStructure 476 [creating structure] Created task 203 2021-07-06T15:11:46.957337196Z: DEBUG ▶ migration/InsertFromStructure 48f [creating structure] Created task 204 2021-07-06T15:11:46.974383993Z: DEBUG ▶ migration/InsertFromStructure 4a8 [creating structure] Created task 205 2021-07-06T15:11:46.991338977Z: DEBUG ▶ migration/InsertFromStructure 4c1 [creating structure] Created task 206 2021-07-06T15:11:47.00844194Z: DEBUG ▶ migration/InsertFromStructure 4da [creating structure] Created task 207 2021-07-06T15:11:47.025738605Z: DEBUG ▶ migration/InsertFromStructure 4f3 [creating structure] Created task 208 2021-07-06T15:11:47.042977011Z: DEBUG ▶ migration/InsertFromStructure 50c [creating structure] Created task 209 2021-07-06T15:11:47.057830115Z: DEBUG ▶ migration/InsertFromStructure 524 [creating structure] Created task 210 2021-07-06T15:11:47.073521985Z: DEBUG ▶ migration/InsertFromStructure 53d [creating structure] Created task 211 2021-07-06T15:11:47.090440229Z: DEBUG ▶ migration/InsertFromStructure 556 [creating structure] Created task 212 2021-07-06T15:11:47.104694914Z: DEBUG ▶ migration/InsertFromStructure 56e [creating structure] Created task 213 2021-07-06T15:11:47.120013845Z: DEBUG ▶ migration/InsertFromStructure 586 [creating structure] Created task 214 2021-07-06T15:11:47.133798167Z: DEBUG ▶ migration/InsertFromStructure 59e [creating structure] Created task 215 2021-07-06T15:11:47.156291116Z: DEBUG ▶ migration/InsertFromStructure 5b6 [creating structure] Created task 216 2021-07-06T15:11:47.170301082Z: DEBUG ▶ migration/InsertFromStructure 5ce [creating structure] Created task 217 2021-07-06T15:11:47.184258234Z: DEBUG ▶ migration/InsertFromStructure 5e6 [creating structure] Created task 218 2021-07-06T15:11:47.184402399Z: DEBUG ▶ migration/InsertFromStructure 5e7 [creating structure] Creating 1 related task kinds 2021-07-06T15:11:47.1846221Z: DEBUG ▶ migration/InsertFromStructure 5e8 [creating structure] Creating 1 related tasks for kind subtask 2021-07-06T15:11:47.199123116Z: DEBUG ▶ migration/InsertFromStructure 600 [creating structure] Created related task 219 2021-07-06T15:11:47.20647878Z: DEBUG ▶ migration/InsertFromStructure 606 [creating structure] Created task relation between task 218 and 219 2021-07-06T15:11:47.222467943Z: DEBUG ▶ migration/InsertFromStructure 61f [creating structure] Created task 220 2021-07-06T15:11:47.236196616Z: DEBUG ▶ migration/InsertFromStructure 637 [creating structure] Created task 221 2021-07-06T15:11:47.250075918Z: DEBUG ▶ migration/InsertFromStructure 64f [creating structure] Created task 222 2021-07-06T15:11:47.263895368Z: DEBUG ▶ migration/InsertFromStructure 667 [creating structure] Created task 223 2021-07-06T15:11:47.278163813Z: DEBUG ▶ migration/InsertFromStructure 67f [creating structure] Created task 224 2021-07-06T15:11:47.293927775Z: DEBUG ▶ migration/InsertFromStructure 697 [creating structure] Created task 225 2021-07-06T15:11:47.313462151Z: DEBUG ▶ migration/InsertFromStructure 6af [creating structure] Created task 226 2021-07-06T15:11:47.332980417Z: DEBUG ▶ migration/InsertFromStructure 6c7 [creating structure] Created task 227 2021-07-06T15:11:47.352132224Z: DEBUG ▶ migration/InsertFromStructure 6df [creating structure] Created task 228 2021-07-06T15:11:47.354893096Z: DEBUG ▶ migration/InsertFromStructure 6e1 [creating structure] Created new label 8 2021-07-06T15:11:47.363606205Z: DEBUG ▶ migration/InsertFromStructure 6e9 [creating structure] Associated task 228 with label 8 2021-07-06T15:11:47.383126692Z: DEBUG ▶ migration/InsertFromStructure 701 [creating structure] Created task 229 2021-07-06T15:11:47.402662217Z: DEBUG ▶ migration/InsertFromStructure 719 [creating structure] Created task 230 2021-07-06T15:11:47.423108285Z: DEBUG ▶ migration/InsertFromStructure 731 [creating structure] Created task 231 2021-07-06T15:11:47.442614088Z: DEBUG ▶ migration/InsertFromStructure 749 [creating structure] Created task 232 2021-07-06T15:11:47.461114366Z: DEBUG ▶ migration/InsertFromStructure 761 [creating structure] Created task 233 2021-07-06T15:11:47.479794124Z: DEBUG ▶ migration/InsertFromStructure 779 [creating structure] Created task 234 2021-07-06T15:11:47.49867849Z: DEBUG ▶ migration/InsertFromStructure 791 [creating structure] Created task 235 2021-07-06T15:11:47.517161713Z: DEBUG ▶ migration/InsertFromStructure 7a9 [creating structure] Created task 236 2021-07-06T15:11:47.535573327Z: DEBUG ▶ migration/InsertFromStructure 7c1 [creating structure] Created task 237 2021-07-06T15:11:47.554094364Z: DEBUG ▶ migration/InsertFromStructure 7d9 [creating structure] Created task 238 2021-07-06T15:11:47.573586Z: DEBUG ▶ migration/InsertFromStructure 7f1 [creating structure] Created task 239 2021-07-06T15:11:47.612592698Z: DEBUG ▶ migration/InsertFromStructure 806 [creating structure] Created list 9 2021-07-06T15:11:47.613778386Z: DEBUG ▶ migration/InsertFromStructure 80f [creating structure] Creating 0 tasks 2021-07-06T15:11:47.616983808Z: DEBUG ▶ models/Handle 811 Sending list created notifications to 0 subscribers for list 9 2021-07-06T15:11:47.6546873Z: DEBUG ▶ migration/InsertFromStructure 837 [creating structure] Created list 10 2021-07-06T15:11:47.65485865Z: DEBUG ▶ migration/InsertFromStructure 838 [creating structure] Creating 15 tasks 2021-07-06T15:11:47.658797636Z: DEBUG ▶ models/Handle 845 Sending list created notifications to 0 subscribers for list 10 2021-07-06T15:11:47.676671571Z: DEBUG ▶ migration/InsertFromStructure 859 [creating structure] Created task 240 2021-07-06T15:11:47.695051036Z: DEBUG ▶ migration/InsertFromStructure 871 [creating structure] Created task 241 2021-07-06T15:11:47.708829728Z: DEBUG ▶ migration/InsertFromStructure 889 [creating structure] Created task 242 2021-07-06T15:11:47.722639567Z: DEBUG ▶ migration/InsertFromStructure 8a1 [creating structure] Created task 243 2021-07-06T15:11:47.736261372Z: DEBUG ▶ migration/InsertFromStructure 8b9 [creating structure] Created task 244 2021-07-06T15:11:47.756389389Z: DEBUG ▶ migration/InsertFromStructure 8d1 [creating structure] Created task 245 2021-07-06T15:11:47.769979898Z: DEBUG ▶ migration/InsertFromStructure 8e9 [creating structure] Created task 246 2021-07-06T15:11:47.784142807Z: DEBUG ▶ migration/InsertFromStructure 901 [creating structure] Created task 247 2021-07-06T15:11:47.797967683Z: DEBUG ▶ migration/InsertFromStructure 919 [creating structure] Created task 248 2021-07-06T15:11:47.812172906Z: DEBUG ▶ migration/InsertFromStructure 931 [creating structure] Created task 249 2021-07-06T15:11:47.827884443Z: DEBUG ▶ migration/InsertFromStructure 94a [creating structure] Created task 250 2021-07-06T15:11:47.841881188Z: DEBUG ▶ migration/InsertFromStructure 962 [creating structure] Created task 251 2021-07-06T15:11:47.855953894Z: DEBUG ▶ migration/InsertFromStructure 97a [creating structure] Created task 252 2021-07-06T15:11:47.870055063Z: DEBUG ▶ migration/InsertFromStructure 992 [creating structure] Created task 253 2021-07-06T15:11:47.870176339Z: DEBUG ▶ migration/InsertFromStructure 993 [creating structure] Creating 1 related task kinds 2021-07-06T15:11:47.870262875Z: DEBUG ▶ migration/InsertFromStructure 994 [creating structure] Creating 1 related tasks for kind subtask 2021-07-06T15:11:47.884154565Z: DEBUG ▶ migration/InsertFromStructure 9ac [creating structure] Created related task 254 2021-07-06T15:11:47.889781585Z: DEBUG ▶ migration/InsertFromStructure 9b2 [creating structure] Created task relation between task 253 and 254 2021-07-06T15:11:47.903568702Z: DEBUG ▶ migration/InsertFromStructure 9ca [creating structure] Created task 255 2021-07-06T15:11:47.920990143Z: DEBUG ▶ migration/InsertFromStructure 9df [creating structure] Created list 11 2021-07-06T15:11:47.924707854Z: DEBUG ▶ models/Handle 9ec Sending list created notifications to 0 subscribers for list 11 2021-07-06T15:11:47.926185428Z: DEBUG ▶ migration/InsertFromStructure 9f0 [creating structure] Created bucket 12, old ID was 38860087 2021-07-06T15:11:47.926286871Z: DEBUG ▶ migration/InsertFromStructure 9f1 [creating structure] Creating 13 tasks 2021-07-06T15:11:47.939555717Z: DEBUG ▶ migration/InsertFromStructure a06 [creating structure] Created task 256 2021-07-06T15:11:47.955798321Z: DEBUG ▶ migration/InsertFromStructure a1f [creating structure] Created task 257 2021-07-06T15:11:47.969714826Z: DEBUG ▶ migration/InsertFromStructure a37 [creating structure] Created task 258 2021-07-06T15:11:47.985787895Z: DEBUG ▶ migration/InsertFromStructure a50 [creating structure] Created task 259 2021-07-06T15:11:47.999940582Z: DEBUG ▶ migration/InsertFromStructure a68 [creating structure] Created task 260 2021-07-06T15:11:48.002732305Z: DEBUG ▶ migration/InsertFromStructure a6a [creating structure] Created new label 9 2021-07-06T15:11:48.010037285Z: DEBUG ▶ migration/InsertFromStructure a72 [creating structure] Associated task 260 with label 9 2021-07-06T15:11:48.025928541Z: DEBUG ▶ migration/InsertFromStructure a8b [creating structure] Created task 261 2021-07-06T15:11:48.039918379Z: DEBUG ▶ migration/InsertFromStructure aa3 [creating structure] Created task 262 2021-07-06T15:11:48.053772903Z: DEBUG ▶ migration/InsertFromStructure abb [creating structure] Created task 263 2021-07-06T15:11:48.067346245Z: DEBUG ▶ migration/InsertFromStructure ad3 [creating structure] Created task 264 2021-07-06T15:11:48.080886625Z: DEBUG ▶ migration/InsertFromStructure aeb [creating structure] Created task 265 2021-07-06T15:11:48.094888777Z: DEBUG ▶ migration/InsertFromStructure b03 [creating structure] Created task 266 2021-07-06T15:11:48.10972864Z: DEBUG ▶ migration/InsertFromStructure b1b [creating structure] Created task 267 2021-07-06T15:11:48.109851194Z: DEBUG ▶ migration/InsertFromStructure b1c [creating structure] Creating 1 related task kinds 2021-07-06T15:11:48.1099381Z: DEBUG ▶ migration/InsertFromStructure b1d [creating structure] Creating 2 related tasks for kind subtask 2021-07-06T15:11:48.113843846Z: WEB ▶ 94.46.24.59 POST 404 /api/v1/migration/todoist/migrate 7.910017162s - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 ``` Nevertheless, the tasks that were indeed imported had all the attributes correctly imported from Todoist (due date, reminders, comments, sub-tasks relationships) 🙂 Thank you once again for your time and help !
Owner

I was able to correctly migrate all tasks from a sub project. So while it may have bugged out while importing a sub project I don't think this was caused by the project being a sub project.

error 404 the bucket does not exist

This is an error that happened during the "final" insertion step - does not really make sense because it should have just createde the bucket instead of complaining about it. I've made some adjustments to the logging in 0c5dfe5c48 so hopefully we'll get a better insight in why it could not find that bucket. Could you update and try again? A new build should be ready in ~30min, just as the last one.

I was able to correctly migrate all tasks from a sub project. So while it may have bugged out while importing a sub project I don't think this was caused by the project being a sub project. > error 404 the bucket does not exist This is an error that happened during the "final" insertion step - does not really make sense because it should have just createde the bucket instead of complaining about it. I've made some adjustments to the logging in 0c5dfe5c48cdee910774ff68e0baa1ceb38be279 so hopefully we'll get a better insight in why it could not find that bucket. Could you update and try again? A new build should be ready in ~30min, just as the last one.
Author

I was able to correctly migrate all tasks from a sub project. So while it may have bugged out while importing a sub project I don't think this was caused by the project being a sub project.

error 404 the bucket does not exist

This is an error that happened during the "final" insertion step - does not really make sense because it should have just createde the bucket instead of complaining about it. I've made some adjustments to the logging in 0c5dfe5c48 so hopefully we'll get a better insight in why it could not find that bucket. Could you update and try again? A new build should be ready in ~30min, just as the last one.

Perfect example of "causation does not mean correlation" 🙂

Here are the logs:


2021-07-06T17:13:28.922516772Z: WEB 	▶ 94.46.24.59  GET 200 /api/v1/labels?page=1 78.883531ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0


2021-07-06T17:13:29.378361084Z: DEBUG	▶ todoist/Migrate 259 [Todoist Migration] Starting migration for user 1


2021-07-06T17:13:29.381528207Z: WEB 	▶ 94.46.24.59  GET 200 /api/v1/user 3.091494ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0


2021-07-06T17:13:30.014637869Z: DEBUG	▶ todoist/Migrate 25d [Todoist Migration] Got user token for user 1


2021-07-06T17:13:30.014782497Z: DEBUG	▶ todoist/Migrate 25e [Todoist Migration] Getting todoist data for user 1


2021-07-06T17:13:33.692934378Z: DEBUG	▶ todoist/Migrate 25f [Todoist Migration] Got all todoist user data for user 1


2021-07-06T17:13:33.693065654Z: DEBUG	▶ todoist/Migrate 260 [Todoist Migration] Start converting data for user 1


2021-07-06T17:13:33.696284499Z: DEBUG	▶ todoist/convertTodoistToVikunja 261 [Todoist Migration] Could not find task 4172823179 in tasks map while trying to get resolve subtasks for task 4172824956


2021-07-06T17:13:33.696580735Z: DEBUG	▶ todoist/convertTodoistToVikunja 262 [Todoist Migration] Could not find task 3624111094 in tasks map while trying to get resolve subtasks for task 4496574699


2021-07-06T17:13:33.696893083Z: DEBUG	▶ todoist/convertTodoistToVikunja 263 [Todoist Migration] Could not find task 4498572513 in tasks map while trying to get resolve subtasks for task 4498573261


2021-07-06T17:13:33.697117617Z: DEBUG	▶ todoist/convertTodoistToVikunja 264 [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4550049071


2021-07-06T17:13:33.697215134Z: DEBUG	▶ todoist/convertTodoistToVikunja 265 [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4550049251


2021-07-06T17:13:33.6977922Z: DEBUG	▶ todoist/convertTodoistToVikunja 266 [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4630381703


2021-07-06T17:13:33.698020049Z: DEBUG	▶ todoist/convertTodoistToVikunja 267 [Todoist Migration] Could not find task 4630895126 in tasks map while trying to get resolve subtasks for task 4630896942


2021-07-06T17:13:33.699376364Z: DEBUG	▶ todoist/convertTodoistToVikunja 268 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730765175


2021-07-06T17:13:33.699460437Z: DEBUG	▶ todoist/convertTodoistToVikunja 269 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730851930


2021-07-06T17:13:33.699700952Z: DEBUG	▶ todoist/convertTodoistToVikunja 26a [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4785602859


2021-07-06T17:13:33.700512904Z: DEBUG	▶ todoist/convertTodoistToVikunja 26b [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4830674349


2021-07-06T17:13:33.700725308Z: DEBUG	▶ todoist/convertTodoistToVikunja 26c [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4902497772


2021-07-06T17:13:33.700948268Z: DEBUG	▶ todoist/convertTodoistToVikunja 26d [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4906847700


2021-07-06T17:13:33.701029082Z: DEBUG	▶ todoist/convertTodoistToVikunja 26e [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4907341687


2021-07-06T17:13:33.701167469Z: DEBUG	▶ todoist/convertTodoistToVikunja 26f [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4909222156


2021-07-06T17:13:33.701859145Z: DEBUG	▶ todoist/convertTodoistToVikunja 270 [Todoist Migration] Could not find task 4469200961 in tasks map while trying to get resolve subtasks for task 4910987794


2021-07-06T17:13:33.702168714Z: DEBUG	▶ todoist/convertTodoistToVikunja 271 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4914176761


2021-07-06T17:13:33.702317083Z: DEBUG	▶ todoist/convertTodoistToVikunja 272 [Todoist Migration] Could not find task 4948379957 in tasks map while trying to get resolve subtasks for task 4948386099


2021-07-06T17:13:33.702615097Z: DEBUG	▶ todoist/convertTodoistToVikunja 273 [Todoist Migration] Could not find task 4948386957 in tasks map while trying to get resolve subtasks for task 4948388185


2021-07-06T17:13:33.702856279Z: DEBUG	▶ todoist/convertTodoistToVikunja 274 [Todoist Migration] Could not find task 4966573455 in tasks map while trying to get resolve subtasks for task 4966576971


2021-07-06T17:13:33.703089961Z: DEBUG	▶ todoist/convertTodoistToVikunja 275 [Todoist Migration] Could not find task 3758051176 for note 2575768147


2021-07-06T17:13:33.703224441Z: DEBUG	▶ todoist/convertTodoistToVikunja 276 [Todoist Migration] Could not find task 4480213803 for note 2746868097


2021-07-06T17:13:33.703472808Z: DEBUG	▶ todoist/convertTodoistToVikunja 277 [Todoist Migration] Could not find task 4543766884 for note 2761117683


2021-07-06T17:13:33.703563418Z: DEBUG	▶ todoist/convertTodoistToVikunja 278 [Todoist Migration] Could not find task 4636510374 for note 2783737093


2021-07-06T17:13:33.703733878Z: DEBUG	▶ todoist/convertTodoistToVikunja 279 [Todoist Migration] Could not find task 4713444528 for note 2802218397


2021-07-06T17:13:33.704042578Z: DEBUG	▶ todoist/convertTodoistToVikunja 27a [Todoist Migration] Could not find task 4792096667 for note 2821991544


2021-07-06T17:13:33.704143947Z: DEBUG	▶ todoist/convertTodoistToVikunja 27b [Todoist Migration] Could not find task 4792098226 for note 2821991621


2021-07-06T17:13:33.704335685Z: DEBUG	▶ todoist/convertTodoistToVikunja 27c [Todoist Migration] Could not find task 4799992018 for note 2823660290


2021-07-06T17:13:33.704484942Z: DEBUG	▶ todoist/convertTodoistToVikunja 27d [Todoist Migration] Could not find task 4911075949 for note 2851313727


2021-07-06T17:13:33.704664291Z: DEBUG	▶ todoist/convertTodoistToVikunja 27e [Todoist Migration] Could not find task 4966577946 for note 2865857057


2021-07-06T17:13:33.704968621Z: DEBUG	▶ todoist/convertTodoistToVikunja 27f Could not find task 3741371016 for reminder 2283159207 while trying to resolve reminders


2021-07-06T17:13:33.705051916Z: DEBUG	▶ todoist/convertTodoistToVikunja 280 Could not find task 3756692488 for reminder 2284083994 while trying to resolve reminders


2021-07-06T17:13:33.705206784Z: DEBUG	▶ todoist/convertTodoistToVikunja 281 Could not find task 3774051228 for reminder 2285027626 while trying to resolve reminders


2021-07-06T17:13:33.705413929Z: DEBUG	▶ todoist/convertTodoistToVikunja 282 Could not find task 3754668500 for reminder 2285044692 while trying to resolve reminders


2021-07-06T17:13:33.705555001Z: DEBUG	▶ todoist/convertTodoistToVikunja 283 Could not find task 3754668500 for reminder 2285044694 while trying to resolve reminders


2021-07-06T17:13:33.705756017Z: DEBUG	▶ todoist/convertTodoistToVikunja 284 Could not find task 3754670723 for reminder 2285044696 while trying to resolve reminders


2021-07-06T17:13:33.705923256Z: DEBUG	▶ todoist/convertTodoistToVikunja 285 Could not find task 3754683948 for reminder 2285291387 while trying to resolve reminders


2021-07-06T17:13:33.706094087Z: DEBUG	▶ todoist/convertTodoistToVikunja 286 Could not find task 3754683948 for reminder 2285291410 while trying to resolve reminders


2021-07-06T17:13:33.706233492Z: DEBUG	▶ todoist/convertTodoistToVikunja 287 Could not find task 3754697910 for reminder 2285291482 while trying to resolve reminders


2021-07-06T17:13:33.706443137Z: DEBUG	▶ todoist/convertTodoistToVikunja 288 Could not find task 3754697910 for reminder 2285291530 while trying to resolve reminders


2021-07-06T17:13:33.706603024Z: DEBUG	▶ todoist/convertTodoistToVikunja 289 Could not find task 3760225964 for reminder 2285291829 while trying to resolve reminders


2021-07-06T17:13:33.706782077Z: DEBUG	▶ todoist/convertTodoistToVikunja 28a Could not find task 3758049970 for reminder 2285291922 while trying to resolve reminders


2021-07-06T17:13:33.706924723Z: DEBUG	▶ todoist/convertTodoistToVikunja 28b Could not find task 3758051176 for reminder 2285292002 while trying to resolve reminders


2021-07-06T17:13:33.707323181Z: DEBUG	▶ todoist/convertTodoistToVikunja 28c Could not find task 3502640217 for reminder 2349115919 while trying to resolve reminders


2021-07-06T17:13:33.707589418Z: DEBUG	▶ todoist/Migrate 28d [Todoist Migration] Done converting data for user 1


2021-07-06T17:13:33.70765551Z: DEBUG	▶ todoist/Migrate 28e [Todoist Migration] Start inserting data for user 1


2021-07-06T17:13:33.707786026Z: DEBUG	▶ migration/InsertFromStructure 28f [creating structure] Creating 1 namespaces


2021-07-06T17:13:33.713375542Z: DEBUG	▶ migration/InsertFromStructure 294 [creating structure] Created namespace 7


2021-07-06T17:13:33.713624909Z: DEBUG	▶ migration/InsertFromStructure 296 [creating structure] Creating 37 lists


2021-07-06T17:13:33.736846202Z: DEBUG	▶ migration/InsertFromStructure 2af [creating structure] Created list 16


2021-07-06T17:13:33.737690765Z: DEBUG	▶ migration/InsertFromStructure 2b3 [creating structure] Creating 50 tasks


2021-07-06T17:13:33.740088973Z: DEBUG	▶ models/Handle 2b5 Sending list created notifications to 0 subscribers for list 16


2021-07-06T17:13:33.760252919Z: DEBUG	▶ migration/InsertFromStructure 2d1 [creating structure] Created task 347


2021-07-06T17:13:33.781113726Z: DEBUG	▶ migration/InsertFromStructure 2e9 [creating structure] Created task 348


2021-07-06T17:13:33.805813128Z: DEBUG	▶ migration/InsertFromStructure 305 [creating structure] Created task 349


2021-07-06T17:13:33.823963657Z: DEBUG	▶ migration/InsertFromStructure 31d [creating structure] Created task 350


2021-07-06T17:13:33.842402535Z: DEBUG	▶ migration/InsertFromStructure 335 [creating structure] Created task 351


2021-07-06T17:13:33.845556751Z: DEBUG	▶ migration/InsertFromStructure 337 [creating structure] Created new label 13


2021-07-06T17:13:33.853664084Z: DEBUG	▶ migration/InsertFromStructure 33f [creating structure] Associated task 351 with label 13


2021-07-06T17:13:33.867921629Z: DEBUG	▶ migration/InsertFromStructure 357 [creating structure] Created task 352


2021-07-06T17:13:33.88431546Z: DEBUG	▶ migration/InsertFromStructure 370 [creating structure] Created task 353


2021-07-06T17:13:33.898165474Z: DEBUG	▶ migration/InsertFromStructure 388 [creating structure] Created task 354


2021-07-06T17:13:33.911864509Z: DEBUG	▶ migration/InsertFromStructure 3a0 [creating structure] Created task 355


2021-07-06T17:13:33.926004278Z: DEBUG	▶ migration/InsertFromStructure 3b8 [creating structure] Created task 356


2021-07-06T17:13:33.947332357Z: DEBUG	▶ migration/InsertFromStructure 3d0 [creating structure] Created task 357


2021-07-06T17:13:33.963314582Z: DEBUG	▶ migration/InsertFromStructure 3e9 [creating structure] Created task 358


2021-07-06T17:13:33.983301327Z: DEBUG	▶ migration/InsertFromStructure 402 [creating structure] Created task 359


2021-07-06T17:13:34.000235336Z: DEBUG	▶ migration/InsertFromStructure 41b [creating structure] Created task 360


2021-07-06T17:13:34.01485958Z: DEBUG	▶ migration/InsertFromStructure 433 [creating structure] Created task 361


2021-07-06T17:13:34.031550425Z: DEBUG	▶ migration/InsertFromStructure 44c [creating structure] Created task 362


2021-07-06T17:13:34.050214262Z: DEBUG	▶ migration/InsertFromStructure 465 [creating structure] Created task 363


2021-07-06T17:13:34.067194067Z: DEBUG	▶ migration/InsertFromStructure 47e [creating structure] Created task 364


2021-07-06T17:13:34.084050299Z: DEBUG	▶ migration/InsertFromStructure 497 [creating structure] Created task 365


2021-07-06T17:13:34.100677016Z: DEBUG	▶ migration/InsertFromStructure 4b0 [creating structure] Created task 366


2021-07-06T17:13:34.117457638Z: DEBUG	▶ migration/InsertFromStructure 4c9 [creating structure] Created task 367


2021-07-06T17:13:34.132300601Z: DEBUG	▶ migration/InsertFromStructure 4e1 [creating structure] Created task 368


2021-07-06T17:13:34.149054372Z: DEBUG	▶ migration/InsertFromStructure 4fa [creating structure] Created task 369


2021-07-06T17:13:34.165649404Z: DEBUG	▶ migration/InsertFromStructure 513 [creating structure] Created task 370


2021-07-06T17:13:34.180410127Z: DEBUG	▶ migration/InsertFromStructure 52b [creating structure] Created task 371


2021-07-06T17:13:34.194716598Z: DEBUG	▶ migration/InsertFromStructure 543 [creating structure] Created task 372


2021-07-06T17:13:34.209181196Z: DEBUG	▶ migration/InsertFromStructure 55b [creating structure] Created task 373


2021-07-06T17:13:34.22602728Z: DEBUG	▶ migration/InsertFromStructure 573 [creating structure] Created task 374


2021-07-06T17:13:34.246195597Z: DEBUG	▶ migration/InsertFromStructure 58b [creating structure] Created task 375


2021-07-06T17:13:34.259946075Z: DEBUG	▶ migration/InsertFromStructure 5a3 [creating structure] Created task 376


2021-07-06T17:13:34.260066481Z: DEBUG	▶ migration/InsertFromStructure 5a4 [creating structure] Creating 1 related task kinds


2021-07-06T17:13:34.260394217Z: DEBUG	▶ migration/InsertFromStructure 5a5 [creating structure] Creating 1 related tasks for kind subtask


2021-07-06T17:13:34.274259046Z: DEBUG	▶ migration/InsertFromStructure 5bd [creating structure] Created related task 377


2021-07-06T17:13:34.281631926Z: DEBUG	▶ migration/InsertFromStructure 5c3 [creating structure] Created task relation between task 376 and 377


2021-07-06T17:13:34.297523505Z: DEBUG	▶ migration/InsertFromStructure 5dc [creating structure] Created task 378


2021-07-06T17:13:34.311879938Z: DEBUG	▶ migration/InsertFromStructure 5f4 [creating structure] Created task 379


2021-07-06T17:13:34.326120687Z: DEBUG	▶ migration/InsertFromStructure 60c [creating structure] Created task 380


2021-07-06T17:13:34.340110385Z: DEBUG	▶ migration/InsertFromStructure 624 [creating structure] Created task 381


2021-07-06T17:13:34.362801574Z: DEBUG	▶ migration/InsertFromStructure 63c [creating structure] Created task 382


2021-07-06T17:13:34.381186285Z: DEBUG	▶ migration/InsertFromStructure 654 [creating structure] Created task 383


2021-07-06T17:13:34.400341875Z: DEBUG	▶ migration/InsertFromStructure 66c [creating structure] Created task 384


2021-07-06T17:13:34.418913731Z: DEBUG	▶ migration/InsertFromStructure 684 [creating structure] Created task 385


2021-07-06T17:13:34.437580328Z: DEBUG	▶ migration/InsertFromStructure 69c [creating structure] Created task 386


2021-07-06T17:13:34.440390956Z: DEBUG	▶ migration/InsertFromStructure 69e [creating structure] Created new label 14


2021-07-06T17:13:34.448839488Z: DEBUG	▶ migration/InsertFromStructure 6a6 [creating structure] Associated task 386 with label 14


2021-07-06T17:13:34.46822026Z: DEBUG	▶ migration/InsertFromStructure 6be [creating structure] Created task 387


2021-07-06T17:13:34.489561912Z: DEBUG	▶ migration/InsertFromStructure 6d6 [creating structure] Created task 388


2021-07-06T17:13:34.511061506Z: DEBUG	▶ migration/InsertFromStructure 6ee [creating structure] Created task 389


2021-07-06T17:13:34.531453486Z: DEBUG	▶ migration/InsertFromStructure 706 [creating structure] Created task 390


2021-07-06T17:13:34.551399732Z: DEBUG	▶ migration/InsertFromStructure 71e [creating structure] Created task 391


2021-07-06T17:13:34.57529333Z: DEBUG	▶ migration/InsertFromStructure 736 [creating structure] Created task 392


2021-07-06T17:13:34.598041056Z: DEBUG	▶ migration/InsertFromStructure 74e [creating structure] Created task 393


2021-07-06T17:13:34.618073022Z: DEBUG	▶ migration/InsertFromStructure 766 [creating structure] Created task 394


2021-07-06T17:13:34.63748546Z: DEBUG	▶ migration/InsertFromStructure 77e [creating structure] Created task 395


2021-07-06T17:13:34.657026155Z: DEBUG	▶ migration/InsertFromStructure 796 [creating structure] Created task 396


2021-07-06T17:13:34.67384861Z: DEBUG	▶ migration/InsertFromStructure 7ae [creating structure] Created task 397


2021-07-06T17:13:34.692014195Z: DEBUG	▶ migration/InsertFromStructure 7c3 [creating structure] Created list 17


2021-07-06T17:13:34.69213423Z: DEBUG	▶ migration/InsertFromStructure 7c6 [creating structure] Creating 0 tasks


2021-07-06T17:13:34.694342218Z: DEBUG	▶ models/Handle 7ca Sending list created notifications to 0 subscribers for list 17


2021-07-06T17:13:34.718037449Z: DEBUG	▶ migration/InsertFromStructure 7f4 [creating structure] Created list 18


2021-07-06T17:13:34.718165003Z: DEBUG	▶ migration/InsertFromStructure 7f6 [creating structure] Creating 15 tasks


2021-07-06T17:13:34.720948521Z: DEBUG	▶ models/Handle 7fa Sending list created notifications to 0 subscribers for list 18


2021-07-06T17:13:34.736070369Z: DEBUG	▶ migration/InsertFromStructure 816 [creating structure] Created task 398


2021-07-06T17:13:34.75146964Z: DEBUG	▶ migration/InsertFromStructure 82e [creating structure] Created task 399


2021-07-06T17:13:34.76747105Z: DEBUG	▶ migration/InsertFromStructure 846 [creating structure] Created task 400


2021-07-06T17:13:34.782387142Z: DEBUG	▶ migration/InsertFromStructure 85e [creating structure] Created task 401


2021-07-06T17:13:34.79758649Z: DEBUG	▶ migration/InsertFromStructure 876 [creating structure] Created task 402


2021-07-06T17:13:34.812294177Z: DEBUG	▶ migration/InsertFromStructure 88e [creating structure] Created task 403


2021-07-06T17:13:34.8273516Z: DEBUG	▶ migration/InsertFromStructure 8a6 [creating structure] Created task 404


2021-07-06T17:13:34.84853981Z: DEBUG	▶ migration/InsertFromStructure 8be [creating structure] Created task 405


2021-07-06T17:13:34.863225942Z: DEBUG	▶ migration/InsertFromStructure 8d6 [creating structure] Created task 406


2021-07-06T17:13:34.88332763Z: DEBUG	▶ migration/InsertFromStructure 8ee [creating structure] Created task 407


2021-07-06T17:13:34.899842293Z: DEBUG	▶ migration/InsertFromStructure 907 [creating structure] Created task 408


2021-07-06T17:13:34.913684066Z: DEBUG	▶ migration/InsertFromStructure 91f [creating structure] Created task 409


2021-07-06T17:13:34.927324916Z: DEBUG	▶ migration/InsertFromStructure 937 [creating structure] Created task 410


2021-07-06T17:13:34.940844694Z: DEBUG	▶ migration/InsertFromStructure 94f [creating structure] Created task 411


2021-07-06T17:13:34.941292151Z: DEBUG	▶ migration/InsertFromStructure 950 [creating structure] Creating 1 related task kinds


2021-07-06T17:13:34.941466074Z: DEBUG	▶ migration/InsertFromStructure 951 [creating structure] Creating 1 related tasks for kind subtask


2021-07-06T17:13:34.955267404Z: DEBUG	▶ migration/InsertFromStructure 969 [creating structure] Created related task 412


2021-07-06T17:13:34.960073486Z: DEBUG	▶ migration/InsertFromStructure 96f [creating structure] Created task relation between task 411 and 412


2021-07-06T17:13:34.974339291Z: DEBUG	▶ migration/InsertFromStructure 987 [creating structure] Created task 413


2021-07-06T17:13:34.990089279Z: DEBUG	▶ migration/InsertFromStructure 99c [creating structure] Created list 19


2021-07-06T17:13:34.992176676Z: DEBUG	▶ models/Handle 9a1 Sending list created notifications to 0 subscribers for list 19


2021-07-06T17:13:34.995288745Z: DEBUG	▶ migration/InsertFromStructure 9ad [creating structure] Created bucket 22, old ID was 38860087


2021-07-06T17:13:34.995633092Z: DEBUG	▶ migration/InsertFromStructure 9ae [creating structure] Creating 13 tasks


2021-07-06T17:13:35.009921304Z: DEBUG	▶ migration/InsertFromStructure 9c3 [creating structure] Created task 414


2021-07-06T17:13:35.026335412Z: DEBUG	▶ migration/InsertFromStructure 9dc [creating structure] Created task 415


2021-07-06T17:13:35.040343257Z: DEBUG	▶ migration/InsertFromStructure 9f4 [creating structure] Created task 416


2021-07-06T17:13:35.056317335Z: DEBUG	▶ migration/InsertFromStructure a0d [creating structure] Created task 417


2021-07-06T17:13:35.070687008Z: DEBUG	▶ migration/InsertFromStructure a25 [creating structure] Created task 418


2021-07-06T17:13:35.073409434Z: DEBUG	▶ migration/InsertFromStructure a27 [creating structure] Created new label 15


2021-07-06T17:13:35.080721575Z: DEBUG	▶ migration/InsertFromStructure a2f [creating structure] Associated task 418 with label 15


2021-07-06T17:13:35.09704761Z: DEBUG	▶ migration/InsertFromStructure a48 [creating structure] Created task 419


2021-07-06T17:13:35.111592226Z: DEBUG	▶ migration/InsertFromStructure a60 [creating structure] Created task 420


2021-07-06T17:13:35.126120879Z: DEBUG	▶ migration/InsertFromStructure a78 [creating structure] Created task 421


2021-07-06T17:13:35.140549292Z: DEBUG	▶ migration/InsertFromStructure a90 [creating structure] Created task 422


2021-07-06T17:13:35.154891207Z: DEBUG	▶ migration/InsertFromStructure aa8 [creating structure] Created task 423


2021-07-06T17:13:35.169214196Z: DEBUG	▶ migration/InsertFromStructure ac0 [creating structure] Created task 424


2021-07-06T17:13:35.183716349Z: DEBUG	▶ migration/InsertFromStructure ad8 [creating structure] Created task 425


2021-07-06T17:13:35.184089326Z: DEBUG	▶ migration/InsertFromStructure ad9 [creating structure] Creating 1 related task kinds


2021-07-06T17:13:35.184299934Z: DEBUG	▶ migration/InsertFromStructure ada [creating structure] Creating 2 related tasks for kind subtask
> I was able to correctly migrate all tasks from a sub project. So while it may have bugged out while importing a sub project I don't think this was caused by the project being a sub project. > > > error 404 the bucket does not exist > > This is an error that happened during the "final" insertion step - does not really make sense because it should have just createde the bucket instead of complaining about it. I've made some adjustments to the logging in 0c5dfe5c48cdee910774ff68e0baa1ceb38be279 so hopefully we'll get a better insight in why it could not find that bucket. Could you update and try again? A new build should be ready in ~30min, just as the last one. Perfect example of "causation does not mean correlation" 🙂 Here are the logs: ``` 2021-07-06T17:13:28.922516772Z: WEB ▶ 94.46.24.59 GET 200 /api/v1/labels?page=1 78.883531ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 2021-07-06T17:13:29.378361084Z: DEBUG ▶ todoist/Migrate 259 [Todoist Migration] Starting migration for user 1 2021-07-06T17:13:29.381528207Z: WEB ▶ 94.46.24.59 GET 200 /api/v1/user 3.091494ms - Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 2021-07-06T17:13:30.014637869Z: DEBUG ▶ todoist/Migrate 25d [Todoist Migration] Got user token for user 1 2021-07-06T17:13:30.014782497Z: DEBUG ▶ todoist/Migrate 25e [Todoist Migration] Getting todoist data for user 1 2021-07-06T17:13:33.692934378Z: DEBUG ▶ todoist/Migrate 25f [Todoist Migration] Got all todoist user data for user 1 2021-07-06T17:13:33.693065654Z: DEBUG ▶ todoist/Migrate 260 [Todoist Migration] Start converting data for user 1 2021-07-06T17:13:33.696284499Z: DEBUG ▶ todoist/convertTodoistToVikunja 261 [Todoist Migration] Could not find task 4172823179 in tasks map while trying to get resolve subtasks for task 4172824956 2021-07-06T17:13:33.696580735Z: DEBUG ▶ todoist/convertTodoistToVikunja 262 [Todoist Migration] Could not find task 3624111094 in tasks map while trying to get resolve subtasks for task 4496574699 2021-07-06T17:13:33.696893083Z: DEBUG ▶ todoist/convertTodoistToVikunja 263 [Todoist Migration] Could not find task 4498572513 in tasks map while trying to get resolve subtasks for task 4498573261 2021-07-06T17:13:33.697117617Z: DEBUG ▶ todoist/convertTodoistToVikunja 264 [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4550049071 2021-07-06T17:13:33.697215134Z: DEBUG ▶ todoist/convertTodoistToVikunja 265 [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4550049251 2021-07-06T17:13:33.6977922Z: DEBUG ▶ todoist/convertTodoistToVikunja 266 [Todoist Migration] Could not find task 4550048201 in tasks map while trying to get resolve subtasks for task 4630381703 2021-07-06T17:13:33.698020049Z: DEBUG ▶ todoist/convertTodoistToVikunja 267 [Todoist Migration] Could not find task 4630895126 in tasks map while trying to get resolve subtasks for task 4630896942 2021-07-06T17:13:33.699376364Z: DEBUG ▶ todoist/convertTodoistToVikunja 268 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730765175 2021-07-06T17:13:33.699460437Z: DEBUG ▶ todoist/convertTodoistToVikunja 269 [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4730851930 2021-07-06T17:13:33.699700952Z: DEBUG ▶ todoist/convertTodoistToVikunja 26a [Todoist Migration] Could not find task 4720412981 in tasks map while trying to get resolve subtasks for task 4785602859 2021-07-06T17:13:33.700512904Z: DEBUG ▶ todoist/convertTodoistToVikunja 26b [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4830674349 2021-07-06T17:13:33.700725308Z: DEBUG ▶ todoist/convertTodoistToVikunja 26c [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4902497772 2021-07-06T17:13:33.700948268Z: DEBUG ▶ todoist/convertTodoistToVikunja 26d [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4906847700 2021-07-06T17:13:33.701029082Z: DEBUG ▶ todoist/convertTodoistToVikunja 26e [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4907341687 2021-07-06T17:13:33.701167469Z: DEBUG ▶ todoist/convertTodoistToVikunja 26f [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4909222156 2021-07-06T17:13:33.701859145Z: DEBUG ▶ todoist/convertTodoistToVikunja 270 [Todoist Migration] Could not find task 4469200961 in tasks map while trying to get resolve subtasks for task 4910987794 2021-07-06T17:13:33.702168714Z: DEBUG ▶ todoist/convertTodoistToVikunja 271 [Todoist Migration] Could not find task 4792096667 in tasks map while trying to get resolve subtasks for task 4914176761 2021-07-06T17:13:33.702317083Z: DEBUG ▶ todoist/convertTodoistToVikunja 272 [Todoist Migration] Could not find task 4948379957 in tasks map while trying to get resolve subtasks for task 4948386099 2021-07-06T17:13:33.702615097Z: DEBUG ▶ todoist/convertTodoistToVikunja 273 [Todoist Migration] Could not find task 4948386957 in tasks map while trying to get resolve subtasks for task 4948388185 2021-07-06T17:13:33.702856279Z: DEBUG ▶ todoist/convertTodoistToVikunja 274 [Todoist Migration] Could not find task 4966573455 in tasks map while trying to get resolve subtasks for task 4966576971 2021-07-06T17:13:33.703089961Z: DEBUG ▶ todoist/convertTodoistToVikunja 275 [Todoist Migration] Could not find task 3758051176 for note 2575768147 2021-07-06T17:13:33.703224441Z: DEBUG ▶ todoist/convertTodoistToVikunja 276 [Todoist Migration] Could not find task 4480213803 for note 2746868097 2021-07-06T17:13:33.703472808Z: DEBUG ▶ todoist/convertTodoistToVikunja 277 [Todoist Migration] Could not find task 4543766884 for note 2761117683 2021-07-06T17:13:33.703563418Z: DEBUG ▶ todoist/convertTodoistToVikunja 278 [Todoist Migration] Could not find task 4636510374 for note 2783737093 2021-07-06T17:13:33.703733878Z: DEBUG ▶ todoist/convertTodoistToVikunja 279 [Todoist Migration] Could not find task 4713444528 for note 2802218397 2021-07-06T17:13:33.704042578Z: DEBUG ▶ todoist/convertTodoistToVikunja 27a [Todoist Migration] Could not find task 4792096667 for note 2821991544 2021-07-06T17:13:33.704143947Z: DEBUG ▶ todoist/convertTodoistToVikunja 27b [Todoist Migration] Could not find task 4792098226 for note 2821991621 2021-07-06T17:13:33.704335685Z: DEBUG ▶ todoist/convertTodoistToVikunja 27c [Todoist Migration] Could not find task 4799992018 for note 2823660290 2021-07-06T17:13:33.704484942Z: DEBUG ▶ todoist/convertTodoistToVikunja 27d [Todoist Migration] Could not find task 4911075949 for note 2851313727 2021-07-06T17:13:33.704664291Z: DEBUG ▶ todoist/convertTodoistToVikunja 27e [Todoist Migration] Could not find task 4966577946 for note 2865857057 2021-07-06T17:13:33.704968621Z: DEBUG ▶ todoist/convertTodoistToVikunja 27f Could not find task 3741371016 for reminder 2283159207 while trying to resolve reminders 2021-07-06T17:13:33.705051916Z: DEBUG ▶ todoist/convertTodoistToVikunja 280 Could not find task 3756692488 for reminder 2284083994 while trying to resolve reminders 2021-07-06T17:13:33.705206784Z: DEBUG ▶ todoist/convertTodoistToVikunja 281 Could not find task 3774051228 for reminder 2285027626 while trying to resolve reminders 2021-07-06T17:13:33.705413929Z: DEBUG ▶ todoist/convertTodoistToVikunja 282 Could not find task 3754668500 for reminder 2285044692 while trying to resolve reminders 2021-07-06T17:13:33.705555001Z: DEBUG ▶ todoist/convertTodoistToVikunja 283 Could not find task 3754668500 for reminder 2285044694 while trying to resolve reminders 2021-07-06T17:13:33.705756017Z: DEBUG ▶ todoist/convertTodoistToVikunja 284 Could not find task 3754670723 for reminder 2285044696 while trying to resolve reminders 2021-07-06T17:13:33.705923256Z: DEBUG ▶ todoist/convertTodoistToVikunja 285 Could not find task 3754683948 for reminder 2285291387 while trying to resolve reminders 2021-07-06T17:13:33.706094087Z: DEBUG ▶ todoist/convertTodoistToVikunja 286 Could not find task 3754683948 for reminder 2285291410 while trying to resolve reminders 2021-07-06T17:13:33.706233492Z: DEBUG ▶ todoist/convertTodoistToVikunja 287 Could not find task 3754697910 for reminder 2285291482 while trying to resolve reminders 2021-07-06T17:13:33.706443137Z: DEBUG ▶ todoist/convertTodoistToVikunja 288 Could not find task 3754697910 for reminder 2285291530 while trying to resolve reminders 2021-07-06T17:13:33.706603024Z: DEBUG ▶ todoist/convertTodoistToVikunja 289 Could not find task 3760225964 for reminder 2285291829 while trying to resolve reminders 2021-07-06T17:13:33.706782077Z: DEBUG ▶ todoist/convertTodoistToVikunja 28a Could not find task 3758049970 for reminder 2285291922 while trying to resolve reminders 2021-07-06T17:13:33.706924723Z: DEBUG ▶ todoist/convertTodoistToVikunja 28b Could not find task 3758051176 for reminder 2285292002 while trying to resolve reminders 2021-07-06T17:13:33.707323181Z: DEBUG ▶ todoist/convertTodoistToVikunja 28c Could not find task 3502640217 for reminder 2349115919 while trying to resolve reminders 2021-07-06T17:13:33.707589418Z: DEBUG ▶ todoist/Migrate 28d [Todoist Migration] Done converting data for user 1 2021-07-06T17:13:33.70765551Z: DEBUG ▶ todoist/Migrate 28e [Todoist Migration] Start inserting data for user 1 2021-07-06T17:13:33.707786026Z: DEBUG ▶ migration/InsertFromStructure 28f [creating structure] Creating 1 namespaces 2021-07-06T17:13:33.713375542Z: DEBUG ▶ migration/InsertFromStructure 294 [creating structure] Created namespace 7 2021-07-06T17:13:33.713624909Z: DEBUG ▶ migration/InsertFromStructure 296 [creating structure] Creating 37 lists 2021-07-06T17:13:33.736846202Z: DEBUG ▶ migration/InsertFromStructure 2af [creating structure] Created list 16 2021-07-06T17:13:33.737690765Z: DEBUG ▶ migration/InsertFromStructure 2b3 [creating structure] Creating 50 tasks 2021-07-06T17:13:33.740088973Z: DEBUG ▶ models/Handle 2b5 Sending list created notifications to 0 subscribers for list 16 2021-07-06T17:13:33.760252919Z: DEBUG ▶ migration/InsertFromStructure 2d1 [creating structure] Created task 347 2021-07-06T17:13:33.781113726Z: DEBUG ▶ migration/InsertFromStructure 2e9 [creating structure] Created task 348 2021-07-06T17:13:33.805813128Z: DEBUG ▶ migration/InsertFromStructure 305 [creating structure] Created task 349 2021-07-06T17:13:33.823963657Z: DEBUG ▶ migration/InsertFromStructure 31d [creating structure] Created task 350 2021-07-06T17:13:33.842402535Z: DEBUG ▶ migration/InsertFromStructure 335 [creating structure] Created task 351 2021-07-06T17:13:33.845556751Z: DEBUG ▶ migration/InsertFromStructure 337 [creating structure] Created new label 13 2021-07-06T17:13:33.853664084Z: DEBUG ▶ migration/InsertFromStructure 33f [creating structure] Associated task 351 with label 13 2021-07-06T17:13:33.867921629Z: DEBUG ▶ migration/InsertFromStructure 357 [creating structure] Created task 352 2021-07-06T17:13:33.88431546Z: DEBUG ▶ migration/InsertFromStructure 370 [creating structure] Created task 353 2021-07-06T17:13:33.898165474Z: DEBUG ▶ migration/InsertFromStructure 388 [creating structure] Created task 354 2021-07-06T17:13:33.911864509Z: DEBUG ▶ migration/InsertFromStructure 3a0 [creating structure] Created task 355 2021-07-06T17:13:33.926004278Z: DEBUG ▶ migration/InsertFromStructure 3b8 [creating structure] Created task 356 2021-07-06T17:13:33.947332357Z: DEBUG ▶ migration/InsertFromStructure 3d0 [creating structure] Created task 357 2021-07-06T17:13:33.963314582Z: DEBUG ▶ migration/InsertFromStructure 3e9 [creating structure] Created task 358 2021-07-06T17:13:33.983301327Z: DEBUG ▶ migration/InsertFromStructure 402 [creating structure] Created task 359 2021-07-06T17:13:34.000235336Z: DEBUG ▶ migration/InsertFromStructure 41b [creating structure] Created task 360 2021-07-06T17:13:34.01485958Z: DEBUG ▶ migration/InsertFromStructure 433 [creating structure] Created task 361 2021-07-06T17:13:34.031550425Z: DEBUG ▶ migration/InsertFromStructure 44c [creating structure] Created task 362 2021-07-06T17:13:34.050214262Z: DEBUG ▶ migration/InsertFromStructure 465 [creating structure] Created task 363 2021-07-06T17:13:34.067194067Z: DEBUG ▶ migration/InsertFromStructure 47e [creating structure] Created task 364 2021-07-06T17:13:34.084050299Z: DEBUG ▶ migration/InsertFromStructure 497 [creating structure] Created task 365 2021-07-06T17:13:34.100677016Z: DEBUG ▶ migration/InsertFromStructure 4b0 [creating structure] Created task 366 2021-07-06T17:13:34.117457638Z: DEBUG ▶ migration/InsertFromStructure 4c9 [creating structure] Created task 367 2021-07-06T17:13:34.132300601Z: DEBUG ▶ migration/InsertFromStructure 4e1 [creating structure] Created task 368 2021-07-06T17:13:34.149054372Z: DEBUG ▶ migration/InsertFromStructure 4fa [creating structure] Created task 369 2021-07-06T17:13:34.165649404Z: DEBUG ▶ migration/InsertFromStructure 513 [creating structure] Created task 370 2021-07-06T17:13:34.180410127Z: DEBUG ▶ migration/InsertFromStructure 52b [creating structure] Created task 371 2021-07-06T17:13:34.194716598Z: DEBUG ▶ migration/InsertFromStructure 543 [creating structure] Created task 372 2021-07-06T17:13:34.209181196Z: DEBUG ▶ migration/InsertFromStructure 55b [creating structure] Created task 373 2021-07-06T17:13:34.22602728Z: DEBUG ▶ migration/InsertFromStructure 573 [creating structure] Created task 374 2021-07-06T17:13:34.246195597Z: DEBUG ▶ migration/InsertFromStructure 58b [creating structure] Created task 375 2021-07-06T17:13:34.259946075Z: DEBUG ▶ migration/InsertFromStructure 5a3 [creating structure] Created task 376 2021-07-06T17:13:34.260066481Z: DEBUG ▶ migration/InsertFromStructure 5a4 [creating structure] Creating 1 related task kinds 2021-07-06T17:13:34.260394217Z: DEBUG ▶ migration/InsertFromStructure 5a5 [creating structure] Creating 1 related tasks for kind subtask 2021-07-06T17:13:34.274259046Z: DEBUG ▶ migration/InsertFromStructure 5bd [creating structure] Created related task 377 2021-07-06T17:13:34.281631926Z: DEBUG ▶ migration/InsertFromStructure 5c3 [creating structure] Created task relation between task 376 and 377 2021-07-06T17:13:34.297523505Z: DEBUG ▶ migration/InsertFromStructure 5dc [creating structure] Created task 378 2021-07-06T17:13:34.311879938Z: DEBUG ▶ migration/InsertFromStructure 5f4 [creating structure] Created task 379 2021-07-06T17:13:34.326120687Z: DEBUG ▶ migration/InsertFromStructure 60c [creating structure] Created task 380 2021-07-06T17:13:34.340110385Z: DEBUG ▶ migration/InsertFromStructure 624 [creating structure] Created task 381 2021-07-06T17:13:34.362801574Z: DEBUG ▶ migration/InsertFromStructure 63c [creating structure] Created task 382 2021-07-06T17:13:34.381186285Z: DEBUG ▶ migration/InsertFromStructure 654 [creating structure] Created task 383 2021-07-06T17:13:34.400341875Z: DEBUG ▶ migration/InsertFromStructure 66c [creating structure] Created task 384 2021-07-06T17:13:34.418913731Z: DEBUG ▶ migration/InsertFromStructure 684 [creating structure] Created task 385 2021-07-06T17:13:34.437580328Z: DEBUG ▶ migration/InsertFromStructure 69c [creating structure] Created task 386 2021-07-06T17:13:34.440390956Z: DEBUG ▶ migration/InsertFromStructure 69e [creating structure] Created new label 14 2021-07-06T17:13:34.448839488Z: DEBUG ▶ migration/InsertFromStructure 6a6 [creating structure] Associated task 386 with label 14 2021-07-06T17:13:34.46822026Z: DEBUG ▶ migration/InsertFromStructure 6be [creating structure] Created task 387 2021-07-06T17:13:34.489561912Z: DEBUG ▶ migration/InsertFromStructure 6d6 [creating structure] Created task 388 2021-07-06T17:13:34.511061506Z: DEBUG ▶ migration/InsertFromStructure 6ee [creating structure] Created task 389 2021-07-06T17:13:34.531453486Z: DEBUG ▶ migration/InsertFromStructure 706 [creating structure] Created task 390 2021-07-06T17:13:34.551399732Z: DEBUG ▶ migration/InsertFromStructure 71e [creating structure] Created task 391 2021-07-06T17:13:34.57529333Z: DEBUG ▶ migration/InsertFromStructure 736 [creating structure] Created task 392 2021-07-06T17:13:34.598041056Z: DEBUG ▶ migration/InsertFromStructure 74e [creating structure] Created task 393 2021-07-06T17:13:34.618073022Z: DEBUG ▶ migration/InsertFromStructure 766 [creating structure] Created task 394 2021-07-06T17:13:34.63748546Z: DEBUG ▶ migration/InsertFromStructure 77e [creating structure] Created task 395 2021-07-06T17:13:34.657026155Z: DEBUG ▶ migration/InsertFromStructure 796 [creating structure] Created task 396 2021-07-06T17:13:34.67384861Z: DEBUG ▶ migration/InsertFromStructure 7ae [creating structure] Created task 397 2021-07-06T17:13:34.692014195Z: DEBUG ▶ migration/InsertFromStructure 7c3 [creating structure] Created list 17 2021-07-06T17:13:34.69213423Z: DEBUG ▶ migration/InsertFromStructure 7c6 [creating structure] Creating 0 tasks 2021-07-06T17:13:34.694342218Z: DEBUG ▶ models/Handle 7ca Sending list created notifications to 0 subscribers for list 17 2021-07-06T17:13:34.718037449Z: DEBUG ▶ migration/InsertFromStructure 7f4 [creating structure] Created list 18 2021-07-06T17:13:34.718165003Z: DEBUG ▶ migration/InsertFromStructure 7f6 [creating structure] Creating 15 tasks 2021-07-06T17:13:34.720948521Z: DEBUG ▶ models/Handle 7fa Sending list created notifications to 0 subscribers for list 18 2021-07-06T17:13:34.736070369Z: DEBUG ▶ migration/InsertFromStructure 816 [creating structure] Created task 398 2021-07-06T17:13:34.75146964Z: DEBUG ▶ migration/InsertFromStructure 82e [creating structure] Created task 399 2021-07-06T17:13:34.76747105Z: DEBUG ▶ migration/InsertFromStructure 846 [creating structure] Created task 400 2021-07-06T17:13:34.782387142Z: DEBUG ▶ migration/InsertFromStructure 85e [creating structure] Created task 401 2021-07-06T17:13:34.79758649Z: DEBUG ▶ migration/InsertFromStructure 876 [creating structure] Created task 402 2021-07-06T17:13:34.812294177Z: DEBUG ▶ migration/InsertFromStructure 88e [creating structure] Created task 403 2021-07-06T17:13:34.8273516Z: DEBUG ▶ migration/InsertFromStructure 8a6 [creating structure] Created task 404 2021-07-06T17:13:34.84853981Z: DEBUG ▶ migration/InsertFromStructure 8be [creating structure] Created task 405 2021-07-06T17:13:34.863225942Z: DEBUG ▶ migration/InsertFromStructure 8d6 [creating structure] Created task 406 2021-07-06T17:13:34.88332763Z: DEBUG ▶ migration/InsertFromStructure 8ee [creating structure] Created task 407 2021-07-06T17:13:34.899842293Z: DEBUG ▶ migration/InsertFromStructure 907 [creating structure] Created task 408 2021-07-06T17:13:34.913684066Z: DEBUG ▶ migration/InsertFromStructure 91f [creating structure] Created task 409 2021-07-06T17:13:34.927324916Z: DEBUG ▶ migration/InsertFromStructure 937 [creating structure] Created task 410 2021-07-06T17:13:34.940844694Z: DEBUG ▶ migration/InsertFromStructure 94f [creating structure] Created task 411 2021-07-06T17:13:34.941292151Z: DEBUG ▶ migration/InsertFromStructure 950 [creating structure] Creating 1 related task kinds 2021-07-06T17:13:34.941466074Z: DEBUG ▶ migration/InsertFromStructure 951 [creating structure] Creating 1 related tasks for kind subtask 2021-07-06T17:13:34.955267404Z: DEBUG ▶ migration/InsertFromStructure 969 [creating structure] Created related task 412 2021-07-06T17:13:34.960073486Z: DEBUG ▶ migration/InsertFromStructure 96f [creating structure] Created task relation between task 411 and 412 2021-07-06T17:13:34.974339291Z: DEBUG ▶ migration/InsertFromStructure 987 [creating structure] Created task 413 2021-07-06T17:13:34.990089279Z: DEBUG ▶ migration/InsertFromStructure 99c [creating structure] Created list 19 2021-07-06T17:13:34.992176676Z: DEBUG ▶ models/Handle 9a1 Sending list created notifications to 0 subscribers for list 19 2021-07-06T17:13:34.995288745Z: DEBUG ▶ migration/InsertFromStructure 9ad [creating structure] Created bucket 22, old ID was 38860087 2021-07-06T17:13:34.995633092Z: DEBUG ▶ migration/InsertFromStructure 9ae [creating structure] Creating 13 tasks 2021-07-06T17:13:35.009921304Z: DEBUG ▶ migration/InsertFromStructure 9c3 [creating structure] Created task 414 2021-07-06T17:13:35.026335412Z: DEBUG ▶ migration/InsertFromStructure 9dc [creating structure] Created task 415 2021-07-06T17:13:35.040343257Z: DEBUG ▶ migration/InsertFromStructure 9f4 [creating structure] Created task 416 2021-07-06T17:13:35.056317335Z: DEBUG ▶ migration/InsertFromStructure a0d [creating structure] Created task 417 2021-07-06T17:13:35.070687008Z: DEBUG ▶ migration/InsertFromStructure a25 [creating structure] Created task 418 2021-07-06T17:13:35.073409434Z: DEBUG ▶ migration/InsertFromStructure a27 [creating structure] Created new label 15 2021-07-06T17:13:35.080721575Z: DEBUG ▶ migration/InsertFromStructure a2f [creating structure] Associated task 418 with label 15 2021-07-06T17:13:35.09704761Z: DEBUG ▶ migration/InsertFromStructure a48 [creating structure] Created task 419 2021-07-06T17:13:35.111592226Z: DEBUG ▶ migration/InsertFromStructure a60 [creating structure] Created task 420 2021-07-06T17:13:35.126120879Z: DEBUG ▶ migration/InsertFromStructure a78 [creating structure] Created task 421 2021-07-06T17:13:35.140549292Z: DEBUG ▶ migration/InsertFromStructure a90 [creating structure] Created task 422 2021-07-06T17:13:35.154891207Z: DEBUG ▶ migration/InsertFromStructure aa8 [creating structure] Created task 423 2021-07-06T17:13:35.169214196Z: DEBUG ▶ migration/InsertFromStructure ac0 [creating structure] Created task 424 2021-07-06T17:13:35.183716349Z: DEBUG ▶ migration/InsertFromStructure ad8 [creating structure] Created task 425 2021-07-06T17:13:35.184089326Z: DEBUG ▶ migration/InsertFromStructure ad9 [creating structure] Creating 1 related task kinds 2021-07-06T17:13:35.184299934Z: DEBUG ▶ migration/InsertFromStructure ada [creating structure] Creating 2 related tasks for kind subtask ```
Owner

@bolgrov There should be a message starting with ERROR (rather than DEBUG) right after the logs you shared. Could you share that one?

The logs you shared don't contain any errors - does that mean it worked?

@bolgrov There should be a message starting with `ERROR` (rather than `DEBUG`) right after the logs you shared. Could you share that one? The logs you shared don't contain any errors - does that mean it worked?
Author

@bolgrov There should be a message starting with ERROR (rather than DEBUG) right after the logs you shared. Could you share that one?

The logs you shared don't contain any errors - does that mean it worked?

Hey @konrad , I searched for "ERROR" on the logs and didn't find any entry. Plus I updated this morning the container once again, just to be sure, and ran the migration again but the same thing happened. I have to ERROR entries in the Vikunja API logs and the migration stops exactly in the same step has before.

If you need more information please ask me.

Thank you !

> @bolgrov There should be a message starting with `ERROR` (rather than `DEBUG`) right after the logs you shared. Could you share that one? > > The logs you shared don't contain any errors - does that mean it worked? Hey @konrad , I searched for "ERROR" on the logs and didn't find any entry. Plus I updated this morning the container once again, just to be sure, and ran the migration again but the same thing happened. I have to `ERROR` entries in the Vikunja API logs and the migration stops exactly in the same step has before. If you need more information please ask me. Thank you !
Author

Hey @konrad ,

I was thinking again about the question of Projects and subprojects conversion to Vikunja. I can't see a way of creating sublists in Vikunja so I can not see how will subprojects be imported.
From the way I see it, Namespaces seen to be the equivalent of Projects and the lists in these Namespaces to be the equivalent of Subprojects in Todoist.

So if you changed the migration code to create a Namespace for each project and a list for each subproject in the respective Namespace, maybe it would be successful ?

Because, at the moment there is only one Namespace being created called "Migrated From TODOIST" and the imported projects are created has lists inside it, but (and this could be only coincidence) the first Project with a subproject is where it stops importing and bugs out.

Thank you 🙂

Hey @konrad , I was thinking again about the question of Projects and subprojects conversion to Vikunja. I can't see a way of creating sublists in Vikunja so I can not see how will subprojects be imported. From the way I see it, **Namespaces** seen to be the equivalent of **Projects** and the **lists** in these Namespaces to be the equivalent of **Subprojects** in Todoist. So if you changed the migration code to create a Namespace for each project and a list for each subproject in the respective Namespace, maybe it would be successful ? Because, at the moment there is only one Namespace being created called "*Migrated From TODOIST*" and the imported projects are created has lists inside it, but (and this could be only coincidence) the first Project with a subproject is where it stops importing and bugs out. Thank you 🙂
Owner

I searched for "ERROR" on the logs and didn't find any entry.

I have to ERROR entries in the Vikunja API logs

I'm a bit confused. Do you have errors in the logs or not?

Could you maybe just send me the the full logs? (Either here or via matrix or per mail to konrad@vikunja.io)

From the way I see it, Namespaces seen to be the equivalent of Projects and the lists in these Namespaces to be the equivalent of Subprojects in Todoist.

I'd think of namespaces more like a folder of lists. A parent project in Todoist can also have tasks while a namespace cannot. Projects are the Todoist equivalent of Vikunja's lists.
Simply changing the import logic to put all sub projects in a namespace with the name of their parent would open up new problems like where should the tasks of that parent project go, what about projects that don't have sub lists (should they get a namespace as well?)... etc.

Sublists are imported correctly. Vikunja only ignores the hierachy since it does not have that feature - as you correctly pointed out.

My test account in Todoist:

image

And after the import in Vikunja:

image

> I searched for "ERROR" on the logs and didn't find any entry. > I have to ERROR entries in the Vikunja API logs I'm a bit confused. Do you have errors in the logs or not? Could you maybe just send me the the full logs? (Either here or via matrix or per mail to konrad@vikunja.io) > From the way I see it, Namespaces seen to be the equivalent of Projects and the lists in these Namespaces to be the equivalent of Subprojects in Todoist. I'd think of namespaces more like a folder of lists. A parent project in Todoist can also have tasks while a namespace cannot. Projects are the Todoist equivalent of Vikunja's lists. Simply changing the import logic to put all sub projects in a namespace with the name of their parent would open up new problems like where should the tasks of that parent project go, what about projects that don't have sub lists (should they get a namespace as well?)... etc. Sublists are imported correctly. Vikunja only ignores the hierachy since it does not have that feature - as you correctly pointed out. My test account in Todoist: ![image](/attachments/413917ec-1237-460a-9a55-05825a91005a) And after the import in Vikunja: ![image](/attachments/30f0a80e-c44b-4d1b-934c-50e992e26eb2)
Author

I searched for "ERROR" on the logs and didn't find any entry.

I have to ERROR entries in the Vikunja API logs

I'm a bit confused. Do you have errors in the logs or not?

Could you maybe just send me the the full logs? (Either here or via matrix or per mail to konrad@vikunja.io)

From the way I see it, Namespaces seen to be the equivalent of Projects and the lists in these Namespaces to be the equivalent of Subprojects in Todoist.

I'd think of namespaces more like a folder of lists. A parent project in Todoist can also have tasks while a namespace cannot. Projects are the Todoist equivalent of Vikunja's lists.
Simply changing the import logic to put all sub projects in a namespace with the name of their parent would open up new problems like where should the tasks of that parent project go, what about projects that don't have sub lists (should they get a namespace as well?)... etc.

Sublists are imported correctly. Vikunja only ignores the hierachy since it does not have that feature - as you correctly pointed out.

My test account in Todoist:

image

And after the import in Vikunja:

image

Hey @konrad ,

Sorry about the confusion, I meant to say that I find no ERROR entries in the logs (the two times I tried the migration).

I now understand that what I was suggesting in relation to sub-projects doesn't make sense, it was just mere coincidence it is bugging out the moment it moves to the first subproject in my TOdoist data. Thank you for the throughout explanation.

Nevertheless, if you want I can send you the intire logs.

Thank you for your time once again!

> > I searched for "ERROR" on the logs and didn't find any entry. > > > I have to ERROR entries in the Vikunja API logs > > I'm a bit confused. Do you have errors in the logs or not? > > Could you maybe just send me the the full logs? (Either here or via matrix or per mail to konrad@vikunja.io) > > > From the way I see it, Namespaces seen to be the equivalent of Projects and the lists in these Namespaces to be the equivalent of Subprojects in Todoist. > > I'd think of namespaces more like a folder of lists. A parent project in Todoist can also have tasks while a namespace cannot. Projects are the Todoist equivalent of Vikunja's lists. > Simply changing the import logic to put all sub projects in a namespace with the name of their parent would open up new problems like where should the tasks of that parent project go, what about projects that don't have sub lists (should they get a namespace as well?)... etc. > > Sublists are imported correctly. Vikunja only ignores the hierachy since it does not have that feature - as you correctly pointed out. > > My test account in Todoist: > > ![image](/attachments/413917ec-1237-460a-9a55-05825a91005a) > > And after the import in Vikunja: > > ![image](/attachments/30f0a80e-c44b-4d1b-934c-50e992e26eb2) > Hey @konrad , Sorry about the confusion, I meant to say that I find **no** ERROR entries in the logs (the two times I tried the migration). I now understand that what I was suggesting in relation to sub-projects doesn't make sense, it was just mere coincidence it is bugging out the moment it moves to the first subproject in my TOdoist data. Thank you for the throughout explanation. Nevertheless, if you want I can send you the intire logs. Thank you for your time once again!
Owner

Sorry about the confusion, I meant to say that I find no ERROR entries in the logs (the two times I tried the migration).

I've just noticed there was an error in the last build so the pipeline didn't actually run through - which means there was no new build for you to test. I've fixed that now and the release pipeline has just finished. Please try that one, it should give you some error log messages (and I'd like to see those).

> Sorry about the confusion, I meant to say that I find no ERROR entries in the logs (the two times I tried the migration). I've just noticed there was an error in the last build so the pipeline didn't actually run through - which means there was no new build for you to test. I've fixed that now and the release pipeline has just finished. Please try that one, it should give you some error log messages (and I'd like to see those).
Author

Sorry about the confusion, I meant to say that I find no ERROR entries in the logs (the two times I tried the migration).

I've just noticed there was an error in the last build so the pipeline didn't actually run through - which means there was no new build for you to test. I've fixed that now and the release pipeline has just finished. Please try that one, it should give you some error log messages (and I'd like to see those).

I've run the migration and now the ERROR entries do appear, albeit there's only 2:

2021-07-07T21:59:44.208964558Z: ERROR	▶ migration/InsertFromStructure ace [creating structure] Error while creating structure: Bucket does not exist [BucketID: 38860087]


2021-07-07T21:59:44.209075815Z: ERROR	▶ handler/Migrate acf Bucket does not exist [BucketID: 38860087]

If you want I can send you the rest of the logs but they're the same as before.

Thank you !

> > Sorry about the confusion, I meant to say that I find no ERROR entries in the logs (the two times I tried the migration). > > I've just noticed there was an error in the last build so the pipeline didn't actually run through - which means there was no new build for you to test. I've fixed that now and the release pipeline has just finished. Please try that one, it should give you some error log messages (and I'd like to see those). I've run the migration and now the ERROR entries do appear, albeit there's only 2: ``` 2021-07-07T21:59:44.208964558Z: ERROR ▶ migration/InsertFromStructure ace [creating structure] Error while creating structure: Bucket does not exist [BucketID: 38860087] 2021-07-07T21:59:44.209075815Z: ERROR ▶ handler/Migrate acf Bucket does not exist [BucketID: 38860087] ``` If you want I can send you the rest of the logs but they're the same as before. Thank you !
Owner

This looks like you have a sub task in todoist which is in a different section than any other task and that section does not get created before. When Vikunja then tries to put it in that section, that errors out because it does not exist.
I don't know if that's even possible from Todoist, from my understanding that shouldn't work.

I've pushed a fix for that in 5b825f1cc8, please update and try again.

My guess is the migration will run fully through but with some tasks/attributes missing given there are quite some of these log messages:

Could not find task 4966573455 in tasks map while trying to get resolve subtasks for task 4966576971

Could not find task 3758051176 for note 2575768147

Could not find task 3741371016 for reminder 2283159207 while trying to resolve reminders

So if the migration doesn't crash with the new fix, please check the following:

  • Were all tasks imported correctly?
  • Were all sub tasks imported correctly?
  • Were all sections correctly imported as buckets in Vikunja?
  • Do all tasks with reminders in Todoist have reminders in Vikunja?
  • Do all tasks with notes/attachments (I think those are comments in todoist?) have them correctly imported in Vikunja?

I have a few ideas why this might happening:

  • The Todoist api endpoint does not give you all tasks but has an upper limit of how many tasks it returns. Because the other task attributes are returned in separate objects, those are returned and we get the mentioned error messages
  • The error comes from some inconsistency with archived lists. Do you have any archived list?
  • You have a few tasks in there which are quite old and haven't been touched since 2017 - there have been todoist api changes since then.
This looks like you have a sub task in todoist which is in a different section than any other task and that section does not get created before. When Vikunja then tries to put it in that section, that errors out because it does not exist. I don't know if that's even possible from Todoist, from my understanding that shouldn't work. I've pushed a fix for that in 5b825f1cc812a442c770b6e11d87d11e94d4b3b5, please update and try again. My guess is the migration will run fully through but with some tasks/attributes missing given there are quite some of these log messages: ``` Could not find task 4966573455 in tasks map while trying to get resolve subtasks for task 4966576971 Could not find task 3758051176 for note 2575768147 Could not find task 3741371016 for reminder 2283159207 while trying to resolve reminders ``` So if the migration doesn't crash with the new fix, please check the following: * Were all tasks imported correctly? * Were all sub tasks imported correctly? * Were all sections correctly imported as buckets in Vikunja? * Do all tasks with reminders in Todoist have reminders in Vikunja? * Do all tasks with notes/attachments (I think those are comments in todoist?) have them correctly imported in Vikunja? I have a few ideas why this might happening: * The Todoist api endpoint does not give you all tasks but has an upper limit of how many tasks it returns. Because the other task attributes are returned in separate objects, those are returned and we get the mentioned error messages * The error comes from some inconsistency with archived lists. Do you have any archived list? * You have a few tasks in there which are quite old and haven't been touched since 2017 - there have been todoist api changes since then.
Author

This looks like you have a sub task in todoist which is in a different section than any other task and that section does not get created before. When Vikunja then tries to put it in that section, that errors out because it does not exist.
I don't know if that's even possible from Todoist, from my understanding that shouldn't work.

I've pushed a fix for that in 5b825f1cc8, please update and try again.

My guess is the migration will run fully through but with some tasks/attributes missing given there are quite some of these log messages:

Could not find task 4966573455 in tasks map while trying to get resolve subtasks for task 4966576971

Could not find task 3758051176 for note 2575768147

Could not find task 3741371016 for reminder 2283159207 while trying to resolve reminders

So if the migration doesn't crash with the new fix, please check the following:

  • Were all tasks imported correctly?
  • Were all sub tasks imported correctly?
  • Were all sections correctly imported as buckets in Vikunja?
  • Do all tasks with reminders in Todoist have reminders in Vikunja?
  • Do all tasks with notes/attachments (I think those are comments in todoist?) have them correctly imported in Vikunja?

I have a few ideas why this might happening:

  • The Todoist api endpoint does not give you all tasks but has an upper limit of how many tasks it returns. Because the other task attributes are returned in separate objects, those are returned and we get the mentioned error messages
  • The error comes from some inconsistency with archived lists. Do you have any archived list?
  • You have a few tasks in there which are quite old and haven't been touched since 2017 - there have been todoist api changes since then.

Hello @konrad ,

Thank you for the fix ! However, before answering your questions I found a new bug which doesn't let me import all the tasks.

The error it produces is the following:

2021-07-08T09:15:07.210445094Z: ERROR    ▶ migration/InsertFromStructure 1244 [creating structure] Error while creating structure: pq: value too long for type character varying(250)


2021-07-08T09:15:07.210553982Z: ERROR    ▶ handler/Migrate 1245 pq: value too long for type character varying(250)

I went and looked where the migration process stopped and saw that it coincide it some tasks that have a really long title, which is due to the fact that many of my tasks have links in their name and Todoist automatically fetchs the site's title and substitutes the url to [site title](url) which can sometimes make a really long title. So I experimented with deleting the tasks that had a long title and run the migration again, however the migration stopped with the exact same error after importing a few more projects. I looked where it stopped and it coincides with a shared list I have with a colleague with many tasks that have huge titles because of entered urls.
Tasks example:

So then I went to the Vikunja db logs and saw that it reported the same error:

2021-07-08 09:21:20.743 UTC [51] STATEMENT:  INSERT INTO "tasks" ("title","description","done","done_at","due_date","created_by_id","list_id","repeat_after","repeat_mode","priority","start_date","end_date","hex_color","percent_done","index","uid","is_favorite","created","updated","bucket_id","position") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21) RETURNING "id",
2021-07-08 09:21:20.743 UTC [51] ERROR:  value too long for type character varying(250)

Which I think is associated with PostgresSQL database being set to a limit of 250 characters, see 1 2.

So if you change the code to set the limit of the database of the title's entry to something like 1000 characters it should suffice.

Thank you for your time.

> This looks like you have a sub task in todoist which is in a different section than any other task and that section does not get created before. When Vikunja then tries to put it in that section, that errors out because it does not exist. > I don't know if that's even possible from Todoist, from my understanding that shouldn't work. > > I've pushed a fix for that in 5b825f1cc812a442c770b6e11d87d11e94d4b3b5, please update and try again. > > My guess is the migration will run fully through but with some tasks/attributes missing given there are quite some of these log messages: > > ``` > Could not find task 4966573455 in tasks map while trying to get resolve subtasks for task 4966576971 > > Could not find task 3758051176 for note 2575768147 > > Could not find task 3741371016 for reminder 2283159207 while trying to resolve reminders > ``` > > So if the migration doesn't crash with the new fix, please check the following: > > * Were all tasks imported correctly? > * Were all sub tasks imported correctly? > * Were all sections correctly imported as buckets in Vikunja? > * Do all tasks with reminders in Todoist have reminders in Vikunja? > * Do all tasks with notes/attachments (I think those are comments in todoist?) have them correctly imported in Vikunja? > > I have a few ideas why this might happening: > > * The Todoist api endpoint does not give you all tasks but has an upper limit of how many tasks it returns. Because the other task attributes are returned in separate objects, those are returned and we get the mentioned error messages > * The error comes from some inconsistency with archived lists. Do you have any archived list? > * You have a few tasks in there which are quite old and haven't been touched since 2017 - there have been todoist api changes since then. Hello @konrad , Thank you for the fix ! However, before answering your questions I found a new bug which doesn't let me import all the tasks. The error it produces is the following: ``` 2021-07-08T09:15:07.210445094Z: ERROR ▶ migration/InsertFromStructure 1244 [creating structure] Error while creating structure: pq: value too long for type character varying(250) 2021-07-08T09:15:07.210553982Z: ERROR ▶ handler/Migrate 1245 pq: value too long for type character varying(250) ``` I went and looked where the migration process stopped and saw that it coincide it some tasks that have a really long title, which is due to the fact that many of my tasks have links in their name and Todoist automatically fetchs the site's title and substitutes the url to `[site title](url)` which can sometimes make a *really* long title. So I experimented with deleting the tasks that had a long title and run the migration again, however the migration stopped with the exact same error after importing a few more projects. I looked where it stopped and it coincides with a shared list I have with a colleague with *many* tasks that have huge titles because of entered urls. Tasks example: So then I went to the Vikunja db logs and saw that it reported the same error: ``` 2021-07-08 09:21:20.743 UTC [51] STATEMENT: INSERT INTO "tasks" ("title","description","done","done_at","due_date","created_by_id","list_id","repeat_after","repeat_mode","priority","start_date","end_date","hex_color","percent_done","index","uid","is_favorite","created","updated","bucket_id","position") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21) RETURNING "id", 2021-07-08 09:21:20.743 UTC [51] ERROR: value too long for type character varying(250) ``` Which I think is associated with PostgresSQL database being set to a limit of 250 characters, see [1](https://stackoverflow.com/questions/36446201/org-postgresql-util-psqlexception-error-value-too-long-for-type-character-vary/36446267) [2](https://stackoverflow.com/questions/13485030/strange-postgresql-value-too-long-for-type-character-varying500). So if you change the code to set the limit of the database of the title's entry to something like 1000 characters it should suffice. Thank you for your time.
Owner

Huh, that's an interesting find. I guess it makes sense to change the column type to TEXT rather than only increasing the limit of the varchar.

Huh, that's an interesting find. I guess it makes sense to change the column type to `TEXT` rather than only increasing the limit of the varchar.
Owner

I've changed the task title db field to text in 358661e060 - please try again with the latest version.

I've changed the task title db field to text in https://kolaente.dev/vikunja/api/commit/358661e060a07bf915d11d48fcdad8eb45496046 - please try again with the latest version.
Author

I've changed the task title db field to text in 358661e060 - please try again with the latest version.

Holy ... it finally imported everything !

Everything was imported correctly: tasks, subtasks, comments, the projects, reminders and priorities. There is only one thing that is not imported which, in my case at least, is a big miss: recurrence.

I have a lot of tasks with recurring dates, like every 3 days; every two weeks, every years, every first monday etc...

Is this fixable ? I could fix this the hard way: by hand. But it would take some days..

Nevertheless, you are the best !

> I've changed the task title db field to text in https://kolaente.dev/vikunja/api/commit/358661e060a07bf915d11d48fcdad8eb45496046 - please try again with the latest version. Holy ... it finally imported everything ! Everything was imported correctly: tasks, subtasks, comments, the projects, reminders and priorities. There is only one thing that is not imported which, in my case at least, is a big miss: recurrence. I have a **lot** of tasks with recurring dates, like every 3 days; every two weeks, every years, every first monday etc... Is this fixable ? I could fix this the hard way: by hand. But it would take some days.. Nevertheless, you are the best !
Owner

Glad it seems to (almost) work now!

There is only one thing that is not imported which, in my case at least, is a big miss: recurrence.

Did it import no reminders at all or only a few?

Glad it seems to (almost) work now! > There is only one thing that is not imported which, in my case at least, is a big miss: recurrence. Did it import no reminders at all or only a few?
Author

Glad it seems to (almost) work now!

There is only one thing that is not imported which, in my case at least, is a big miss: recurrence.

Did it import no reminders at all or only a few?

I think you misunderstood me 🙂

The reminders were all imported correctly (with some exceptions which I'll explain further bellow), what was not imported is the recurrence of the tasks which in Vikunja I see that it can be set by "Set a repeating interval" function.

So imagine I have a task name "Vikunja" set to repeat every Friday at 22pm. This tasks is imported into Vikunja from Todoist with the due date for the next Friday at 22pm (this would be now 16 of July at 22pm), however the recurrence is not imported and if I mark this task done it is done forever instead of updating to the next Friday.
A solution would be to manually set again the repeating interval but this would be prohibitively laborious with the amount of recurring tasks I have.

Now, there's another problem which is related with reminders that have recurring dates.
All tasks that had manually set reminders were imported correctly, for example: a tasks with reminders for 4 jun at 9pm, 10 oct at 10am, 11 oct at 17pm. Is imported with all the 3 reminders into Vikunja.
However, if I have a tasks with a reminder set in the following way: every friday at 10pm. It will import only one reminder for the next Friday at 10pm in the same way that happens to the due date.

To conclude, what is missing:

  • Recurring due dates
  • Recurring reminders

I think the case with reminders is harder to solve because from what I gathered, in Vikunja you can only set recurring due dates but not recurring reminders.

If I missed something or was not clear enough please ask me.

Thank you for your incredible work !

> Glad it seems to (almost) work now! > > > There is only one thing that is not imported which, in my case at least, is a big miss: recurrence. > > Did it import no reminders at all or only a few? I think you misunderstood me 🙂 The reminders were all imported correctly (with some exceptions which I'll explain further bellow), what was not imported is the recurrence of the tasks which in Vikunja I see that it can be set by "*Set a repeating interval*" function. So imagine I have a task name "**Vikunja**" set to repeat every Friday at 22pm. This tasks is imported into Vikunja from Todoist with the *due date* for the next Friday at 22pm (this would be now 16 of July at 22pm), however the recurrence is not imported and if I mark this task done it is done forever instead of updating to the next Friday. A solution would be to manually set again the repeating interval but this would be prohibitively laborious with the amount of recurring tasks I have. Now, there's another problem which is related with reminders that have recurring dates. All tasks that had manually set reminders were imported correctly, for example: a tasks with reminders for 4 jun at 9pm, 10 oct at 10am, 11 oct at 17pm. Is imported with all the 3 reminders into Vikunja. **However**, if I have a tasks with a reminder set in the following way: every friday at 10pm. It will import only **one** reminder for the next Friday at 10pm in the same way that happens to the due date. To conclude, what is missing: - Recurring due dates - Recurring reminders I think the case with reminders is harder to solve because from what I gathered, in Vikunja you can only set recurring due dates but not recurring reminders. If I missed something or was not clear enough please ask me. Thank you for your incredible work !
Owner

Ah I see 🙃

The problem with todoist recurring stuff is they can set indipentently from each other. That means you can have a recurring due date and a recurring reminder on different schedules. Vikunja, however, only has a concept of recurring tasks not reminders or due dates. If you set a task in Vikunja to repeat at a certain schedule it will repeat all dates (due, start, end, all reminders) in that schedule when the task is marked as done.

Because of all this, my current "strategy" was to simply ignore these when importing the tasks from todoist.

I'm not sure how to solve this in the import though I have a few ideas:

  • If the task in todoist only has either a recurrent reminder or a due date (not both) just use the recurring schedule from that for all of the Vikunja task.
  • If there's both in one todoist task use the schedule from the due date.

Open to other suggestions.

Ah I see 🙃 The problem with todoist recurring stuff is they can set indipentently from each other. That means you can have a recurring due date and a recurring reminder on different schedules. Vikunja, however, only has a concept of recurring _tasks_ not reminders or due dates. If you set a task in Vikunja to repeat at a certain schedule it will repeat all dates (due, start, end, all reminders) in that schedule when the task is marked as done. Because of all this, my current "strategy" was to simply ignore these when importing the tasks from todoist. I'm not sure how to solve this in the import though I have a few ideas: * If the task in todoist only has either a recurrent reminder or a due date (not both) just use the recurring schedule from that for all of the Vikunja task. * If there's both in one todoist task use the schedule from the due date. Open to other suggestions.
Author

Ah I see 🙃

The problem with todoist recurring stuff is they can set indipentently from each other. That means you can have a recurring due date and a recurring reminder on different schedules. Vikunja, however, only has a concept of recurring tasks not reminders or due dates. If you set a task in Vikunja to repeat at a certain schedule it will repeat all dates (due, start, end, all reminders) in that schedule when the task is marked as done.

Because of all this, my current "strategy" was to simply ignore these when importing the tasks from todoist.

I'm not sure how to solve this in the import though I have a few ideas:

  • If the task in todoist only has either a recurrent reminder or a due date (not both) just use the recurring schedule from that for all of the Vikunja task.
  • If there's both in one todoist task use the schedule from the due date.

Open to other suggestions.

Ok I was writing a lengthy response but I reached to conclusion that yes, those conditions are the best overall.
One thing I noticed is that the migration API is already importing correctly tasks that have multiple reminders set manually, so please don't modify this. In my opinion, and this could be biased, the most important thing here is to be able to import correctly the static due dates and reminders, but also the recurring due dates, as such it is more important that as you said the recurring due dates take importance over recurring reminders.

If you implement those two conditions as you referred, the API migration will be basically perfect. The only thing missing is sub-lists, which I know might be difficult to deal with in terms of hierarchic. However (and I can open another issue, or talk with you in another place), this could be much simplified by only allowing one level of sub-lists !

As always, thank you for your time!

> Ah I see 🙃 > > The problem with todoist recurring stuff is they can set indipentently from each other. That means you can have a recurring due date and a recurring reminder on different schedules. Vikunja, however, only has a concept of recurring _tasks_ not reminders or due dates. If you set a task in Vikunja to repeat at a certain schedule it will repeat all dates (due, start, end, all reminders) in that schedule when the task is marked as done. > > Because of all this, my current "strategy" was to simply ignore these when importing the tasks from todoist. > > I'm not sure how to solve this in the import though I have a few ideas: > > * If the task in todoist only has either a recurrent reminder or a due date (not both) just use the recurring schedule from that for all of the Vikunja task. > * If there's both in one todoist task use the schedule from the due date. > > Open to other suggestions. Ok I was writing a lengthy response but I reached to conclusion that yes, those conditions are the best overall. One thing I noticed is that the migration API is already importing correctly tasks that have multiple reminders set manually, so please don't modify this. In my opinion, and this could be biased, the most important thing here is to be able to import correctly the static due dates and reminders, **but also** the recurring due dates, as such it is more important that as you said the recurring due dates take importance over recurring reminders. If you implement those two conditions as you referred, the API migration will be basically perfect. The only thing missing is sub-lists, which I know might be difficult to deal with in terms of hierarchic. However (and I can open another issue, or talk with you in another place), this could be *much* simplified by only allowing **one** level of sub-lists ! As always, thank you for your time!
Owner

I've tried to implement that and it looks like there's another problem (and a blocking one). This is how a task with a reccurring due date (same for reminders) looks like in the api response from todoist:

{
  "content": "recurring",
  "due": {
    "date": "2021-07-11",
    "is_recurring": true,
    "lang": "en",
    "string": "every 2 weeks",
    "timezone": null
}

There is the is_recurring field which tells me if that task is recurring or not. There's no indication when that task is reccurring other than the string property which Vikunja would need to parse in order to understand when exactly it is reccuring. And that for all languages Todoist supports.

I don't think that's something we could implement right now.

I've tried to implement that and it looks like there's another problem (and a blocking one). This is how a task with a reccurring due date (same for reminders) looks like in the api response from todoist: ```json { "content": "recurring", "due": { "date": "2021-07-11", "is_recurring": true, "lang": "en", "string": "every 2 weeks", "timezone": null } ``` There is the `is_recurring` field which tells me if that task is recurring or not. There's no indication _when_ that task is reccurring other than the `string` property which Vikunja would need to parse in order to understand when exactly it is reccuring. And that for all languages Todoist supports. I don't think that's something we could implement right now.
Author

I've tried to implement that and it looks like there's another problem (and a blocking one). This is how a task with a reccurring due date (same for reminders) looks like in the api response from todoist:

{
  "content": "recurring",
  "due": {
    "date": "2021-07-11",
    "is_recurring": true,
    "lang": "en",
    "string": "every 2 weeks",
    "timezone": null
}

There is the is_recurring field which tells me if that task is recurring or not. There's no indication when that task is reccurring other than the string property which Vikunja would need to parse in order to understand when exactly it is reccuring. And that for all languages Todoist supports.

I don't think that's something we could implement right now.

Yes, that was my fear when I was looking at the JSON file exported from Todoist.
The only possible solution I see is to limit it to only English queries and implement date parsing like Todoist does into the Vikunja API to be able to read the recurring text fields.
I mean, you already made an wonderful job of date parsing implementation with recent updates so I wonder how difficult would it be to catch up to Todoist level (if you indeed can this would be ironically beautiful how a one person project beats a multi millionaire closed source one). From what I gathered, the parsing part that is missing in Vikunja is recurrence and some embellishments that todoist has like: every can be parsed as ev and Tomorrow can be parsed as tom, and the same for the week days.
So if you could implement recurrence into your magic Quick add function and also abbreviations the migration API would work!

Although maybe this should become another issue of its own (more refined date parsing) ?

Thank you @konrad

> I've tried to implement that and it looks like there's another problem (and a blocking one). This is how a task with a reccurring due date (same for reminders) looks like in the api response from todoist: > > ```json > { > "content": "recurring", > "due": { > "date": "2021-07-11", > "is_recurring": true, > "lang": "en", > "string": "every 2 weeks", > "timezone": null > } > ``` > > There is the `is_recurring` field which tells me if that task is recurring or not. There's no indication _when_ that task is reccurring other than the `string` property which Vikunja would need to parse in order to understand when exactly it is reccuring. And that for all languages Todoist supports. > > I don't think that's something we could implement right now. Yes, that was my fear when I was looking at the JSON file exported from Todoist. The only possible solution I see is to limit it to only English queries and implement date parsing like Todoist does into the Vikunja API to be able to read the recurring text fields. I mean, you already made an wonderful job of date parsing implementation with recent updates so I wonder how difficult would it be to catch up to Todoist level (if you indeed can this would be ironically beautiful how a one person project beats a multi millionaire closed source one). From what I gathered, the parsing part that is missing in Vikunja is recurrence and some embellishments that todoist has like: every can be parsed as *ev* and Tomorrow can be parsed as *tom*, and the same for the week days. So if you could implement recurrence into your magic Quick add function and also abbreviations the migration API would work! Although maybe this should become another issue of its own (more refined date parsing) ? Thank you @konrad
Owner

Thanks for the kind words 🙂

The main problem with moving the task attribute parsing to the api is it is a frontend feature which I can't really just port over like that (different programming languages). But overall I guess that's the only way to solve that.

Abbreviations for weekdays should work btw, not so sure about the other ones.

Thanks for the kind words 🙂 The main problem with moving the task attribute parsing to the api is it is a frontend feature which I can't really just port over like that (different programming languages). But overall I guess that's the only way to solve that. Abbreviations for weekdays should work btw, not so sure about the other ones.
Owner

I think the original problem of this issue has been resolved so I'm closing this. Feel free to open a new issue for the problem with importing recurring tasks.

I think the original problem of this issue has been resolved so I'm closing this. Feel free to open a new issue for the problem with importing recurring tasks.
Author

Hi @konrad , congratulations on version 0.18.0 and all work put into Vikunja.

I'm sorry to reopen this (close if you see it fit), but now that I've fully migrated into Vikunja I noticed a crucial import lacking feature:

All tasks from Todoist that have a due date but not an hour set are imported to Vikunja without any date set.

This is not a Todoist import error per se, because I just noticed that Vikunja does not allow to set due dates without also setting an hour, so the problem is probably here.

The downside is that my workflow in Todoist is to only set an hour for a task if I know I have to do that task at that specific hour. Otherwise I just set the task for a certain day (without an hour set) but with a priority level set. As this is my typical workflow, most of the imported tasks to Vikunja got their due date erased because they didn't have an hour set.

Thank you !

Hi @konrad , congratulations on version 0.18.0 and all work put into Vikunja. I'm sorry to reopen this (close if you see it fit), but now that I've fully migrated into Vikunja I noticed a crucial import lacking feature: All tasks from Todoist that have a due date but **not** an hour set are imported to Vikunja **without** any date set. This is not a Todoist import error *per se*, because I just noticed that Vikunja does not allow to set due dates without **also** setting an hour, so the problem is probably here. The downside is that my workflow in Todoist is to only set an hour for a task **if** I know I have to do that task at that specific hour. Otherwise I just set the task for a certain day (without an hour set) but with a priority level set. As this is my typical workflow, most of the imported tasks to Vikunja got their due date erased because they didn't have an hour set. Thank you !
bolgrov reopened this issue 2021-09-14 18:57:02 +00:00
Author

Hello @konrad how are you doing ?

Do you prefer that I post the last comment as an separate issue on the API ?

Thank you !

Hello @konrad how are you doing ? Do you prefer that I post the last comment as an separate issue on the API ? Thank you !
Owner

@bolgrov Ah yes, totally forgot this issue. I think a new one would be helpful.

I think I did put this in the backlog though.

@bolgrov Ah yes, totally forgot this issue. I think a new one would be helpful. I think I did put this in the backlog though.
Author

@bolgrov Ah yes, totally forgot this issue. I think a new one would be helpful.

I think I did put this in the backlog though.

No worries, making a project this great is very time consuming !

I just checked and you have a task in the Backlog called "API-447 Todoist migration doesn't import dates with no time".

Do you still want me to create an issue ?

@bolgrov Ah yes, totally forgot this issue. I think a new one would be helpful. > > I think I did put this in the backlog though. No worries, making a project this great is very time consuming ! I just checked and you have a task in the Backlog called "*API-447 Todoist migration doesn't import dates with no time*". Do you still want me to create an issue ?
Owner

I just checked and you have a task in the Backlog called "API-447 Todoist migration doesn't import dates with no time".

Do you still want me to create an issue ?

I think it should be fine. Thanks for looking it up!

> I just checked and you have a task in the Backlog called "API-447 Todoist migration doesn't import dates with no time". > Do you still want me to create an issue ? I think it should be fine. Thanks for looking it up!
Owner

Should be fixed with fd0d462bf4 - please test with the next unstable build (should take ~30 min until the CI released it).

Should be fixed with https://kolaente.dev/vikunja/api/commit/fd0d462bf4dd8225c67ba34958e5148f6167d264 - please test with the next unstable build (should take ~30 min until the CI released it).
Author

Should be fixed with fd0d462bf4 - please test with the next unstable build (should take ~30 min until the CI released it).

Thank you for the work !

But did you fixed this by setting all the tasks without an hour set by setting them all to 23h59 ? 😆 Because I've just migrated all my tasks from Todoist and noticed this.

Can't Vikunja set tasks with dates but not an hour set ? I almost never set an hour on tasks, only a day.

Thank you again for your time !

> Should be fixed with https://kolaente.dev/vikunja/api/commit/fd0d462bf4dd8225c67ba34958e5148f6167d264 - please test with the next unstable build (should take ~30 min until the CI released it). Thank you for the work ! But did you fixed this by setting all the tasks without an hour set by setting them all to 23h59 ? 😆 Because I've just migrated all my tasks from Todoist and noticed this. Can't Vikunja set tasks with dates but not an hour set ? I almost never set an hour on tasks, only a day. Thank you again for your time !
Owner

But did you fixed this by setting all the tasks without an hour set by setting them all to 23h59 ? 😆 Because I've just migrated all my tasks from Todoist and noticed this.

Can't Vikunja set tasks with dates but not an hour set ? I almost never set an hour on tasks, only a day.

That's correct. Vikunja can only handle dates with a time. I could've set it to 0:00 or 12:00 or any other time when importing, but it needs to have a time. I'd think if you set a due date to a certain day you usually mean "by the end of the day" so 23:50 seemed appropriate.

> But did you fixed this by setting all the tasks without an hour set by setting them all to 23h59 ? 😆 Because I've just migrated all my tasks from Todoist and noticed this. > Can't Vikunja set tasks with dates but not an hour set ? I almost never set an hour on tasks, only a day. That's correct. Vikunja can only handle dates with a time. I could've set it to 0:00 or 12:00 or any other time when importing, but it needs to have a time. I'd think if you set a due date to a certain day you usually mean "by the end of the day" so 23:50 seemed appropriate.
Author

I'm used to, in Todoist, when I want to set a task for a certain date but do not know when in that day I'll actually do the tasks I just set: New task for tomorrow

Its quick and I don't have to think about setting hours, in Vikunja I have to do: New task for tomorrow at 23:59 which creates more friction if I'm creating various tasks along the day for different days.

Just an opinion 😄

I'm used to, in Todoist, when I want to set a task for a certain date but do not know when in that day I'll actually do the tasks I just set: `New task for tomorrow` Its quick and I don't have to think about setting hours, in Vikunja I have to do: `New task for tomorrow at 23:59` which creates more friction if I'm creating various tasks along the day for different days. Just an opinion 😄
Member

I'd think if you set a due date to a certain day you usually mean "by the end of the day" so 23:50 seemed appropriate.

👋 Hello,

I think 23:50 seems be to late. Normally if I have something due on a day I want to do it before the day finishes. If the the date is set to 23:50 I have 10 minutes to finish my task 🤔

I think in Todoist they assign a default time (I think 9:00ish? ) so that you would be reminded when you plan your day so that you are able to finish the task.

> I'd think if you set a due date to a certain day you usually mean "by the end of the day" so 23:50 seemed appropriate. 👋 Hello, I think 23:50 seems be to late. Normally if I have something due on a day I want to do it before the day finishes. If the the date is set to 23:50 I have 10 minutes to finish my task 🤔 I think in Todoist they assign a default time (I think 9:00ish? ) so that you would be reminded when you plan your day so that you are able to finish the task.
Author

I'd think if you set a due date to a certain day you usually mean "by the end of the day" so 23:50 seemed appropriate.

👋 Hello,

I think 23:50 seems be to late. Normally if I have something due on a day I want to do it before the day finishes. If the the date is set to 23:50 I have 10 minutes to finish my task 🤔

I think in Todoist they assign a default time (I think 9:00ish? ) so that you would be reminded when you plan your day so that you are able to finish the task.

Hey @dpschen , actually in Todoist that's not the current behaviour. If you set a task without due date for a certain date you just get a tasks for that day without any hour set. If you want a reminder for that tasks then you have manually set a reminder (or recurring reminder) for it.
This goes back to the discussion about default reminders for tasks I've talked about --> If you set a tasks with due date that has a day and hour specified you should be reminded an amount of time (user-defined in the settings) before that tasks 😀

See bellow an example of some old tasks I have for my Today's Work filter (which filters all tasks projects I consider to be work, that are for today or overdue). In green I marked all tasks that I only set a day (or recurring day) but without any hour set.

> > I'd think if you set a due date to a certain day you usually mean "by the end of the day" so 23:50 seemed appropriate. > > 👋 Hello, > > I think 23:50 seems be to late. Normally if I have something due on a day I want to do it before the day finishes. If the the date is set to 23:50 I have 10 minutes to finish my task 🤔 > > I think in Todoist they assign a default time (I think 9:00ish? ) so that you would be reminded when you plan your day so that you are able to finish the task. Hey @dpschen , actually in Todoist that's not the current behaviour. If you set a task without due date for a certain date you just get a tasks for that day *without* any hour set. If you want a reminder for that tasks then you have manually set a reminder (or recurring reminder) for it. This goes back to the discussion about default reminders for tasks I've talked about --> If you set a tasks with due date that has a day **and** hour specified you *should* be reminded an amount of time (user-defined in the settings) before that tasks 😀 See bellow an example of some old tasks I have for my *Today's Work* filter (which filters all tasks projects I consider to be work, that are for today or overdue). In green I marked all tasks that I only set a day (or recurring day) but **without** any hour set. ![](https://kolaente.dev/attachments/ec33ac54-6ded-4bcc-a7d8-382d22946220)
Owner

There's some code that's primarily used to selecte the next "round" hour when you select a date in the due date setting for a task. Maybe we could use that to set the time when none was provided, only a date?

There's [some code](https://kolaente.dev/vikunja/frontend/src/branch/main/src/helpers/time/calculateNearestHours.ts) that's primarily used to selecte the next "round" hour when you select a date in the due date setting for a task. Maybe we could use that to set the time when none was provided, only a date?
Member

If you set a task without due date for a certain date you just get a tasks for that day without any hour set. If you want a reminder for that tasks then you have manually set a reminder (or recurring reminder) for it.

@bolgrov: You are correct =) So they "kind of" assign a default time, but it's dynamically and based on the user settings (talking here about Todoists automatic remindets).

@konrad:
So you mean changing that function in a way that it creates a date that has no hour and minute values set? And always when the frontend sees one of those we fall back to some kind of user defined hour for that reminder at that date?

> If you set a task without due date for a certain date you just get a tasks for that day without any hour set. If you want a reminder for that tasks then you have manually set a reminder (or recurring reminder) for it. @bolgrov: You are correct =) So they "kind of" assign a default time, but it's dynamically and based on the user settings (talking here about Todoists automatic remindets). @konrad: So you mean changing that function in a way that it creates a date that has no hour and minute values set? And always when the frontend sees one of those we fall back to some kind of user defined hour for that reminder at that date?
Member

@bolgrov:
Btw I love the way you used labels to group your tasks.
I always failed to have a good system for this :D

@bolgrov: Btw I love the way you used labels to group your tasks. I always failed to have a good system for this :D
Member

I think we should create a new issue for this topic.

There is also a topic in the community regarding this: https://community.vikunja.io/t/color-option-on-overdue-done-tomorow-tasks/508

I think we should create a new issue for this topic. There is also a topic in the community regarding this: https://community.vikunja.io/t/color-option-on-overdue-done-tomorow-tasks/508
Author

I think we should create a new issue for this topic.

There is also a topic in the community regarding this: https://community.vikunja.io/t/color-option-on-overdue-done-tomorow-tasks/508

I would be more than happy if you guys want a issue about this ! I just didn't made a new one because I do not want to always be nagging about new feature requests 😅

> I think we should create a new issue for this topic. > > There is also a topic in the community regarding this: https://community.vikunja.io/t/color-option-on-overdue-done-tomorow-tasks/508 I would be more than happy if you guys want a issue about this ! I just didn't made a new one because I do not want to always be nagging about new feature requests 😅
Author

@bolgrov:
Btw I love the way you used labels to group your tasks.
I always failed to have a good system for this :D

Thank you for compliment @dpschen !
I started to implement filters through a system of tasks to not be overwhelmed with tasks. I can share my various system with you or the community if people want to.
Matter of fact, one of the features I've been really wanting to ask @konrad but have refrained from (see previous comment) is separation of tasks by their tag name, as in my screenshot above.
In this way, tags work not only to make helpful filters, but at the same time reduce visual clutter by grouping tasks under each label !

> @bolgrov: > Btw I love the way you used labels to group your tasks. > I always failed to have a good system for this :D Thank you for compliment @dpschen ! I started to implement filters through a system of tasks to not be overwhelmed with tasks. I can share my various system with you or the community if people want to. Matter of fact, one of the features I've been really wanting to ask @konrad but have refrained from (see previous comment) is separation of tasks by their tag name, as in my screenshot above. In this way, tags work not only to make helpful filters, but at the same time reduce visual clutter by grouping tasks under each label !
Owner

So you mean changing that function in a way that it creates a date that has no hour and minute values set? And always when the frontend sees one of those we fall back to some kind of user defined hour for that reminder at that date?

hm that could probably work too, yes. I thought more about using that function when creating a task with a date and no time set.

> So you mean changing that function in a way that it creates a date that has no hour and minute values set? And always when the frontend sees one of those we fall back to some kind of user defined hour for that reminder at that date? hm that could probably work too, yes. I thought more about using that function when creating a task with a date and no time set.
Member

using that function when creating a task with a date and no time set.

And then doing what?

> using that function when creating a task with a date and no time set. And then doing what?
Owner

And then doing what?

Setting a time 🤔

So for example when creating a task "lorem ipsum tomorrow" it would create a task due tomorrow at the time specified by that function. Currently the quick add magic uses the current time if none was specified.

The datepicker dropdown for due dates and reminders already use it.

Accepting dates without a time and saving a default one would require quite a bit of effort on the api side to essentially separate the date and time from each other.

> And then doing what? Setting a time 🤔 So for example when creating a task "lorem ipsum tomorrow" it would create a task due tomorrow at the time specified by that function. Currently the quick add magic uses the current time if none was specified. The datepicker dropdown for due dates and reminders already use it. Accepting dates without a time and saving a default one would require quite a bit of effort on the api side to essentially separate the date and time from each other.
Member

Okay I understand now.

Accepting dates without a time and saving a default one would require quite a bit of effort on the api side to essentially separate the date and time from each other.

What I meant was that we define a date with a set time of 00:00 as "no time set" and by this as "due at some time that day". This would obviously abuse the duedate field a bit.

But on the plus side: as far as I can think we would be able to show these items in the frontend with few changes as a reminder with a time that can be user defined (and has some default time set, e.g. 8:00 in the morning).

I think this could solve the biggest problem with this issue, without creating too much work.

For the future we would still be open to create an extra field for no time set.
If we later add a field for "no time set" we can mark this field as true for items with a time of the due date of 00:00 and free this time from its "defined extra meaning".

Okay I understand now. > Accepting dates without a time and saving a default one would require quite a bit of effort on the api side to essentially separate the date and time from each other. What I meant was that we define a date with a set time of 00:00 as "no time set" and by this as "due at some time that day". This would obviously abuse the duedate field a bit. But on the plus side: as far as I can think we would be able to show these items in the frontend with few changes as a reminder with a time that can be user defined (and has some default time set, e.g. 8:00 in the morning). I think this could solve the biggest problem with this issue, without creating too much work. For the future we would still be open to create an extra field for no time set. If we later add a field for "no time set" we can mark this field as true for items with a time of the due date of 00:00 and free this time from its "defined extra meaning".
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#897
No description provided.