Migration - Todoist #1747

Closed
opened 2020-10-11 17:48:32 +00:00 by Rustymage · 12 comments

I have my .yml file setup and it takes me to Todoist to agree, but nothing imports. Could you check the config over for me please?

version: '3'

services:
  api:
    image: vikunja/api
    environment:
      VIKUNJA_DATABASE_HOST: 192.168.1.115:3307
      VIKUNJA_DATABASE_PASSWORD: PASSWORD
      VIKUNJA_DATABASE_TYPE: mysql
      VIKUNJA_DATABASE_USER: vikunja
      VIKUNJA_DATABASE_DATABASE: vikunja
      VIKUNJA_SERVICE_ENABLEREGISTRATION: 'true'
      VIKUNJA_SERVICE_ENABLELINKSHARING: 'true'
      VIKUNJA_SERVICE_ENABLETASKATTACHMENTS: 'true'
      VIKUNJA_SERVICE_TIMEZONE: GMT
      VIKUNJA_SERVICE_ENABLETASKCOMMENTS: 'true'
      VIKUNJA_MAILER_ENABLED: 'true'
      VIKUNJA_MAILER_HOST: smtp.gmail.com
      VIKUNJA_MAILER_SKIPTLSVERIFY: 'true'
      VIKUNJA_MAILER_PORT: 587
      VIKUNJA_MAILER_USERNAME: EMAIL
      VIKUNJA_MAILERPASSWORD: "PASSWORD"
      VIKUNJA_SERVICE_FRONTENDURL: "URL"
      VIKUNJA_FILES_BASEPATH: ./files
      VIKUNJA_MIGRATION_TODOIST_ENABLE: 'true'
      VIKUNJA_MIGRATION_TODOIST_CLIENTID: ID
      VIKUNJA_MIGRATION_TODOIST_CLIENTSECRET: SECRET
      VIKUNJA_MIGRATION_TODOIST_REDIRECTURL: https://URL/migration/todoist/m$
    volumes:
      - ./files:/app/vikunja/files
    restart: unless-stopped
  frontend:
    image: vikunja/frontend
    restart: unless-stopped
  proxy:
    image: nginx
    ports:
      - 80:80
    volumes:
      - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
    depends_on:
      - api
      - frontend
    restart: unless-stopped

I did try the redirect URL as the frontend URL but that didn't seem to work either. I wonder if my TODOIST app is incorrect?

I have my .yml file setup and it takes me to Todoist to agree, but nothing imports. Could you check the config over for me please? ``` version: '3' services: api: image: vikunja/api environment: VIKUNJA_DATABASE_HOST: 192.168.1.115:3307 VIKUNJA_DATABASE_PASSWORD: PASSWORD VIKUNJA_DATABASE_TYPE: mysql VIKUNJA_DATABASE_USER: vikunja VIKUNJA_DATABASE_DATABASE: vikunja VIKUNJA_SERVICE_ENABLEREGISTRATION: 'true' VIKUNJA_SERVICE_ENABLELINKSHARING: 'true' VIKUNJA_SERVICE_ENABLETASKATTACHMENTS: 'true' VIKUNJA_SERVICE_TIMEZONE: GMT VIKUNJA_SERVICE_ENABLETASKCOMMENTS: 'true' VIKUNJA_MAILER_ENABLED: 'true' VIKUNJA_MAILER_HOST: smtp.gmail.com VIKUNJA_MAILER_SKIPTLSVERIFY: 'true' VIKUNJA_MAILER_PORT: 587 VIKUNJA_MAILER_USERNAME: EMAIL VIKUNJA_MAILERPASSWORD: "PASSWORD" VIKUNJA_SERVICE_FRONTENDURL: "URL" VIKUNJA_FILES_BASEPATH: ./files VIKUNJA_MIGRATION_TODOIST_ENABLE: 'true' VIKUNJA_MIGRATION_TODOIST_CLIENTID: ID VIKUNJA_MIGRATION_TODOIST_CLIENTSECRET: SECRET VIKUNJA_MIGRATION_TODOIST_REDIRECTURL: https://URL/migration/todoist/m$ volumes: - ./files:/app/vikunja/files restart: unless-stopped frontend: image: vikunja/frontend restart: unless-stopped proxy: image: nginx ports: - 80:80 volumes: - ./nginx.conf:/etc/nginx/conf.d/default.conf:ro depends_on: - api - frontend restart: unless-stopped ``` I did try the redirect URL as the frontend URL but that didn't seem to work either. I wonder if my TODOIST app is incorrect?
Owner

