Crash on startup with selfoss 2.18 #61

Closed
opened 2022-09-24 14:04:43 +00:00 by Mylloon · 9 comments

Prerequisites

  • Are you running the latest version?
  • Did you check for an existing issue ?
  • Are you reporting to the correct repository?
  • Did you perform a cursory search?
  • Did you read the CONTRIBUTING guide ?

Description

As soon as I connect the app to my instance, the app crash

Steps to Reproduce

  1. Connect to an instance

Expected behavior: The app should not crash

Actual behavior: The app crash

Logs

I retrieved the logs with adb

Device

  • Xiaomi Mi Note 10 Lite
  • Not rooted, Android 12, MIUI 13.0.2
  • 122092572-github

It was working fine (and still works) with the previous version (the one on github)

### Prerequisites * [x] Are you running the latest version? * [x] Did you check for an existing issue ? * [x] Are you reporting to the correct repository? * [x] Did you perform a cursory search? * [x] Did you read the `CONTRIBUTING` guide ? ### Description As soon as I connect the app to my instance, the app crash ### Steps to Reproduce 1. Connect to an instance **Expected behavior:** The app should not crash **Actual behavior:** The app crash ### Logs I retrieved the logs with adb ### Device - Xiaomi Mi Note 10 Lite - Not rooted, Android 12, MIUI 13.0.2 - 122092572-github --- It was working fine (and still works) with the previous version (the one on github)
170 KiB
Contributor

Strange, your selfoss instance returns a response that doesn't conform with the api documentation (https://app.swaggerhub.com/apis/jtojnar/selfoss/2.18-SNAPSHOT#/Items/getItems)
What version of selfoss are you running?
What is the version of the api?
You can get the version of the api by adding /api/about at the end of the url of your selfoss instance.

Strange, your selfoss instance returns a response that doesn't conform with the api documentation (https://app.swaggerhub.com/apis/jtojnar/selfoss/2.18-SNAPSHOT#/Items/getItems) What version of selfoss are you running? What is the version of the api? You can get the version of the api by adding /api/about at the end of the url of your selfoss instance.
Author

I am using selfoss 2.18 with https://gitlab.com/radek-sprta/docker-selfoss

I have an error when I want to fetch the api version
image

I am using selfoss 2.18 with https://gitlab.com/radek-sprta/docker-selfoss I have an error when I want to fetch the api version ![image](/attachments/21396447-0a44-4723-a6cb-c69b0501f231)
8.1 KiB
Owner

This seems to be an issue with the selfoss instance you are using. You should check the logs of your docker container to fix this.

This seems to be an issue with the selfoss instance you are using. You should check the logs of your docker container to fix this.
AmineL added the
Status = Can't fix
label 2022-09-24 15:18:52 +00:00
Owner

@Mylloon if the docker image does not need much of configuration, i´ll try to reproduce the issue.

@Mylloon if the docker image does not need much of configuration, i´ll try to reproduce the issue.
Contributor

I have an error when I want to fetch the api version

This is normal, don't worry about it.
Version 2.18 doesn't provide an api version.

> I have an error when I want to fetch the api version This is normal, don't worry about it. Version 2.18 doesn't provide an api version.
Author

if the docker image does not need much of configuration, i´ll try to reproduce the issue.

I tried with a blank instance with docker and I have the same issue

> if the docker image does not need much of configuration, i´ll try to reproduce the issue. I tried with a blank instance with docker and I have the same issue
AmineL added
Priority = CRITICAL
Type = Bug
Type = SELFOSS API ISSUE
and removed
Status = Can't fix
labels 2022-09-24 18:28:15 +00:00
AmineL added this to the Bugfixes milestone 2022-09-24 18:28:18 +00:00
AmineL added this to the Dev project 2022-09-24 18:28:21 +00:00
AmineL self-assigned this 2022-09-24 18:28:25 +00:00
AmineL changed title from Crash on startup to Crash on startup with selfoss 2.18 2022-09-24 18:28:37 +00:00
Owner

@Mylloon I couldn't use the image you were using, but I managed to make the app crash with another one using the 2.18 selfoss version. I'll fix this.

@Mylloon I couldn't use the image you were using, but I managed to make the app crash with another one using the 2.18 selfoss version. I'll fix this.
Owner

This is fixed. In a few minutes the configuration will change so that f-droid can build it (whenever they want) and make it available on there.

A new release will be automatically created, and there will be a usable APK linked to it.

@Mylloon you can use this apk if you don't want to wait. You'll have to uninstall the app or you won't be able to install the release APK, and if you want to go back to the f-droid version once it available there, you'll have to uninstall it again.

This is fixed. In a few minutes the configuration will change so that f-droid can build it (whenever they want) and make it available on there. A new release will be automatically created, and there will be a usable APK linked to it. @Mylloon you can use this apk if you don't want to wait. You'll have to uninstall the app or you won't be able to install the release APK, and if you want to go back to the f-droid version once it available there, you'll have to uninstall it again.
Owner
[Download the apk from here.](https://gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform/releases/tag/v122092671)
Sign in to join this conversation.
No Milestone
No project
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: Louvorg/ReaderForSelfoss-multiplatform#61
No description provided.