Frontend App Error: You must provide a project view ID when sorting by position #2270

Closed
opened 2024-04-12 02:47:00 +00:00 by Raymi306 · 5 comments
Contributor

Description

Hello, I have been hosting a vikunja server for some time on an Ubuntu VPS and I recently migrated it to an OpenBSD VPS.
I do not host the frontend, instead, I and my partner download the Windows frontend and use that to interact with Vikunja.

From my partner who originally noticed the issue (I can repeat the problem on my computer):

i can see my projects listed but when i click on them to view tasks it throws an errror that says i need to specify an ID
and there are no tasks listed under the projects themselves
weirdly enough i can see them from the dashboard view

image

I had them test things on both the old and new setup, and their frontend worked fine with the Ubuntu server but not the OpenBSD. I had them reinstall the frontend app to get the newest version as well with no change. They decided to delete most of their projects in the hope that recreating them would fix things, but this has no effect (I backed up the db before).

I checked the logs and the server error is very similar, it is complaining about the missing project view ID:

2024-04-11T22:42:21.780520843-04:00: ERROR      ▶ handler/ReadAllWeb 358 You must provide a project view ID when sorting by position
---
2024-04-11T22:42:23.716856881-04:00: WEB        ▶ x.x.x.x  GET 200 /api/v1/tasks/all?sort_by[]=due_date&sort_by[]=id&order_by[]=asc&order_by[]=desc&filter_by[]=done&filter_value[]=false&filter_comparator[]=equals&filter_concat=and&filter_include_nulls=false&page=1 5.986082ms - Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) vikunja-desktop/v0.23.0 Chrome/120.0.6099.276 Electron/28.2.2 Safari/537.36

Vikunja Version

Version: v0.23.0+466-d082c0399d

Browser and version

Desktop v23

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

### Description Hello, I have been hosting a vikunja server for some time on an Ubuntu VPS and I recently migrated it to an OpenBSD VPS. I do not host the frontend, instead, I and my partner download the Windows frontend and use that to interact with Vikunja. From my partner who originally noticed the issue (I can repeat the problem on my computer): > i can see my projects listed but when i click on them to view tasks it throws an errror that says i need to specify an ID and there are no tasks listed under the projects themselves weirdly enough i can see them from the dashboard view ![image](/attachments/25dcf738-1f9f-4fba-8aa4-63ab043f0469) I had them test things on both the old and new setup, and their frontend worked fine with the Ubuntu server but not the OpenBSD. I had them reinstall the frontend app to get the newest version as well with no change. They decided to delete most of their projects in the hope that recreating them would fix things, but this has no effect (I backed up the db before). I checked the logs and the server error is very similar, it is complaining about the missing project view ID: ``` 2024-04-11T22:42:21.780520843-04:00: ERROR ▶ handler/ReadAllWeb 358 You must provide a project view ID when sorting by position --- 2024-04-11T22:42:23.716856881-04:00: WEB ▶ x.x.x.x GET 200 /api/v1/tasks/all?sort_by[]=due_date&sort_by[]=id&order_by[]=asc&order_by[]=desc&filter_by[]=done&filter_value[]=false&filter_comparator[]=equals&filter_concat=and&filter_include_nulls=false&page=1 5.986082ms - Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) vikunja-desktop/v0.23.0 Chrome/120.0.6099.276 Electron/28.2.2 Safari/537.36 ``` ### Vikunja Version Version: v0.23.0+466-d082c0399d ### Browser and version Desktop v23 ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
8.3 KiB
Raymi306 added the
kind/bug
label 2024-04-12 02:47:00 +00:00
Author
Contributor

I am going to rebuild with v0.22.1 and see if that helps, will report back here.

I am going to rebuild with v0.22.1 and see if that helps, will report back here.
Author
Contributor

Installed v0.22.1 tagged release on server and downloaded corresponding Desktop app and all seems fine now.

Installed v0.22.1 tagged release on server and downloaded corresponding Desktop app and all seems fine now.
Owner

It looks like you're using an unstable build of Vikunja with the last stable desktop release. That will never work. If you're using an unstable build of Vikunja, you need to use the unstable desktop build as well.

The error message corresponds to a new feature which was recently introduced but has not landed yet in a release (hence, it is only available in unstable builds).

It looks like you're using an unstable build of Vikunja with the last stable desktop release. That will never work. If you're using an unstable build of Vikunja, you need to use the [unstable desktop build](https://dl.vikunja.io/desktop/unstable) as well. The error message corresponds to a new feature which was recently introduced but has not landed yet in a release (hence, it is only available in unstable builds).
Author
Contributor

oh no...that wasn't my intent and I feel kind of silly!
Sorry about the long issue write up, I will close it.
A reminder to checkout a tagged release might be helpful, neither https://vikunja.io/docs/installing/#freebsd--freenas nor https://vikunja.io/docs/build-from-sources/ mention this

oh no...that wasn't my intent and I feel kind of silly! Sorry about the long issue write up, I will close it. A reminder to checkout a tagged release *might* be helpful, neither https://vikunja.io/docs/installing/#freebsd--freenas nor https://vikunja.io/docs/build-from-sources/ mention this
Owner

Thanks for the pointer! I've updated the docs accordingly (might take a while to show up on the website)

Thanks for the pointer! I've updated the docs accordingly (might take a while to show up on the website)
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#2270
No description provided.