Open
Description
Steps to reproduce the behavior
- Have an active session on personal server
- With the session open, drop the database with tables
- Restart systemctl focalboard.service
- Observe the log errors:
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.691 Z] API DEBUG caller="api/api.go:4113" code=401 error="unable to get the session for the token: sql: no rows in result set" msg= api=/api/v2/teams/0/boards
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.691 Z] attachSession caller="api/auth.go:459" single_user=false
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.693 Z] API DEBUG caller="api/api.go:4113" code=401 error="unable to get the session for the token: sql: no rows in result set" msg= api=/api/v2/teams/0/boards
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.693 Z] attachSession caller="api/auth.go:459" single_user=false
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.695 Z] API DEBUG caller="api/api.go:4113" code=401 error="unable to get the session for the token: sql: no rows in result set" msg= api=/api/v2/teams/0/boards
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.794 Z] attachSession caller="api/auth.go:459" single_user=false
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.795 Z] API DEBUG caller="api/api.go:4113" code=401 error="unable to get the session for the token: sql: no rows in result set" msg= api=/api/v2/teams/0/boards
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.821 Z] attachSession caller="api/auth.go:459" single_user=false
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.823 Z] attachSession caller="api/auth.go:459" single_user=false
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.823 Z] API DEBUG caller="api/api.go:4113" code=401 error="unable to get the session for the token: sql: no rows in result set" msg= api=/api/v2/teams/0/boards
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.825 Z] API DEBUG caller="api/api.go:4113" code=401 error="unable to get the session for the token: sql: no rows in result set" msg= api=/api/v2/teams/0/boards
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.834 Z] attachSession caller="api/auth.go:459" single_user=false
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.835 Z] API DEBUG caller="api/api.go:4113" code=401 error="unable to get the session for the token: sql: no rows in result set" msg= api=/api/v2/teams/0/boards
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.839 Z] attachSession caller="api/auth.go:459" single_user=false
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.840 Z] API DEBUG caller="api/api.go:4113" code=401 error="unable to get the session for the token: sql: no rows in result set" msg= api=/api/v2/teams/0/boards
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.937 Z] attachSession caller="api/auth.go:459" single_user=false
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.938 Z] API DEBUG caller="api/api.go:4113" code=401 error="unable to get the session for the token: sql: no rows in result set" msg= api=/api/v2/teams/0/boards
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.959 Z] attachSession caller="api/auth.go:459" single_user=false
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.960 Z] API DEBUG caller="api/api.go:4113" code=401 error="unable to get the session for the token: sql: no rows in result set" msg= api=/api/v2/teams/0/boards
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.961 Z] attachSession caller="api/auth.go:459" single_user=false
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.962 Z] API DEBUG caller="api/api.go:4113" code=401 error="unable to get the session for the token: sql: no rows in result set" msg= api=/api/v2/teams/0/boards
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.979 Z] attachSession caller="api/auth.go:459" single_user=false
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.980 Z] API DEBUG caller="api/api.go:4113" code=401 error="unable to get the session for the token: sql: no rows in result set" msg= api=/api/v2/teams/0/boards
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.995 Z] attachSession caller="api/auth.go:459" single_user=false
Apr 20 18:47:31 ip-172-25-53-236 focalboard-server[2510471]: debug [2022-04-20 18:47:31.997 Z] API DEBUG caller="api/api.go:4113" code=401 error="unable to get the session for the token: sql: no rows in result set" msg= api=/api/v2/teams/0/boards
Edition and Platform
- Edition: Personal Server
- Version: v0.16.0
- Browser and OS: Chrome on Windows