As stated in the config docs:

Note that the vikunja frontend expects this to be /migrate/todoist

In your config you have set this to https://URL/migration/todoist/m$, try setting it to https://URL/migrate/todoist.

If you say "but nothing imports", what does that mean? Do you get any error message? Errors in the browser console? Errors from api requests? Errors in the vikunja api (with log level set to debug)?

As stated in [the config docs](https://vikunja.io/docs/config-options/): ``` Note that the vikunja frontend expects this to be /migrate/todoist ``` In your config you have set this to `https://URL/migration/todoist/m$`, try setting it to `https://URL/migrate/todoist`. If you say "but nothing imports", what does that mean? Do you get any error message? Errors in the browser console? Errors from api requests? Errors in the vikunja api (with log level set to `debug`)?
Author

Thanks - the URL was incorrect.

I now have a html 500 error:

2020-10-11T20:49:52.60322543Z: ERROR ▶ handler/Migrate 085 json: cannot unmarshal number 2628166524 into Go struct field item.items.id of type int

I'm not sure how to dig out any further errors to assist.

Thanks - the URL was incorrect. I now have a html 500 error: `2020-10-11T20:49:52.60322543Z: ERROR ▶ handler/Migrate 085 json: cannot unmarshal number 2628166524 into Go struct field item.items.id of type int` I'm not sure how to dig out any further errors to assist.
Owner

That looks like a bug to me. Could you enable debug logs and try again so I can narrow it down?

That looks like a bug to me. Could you enable debug logs and try again so I can narrow it down?
Author

I've only added this:

      VIKUNJA_LOG_PATH: ./files
      VIKUNJA_LOG_ENABLED: 'true'
      VIKUNJA_LOG_LEVEL: "DEBUG"

Let me know if you need further information, I feel this really doesn't help...

2020-10-11T21:32:14.575959483Z: WEB 	▶ XX.YY.ZZ.IP  GET 200 /api/v1/migration/todoist/status 22.168031ms - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36


2020-10-11T21:32:14.603805264Z: WEB 	▶ XX.YY.ZZ.IP  GET 200 /api/v1/migration/todoist/auth 692.082µs - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36


2020-10-11T21:32:14.638657281Z: WEB 	▶ XX.YY.ZZ.IP  GET 200 /api/v1/namespaces?is_archived=true&page=1 33.992957ms - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36


2020-10-11T21:32:14.825636667Z: WEB 	▶ XX.YY.ZZ.IP  GET 200 /api/v1/Anthony/avatar?size=50 278.224057ms - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36


2020-10-11T21:32:15.639340648Z: DEBUG	▶ todoist/Migrate 067 [Todoist Migration] Starting migration for user 1


2020-10-11T21:32:15.897090056Z: DEBUG	▶ todoist/Migrate 068 [Todoist Migration] Got user token for user 1


2020-10-11T21:32:15.897240108Z: DEBUG	▶ todoist/Migrate 069 [Todoist Migration] Getting todoist data for user 1


2020-10-11T21:32:16.334184177Z: ERROR	▶ handler/Migrate 06a json: cannot unmarshal number 2628166524 into Go struct field item.items.id of type int


2020-10-11T21:32:16.334434332Z: WEB 	▶ XX.YY.ZZ.IP  POST 500 /api/v1/migration/todoist/migrate 695.799985ms - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
I've only added this: ``` VIKUNJA_LOG_PATH: ./files VIKUNJA_LOG_ENABLED: 'true' VIKUNJA_LOG_LEVEL: "DEBUG" ``` Let me know if you need further information, I feel this really doesn't help... ``` 2020-10-11T21:32:14.575959483Z: WEB ▶ XX.YY.ZZ.IP GET 200 /api/v1/migration/todoist/status 22.168031ms - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 2020-10-11T21:32:14.603805264Z: WEB ▶ XX.YY.ZZ.IP GET 200 /api/v1/migration/todoist/auth 692.082µs - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 2020-10-11T21:32:14.638657281Z: WEB ▶ XX.YY.ZZ.IP GET 200 /api/v1/namespaces?is_archived=true&page=1 33.992957ms - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 2020-10-11T21:32:14.825636667Z: WEB ▶ XX.YY.ZZ.IP GET 200 /api/v1/Anthony/avatar?size=50 278.224057ms - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 2020-10-11T21:32:15.639340648Z: DEBUG ▶ todoist/Migrate 067 [Todoist Migration] Starting migration for user 1 2020-10-11T21:32:15.897090056Z: DEBUG ▶ todoist/Migrate 068 [Todoist Migration] Got user token for user 1 2020-10-11T21:32:15.897240108Z: DEBUG ▶ todoist/Migrate 069 [Todoist Migration] Getting todoist data for user 1 2020-10-11T21:32:16.334184177Z: ERROR ▶ handler/Migrate 06a json: cannot unmarshal number 2628166524 into Go struct field item.items.id of type int 2020-10-11T21:32:16.334434332Z: WEB ▶ XX.YY.ZZ.IP POST 500 /api/v1/migration/todoist/migrate 695.799985ms - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 ```
Owner

I think it helps: I've just pushed a possible fix in e26df26f78

Could you try the latest master build in about an hour, once the ci passed and released it?

I think it helps: I've just pushed a possible fix in https://kolaente.dev/vikunja/api/commit/e26df26f78c7e2d92fafcd8b903ebbca1700bbd8 Could you try the latest master build in about an hour, once the ci passed and released it?
konrad added the
kind/bug
label 2020-10-12 06:10:09 +00:00
Author
2020-10-12T11:14:15.006660807Z: DEBUG	▶ todoist/Migrate 06b [Todoist Migration] Starting migration for user 1


2020-10-12T11:14:15.247193208Z: DEBUG	▶ todoist/Migrate 06c [Todoist Migration] Got user token for user 1


2020-10-12T11:14:15.247440135Z: DEBUG	▶ todoist/Migrate 06d [Todoist Migration] Getting todoist data for user 1


2020-10-12T11:14:17.20962639Z: DEBUG	▶ todoist/Migrate 06e [Todoist Migration] Got all todoist user data for user 1


2020-10-12T11:14:17.209898317Z: DEBUG	▶ todoist/Migrate 06f [Todoist Migration] Start converting data for user 1


2020-10-12T11:14:17.213964505Z: - 	▶ echo recover.go:92 [PANIC RECOVER] runtime error: invalid memory address or nil pointer dereference goroutine 63 [running]:


github.com/labstack/echo/v4/middleware.RecoverWithConfig.func1.1.1(0xd15bf4, 0x1000, 0x0, 0xe23410, 0x28c2720)


	/go/pkg/mod/github.com/labstack/echo/v4@v4.1.17/middleware/recover.go:77 +0xa8


panic(0xaeb318, 0x13b8900)


	/usr/local/go/src/runtime/panic.go:969 +0x118


code.vikunja.io/api/pkg/modules/migration/todoist.convertTodoistToVikunja(0x2cfca50, 0x0, 0x0, 0x0, 0x0, 0x0)


	/go/src/code.vikunja.io/api/pkg/modules/migration/todoist/todoist.go:313 +0xc64


code.vikunja.io/api/pkg/modules/migration/todoist.(*Migration).Migrate(0x2e2e2a0, 0x293be00, 0x0, 0x0)


	/go/src/code.vikunja.io/api/pkg/modules/migration/todoist/todoist.go:490 +0x648


code.vikunja.io/api/pkg/modules/migration/handler.(*MigrationWeb).Migrate(0x2b3e9e8, 0xe23410, 0x28c2720, 0xd16d44, 0x28c2760)


	/go/src/code.vikunja.io/api/pkg/modules/migration/handler/handler.go:70 +0x1f0


github.com/labstack/echo/v4/middleware.JWTWithConfig.func2.1(0xe23410, 0x28c2720, 0x1, 0x1)


	/go/pkg/mod/github.com/labstack/echo/v4@v4.1.17/middleware/jwt.go:207 +0x2c0


github.com/labstack/echo/v4.(*Echo).add.func1(0xe23410, 0x28c2720, 0xbd1d01, 0x1b)


	/go/pkg/mod/github.com/labstack/echo/v4@v4.1.17/echo.go:522 +0x50


github.com/labstack/echo/v4/middleware.CORSWithConfig.func1.1(0xe23410, 0x28c2720, 0x5f843a00, 0x0)


	/go/pkg/mod/github.com/labstack/echo/v4@v4.1.17/middleware/cors.go:121 +0x380


github.com/labstack/echo/v4/middleware.RecoverWithConfig.func1.1(0xe23410, 0x28c2720, 0x0, 0x0)


	/go/pkg/mod/github.com/labstack/echo/v4@v4.1.17/middleware/recover.go:98 +0xec


github.com/labstack/echo/v4/middleware.LoggerWithConfig.func2.1(0xe23410, 0x28c2720, 0x0, 0x0)


	/go/pkg/mod/github.com/labstack/echo/v4@v4.1.17/middleware/logger.go:117 +0xd4


github.com/labstack/echo/v4.(*Echo).ServeHTTP(0x2beeea0, 0xe18f48, 0x2e0e6e0, 0x293bd80)


	/go/pkg/mod/github.com/labstack/echo/v4@v4.1.17/echo.go:633 +0x134


net/http.serverHandler.ServeHTTP(0x2ac42d0, 0xe18f48, 0x2e0e6e0, 0x293bd80)


	/usr/local/go/src/net/http/server.go:2843 +0x88


net/http.(*conn).serve(0x28dc300, 0xe1a568, 0x2e28e00)


	/usr/local/go/src/net/http/server.go:1925 +0x7d0


created by net/http.(*Server).Serve


	/usr/local/go/src/net/http/server.go:2969 +0x2d0




goroutine 1 [chan receive, 5 minutes]:


code.vikunja.io/api/pkg/cmd.glob..func2(0x13c1548, 0x14587cc, 0x0, 0x0)


	/go/src/code.vikunja.io/api/pkg/cmd/web.go:66 +0x194


github.com/spf13/cobra.(*Command).execute(0x13c1548, 0x29120f0, 0x0, 0x0, 0x13c1548, 0x29120f0)


	/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:846 +0x1e8


github.com/spf13/cobra.(*Command).ExecuteC(0x13c1548, 0x2902030, 0x0, 0x1)


	/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950 +0x274


github.com/spf13/cobra.(*Command).Execute(...)


	/go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887


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 34 [select, 5 minutes]:


database/sql.(*DB).connectionOpener(0x2ac4240, 0xe1a568, 0x2b9cac0)


	/usr/local/go/src/database/sql/sql.go:1126 +0xa4


created by database/sql.OpenDB


	/usr/local/go/src/database/sql/sql.go:740 +0xf4




goroutine 88 [select]:


github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher.func1(0x292cb80, 0x2e0e320, 0x2903600)


	/go/pkg/mod/github.com/go-sql-driver/mysql@v1.5.0/connection.go:621 +0x88


created by github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher


	/go/pkg/mod/github.com/go-sql-driver/mysql@v1.5.0/connection.go:618 +0x9c




goroutine 37 [select]:


code.vikunja.io/api/pkg/mail.StartMailDaemon.func1()


	/go/src/code.vikunja.io/api/pkg/mail/mail.go:62 +0x100


created by code.vikunja.io/api/pkg/mail.StartMailDaemon


	/go/src/code.vikunja.io/api/pkg/mail/mail.go:55 +0x12c




goroutine 38 [IO wait]:


internal/poll.runtime_pollWait(0x66bd9a04, 0x72, 0x0)


	/usr/local/go/src/runtime/netpoll.go:220 +0x44


internal/poll.(*pollDesc).wait(0x2ca8064, 0x72, 0x0, 0x0, 0xbb5b75)


	/usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x30


internal/poll.(*pollDesc).waitRead(...)


	/usr/local/go/src/internal/poll/fd_poll_runtime.go:92


internal/poll.




2020-10-12T11:14:17.214206692Z: WEB 	▶ XX.YY.ZZ.IP  POST 500 /api/v1/migration/todoist/migrate 2.20818104s - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
``` 2020-10-12T11:14:15.006660807Z: DEBUG ▶ todoist/Migrate 06b [Todoist Migration] Starting migration for user 1 2020-10-12T11:14:15.247193208Z: DEBUG ▶ todoist/Migrate 06c [Todoist Migration] Got user token for user 1 2020-10-12T11:14:15.247440135Z: DEBUG ▶ todoist/Migrate 06d [Todoist Migration] Getting todoist data for user 1 2020-10-12T11:14:17.20962639Z: DEBUG ▶ todoist/Migrate 06e [Todoist Migration] Got all todoist user data for user 1 2020-10-12T11:14:17.209898317Z: DEBUG ▶ todoist/Migrate 06f [Todoist Migration] Start converting data for user 1 2020-10-12T11:14:17.213964505Z: - ▶ echo recover.go:92 [PANIC RECOVER] runtime error: invalid memory address or nil pointer dereference goroutine 63 [running]: github.com/labstack/echo/v4/middleware.RecoverWithConfig.func1.1.1(0xd15bf4, 0x1000, 0x0, 0xe23410, 0x28c2720) /go/pkg/mod/github.com/labstack/echo/v4@v4.1.17/middleware/recover.go:77 +0xa8 panic(0xaeb318, 0x13b8900) /usr/local/go/src/runtime/panic.go:969 +0x118 code.vikunja.io/api/pkg/modules/migration/todoist.convertTodoistToVikunja(0x2cfca50, 0x0, 0x0, 0x0, 0x0, 0x0) /go/src/code.vikunja.io/api/pkg/modules/migration/todoist/todoist.go:313 +0xc64 code.vikunja.io/api/pkg/modules/migration/todoist.(*Migration).Migrate(0x2e2e2a0, 0x293be00, 0x0, 0x0) /go/src/code.vikunja.io/api/pkg/modules/migration/todoist/todoist.go:490 +0x648 code.vikunja.io/api/pkg/modules/migration/handler.(*MigrationWeb).Migrate(0x2b3e9e8, 0xe23410, 0x28c2720, 0xd16d44, 0x28c2760) /go/src/code.vikunja.io/api/pkg/modules/migration/handler/handler.go:70 +0x1f0 github.com/labstack/echo/v4/middleware.JWTWithConfig.func2.1(0xe23410, 0x28c2720, 0x1, 0x1) /go/pkg/mod/github.com/labstack/echo/v4@v4.1.17/middleware/jwt.go:207 +0x2c0 github.com/labstack/echo/v4.(*Echo).add.func1(0xe23410, 0x28c2720, 0xbd1d01, 0x1b) /go/pkg/mod/github.com/labstack/echo/v4@v4.1.17/echo.go:522 +0x50 github.com/labstack/echo/v4/middleware.CORSWithConfig.func1.1(0xe23410, 0x28c2720, 0x5f843a00, 0x0) /go/pkg/mod/github.com/labstack/echo/v4@v4.1.17/middleware/cors.go:121 +0x380 github.com/labstack/echo/v4/middleware.RecoverWithConfig.func1.1(0xe23410, 0x28c2720, 0x0, 0x0) /go/pkg/mod/github.com/labstack/echo/v4@v4.1.17/middleware/recover.go:98 +0xec github.com/labstack/echo/v4/middleware.LoggerWithConfig.func2.1(0xe23410, 0x28c2720, 0x0, 0x0) /go/pkg/mod/github.com/labstack/echo/v4@v4.1.17/middleware/logger.go:117 +0xd4 github.com/labstack/echo/v4.(*Echo).ServeHTTP(0x2beeea0, 0xe18f48, 0x2e0e6e0, 0x293bd80) /go/pkg/mod/github.com/labstack/echo/v4@v4.1.17/echo.go:633 +0x134 net/http.serverHandler.ServeHTTP(0x2ac42d0, 0xe18f48, 0x2e0e6e0, 0x293bd80) /usr/local/go/src/net/http/server.go:2843 +0x88 net/http.(*conn).serve(0x28dc300, 0xe1a568, 0x2e28e00) /usr/local/go/src/net/http/server.go:1925 +0x7d0 created by net/http.(*Server).Serve /usr/local/go/src/net/http/server.go:2969 +0x2d0 goroutine 1 [chan receive, 5 minutes]: code.vikunja.io/api/pkg/cmd.glob..func2(0x13c1548, 0x14587cc, 0x0, 0x0) /go/src/code.vikunja.io/api/pkg/cmd/web.go:66 +0x194 github.com/spf13/cobra.(*Command).execute(0x13c1548, 0x29120f0, 0x0, 0x0, 0x13c1548, 0x29120f0) /go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:846 +0x1e8 github.com/spf13/cobra.(*Command).ExecuteC(0x13c1548, 0x2902030, 0x0, 0x1) /go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:950 +0x274 github.com/spf13/cobra.(*Command).Execute(...) /go/pkg/mod/github.com/spf13/cobra@v1.0.0/command.go:887 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 34 [select, 5 minutes]: database/sql.(*DB).connectionOpener(0x2ac4240, 0xe1a568, 0x2b9cac0) /usr/local/go/src/database/sql/sql.go:1126 +0xa4 created by database/sql.OpenDB /usr/local/go/src/database/sql/sql.go:740 +0xf4 goroutine 88 [select]: github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher.func1(0x292cb80, 0x2e0e320, 0x2903600) /go/pkg/mod/github.com/go-sql-driver/mysql@v1.5.0/connection.go:621 +0x88 created by github.com/go-sql-driver/mysql.(*mysqlConn).startWatcher /go/pkg/mod/github.com/go-sql-driver/mysql@v1.5.0/connection.go:618 +0x9c goroutine 37 [select]: code.vikunja.io/api/pkg/mail.StartMailDaemon.func1() /go/src/code.vikunja.io/api/pkg/mail/mail.go:62 +0x100 created by code.vikunja.io/api/pkg/mail.StartMailDaemon /go/src/code.vikunja.io/api/pkg/mail/mail.go:55 +0x12c goroutine 38 [IO wait]: internal/poll.runtime_pollWait(0x66bd9a04, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:220 +0x44 internal/poll.(*pollDesc).wait(0x2ca8064, 0x72, 0x0, 0x0, 0xbb5b75) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x30 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll. 2020-10-12T11:14:17.214206692Z: WEB ▶ XX.YY.ZZ.IP POST 500 /api/v1/migration/todoist/migrate 2.20818104s - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36 ```
Owner

New try, new push: 38b5c7fb6c (hopefully) fixes the bug you're reporting here, a release should be ready (again) in something like 30min - please test again once it is ready.

New try, new push: https://kolaente.dev/vikunja/api/commit/38b5c7fb6cc639240eda1575ebab1128030bd2e5 (hopefully) fixes the bug you're reporting here, a release should be ready (again) in something like 30min - please test again once it is ready.
Author

It hasn't come through so I'll check tomorrow.

It hasn't come through so I'll check tomorrow.
Owner

Check again with 9252225d7f (again, should take around 30min until a release is ready)

Check again with https://kolaente.dev/vikunja/api/commit/9252225d7f011d68feafecbc2d6199210ba51580 (again, should take around 30min until a release is ready)
Author

Genius!

Worked and imported with no noticeable issues.

Thanks 👍

Genius! Worked and imported with no noticeable issues. Thanks 👍
Owner

Glad it works now!

Could you verify all tasks were transferred correctly? Especially the sub tasks since that was where the bug occured.

Glad it works now! Could you verify all tasks were transferred correctly? Especially the sub tasks since that was where the bug occured.
Author

Glad it works now!

Could you verify all tasks were transferred correctly? Especially the sub tasks since that was where the bug occured.

From what I saw - before I locked myself out, new issue btw - they had all transferred correctly.

I really appreciate the fast responses and quick updates 👍

> Glad it works now! > > Could you verify all tasks were transferred correctly? Especially the sub tasks since that was where the bug occured. From what I saw - before I locked myself out, new issue btw - they had all transferred correctly. I really appreciate the fast responses and quick updates 👍
Sign in to join this conversation.
No Milestone
No Assignees
2 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#1747
No description provided.