pixelfed / support

Issue tracker for installations of Pixelfed, before a bug is identified.
https://docs.pixelfed.org/running-pixelfed/troubleshooting.html
8 stars 3 forks source link

Negative ids make the posts unsharable and undeletable #111

Open kmorinCL opened 4 years ago

kmorinCL commented 4 years ago

I set up my own instance of Pixelfed with Yunohost, and when I create posts, sometimes the new posts have a negative ID (eg https://photos.ironcloud.rocks/p/kvnmrn/-498987008) and when I want to share them or delete them, I get a 422 error with the message "item doit être au moins 1." (item must be at least 1).

kmorinCL commented 4 years ago

I am using a Postgres database. I checked the id column of the statuses column, and it is a bigint, so it can be < 1.

dansup commented 4 years ago

Are you running 64bit PHP ?

kmorinCL commented 4 years ago

Here is the output of php --version :

PHP 7.3.19-1~deb10u1 (cli) (built: Jul  5 2020 06:46:45) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.19, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.19-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies
kmorinCL commented 4 years ago

I am running Pixelfed on a Raspberry Pi 4

kmorinCL commented 3 years ago

@dansup Do you have a clue where it could come from?