Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load stories, try again later. #2904

Closed
jk-na opened this issue Sep 4, 2021 · 6 comments
Closed

Cannot load stories, try again later. #2904

jk-na opened this issue Sep 4, 2021 · 6 comments

Comments

@jk-na
Copy link

jk-na commented Sep 4, 2021

After updating my instance to the latest post-stories 2.0 commits (including fixes) - I see the following dialogue box when I refresh the home or network pages:

Screenshot_2021-09-04_15-04-32

When I go to the new Stories link from the admin page, I receive the following error:

Screenshot_2021-09-04_15-05-48

=======================
Instance Diagnostic

APP_URL: https://px.nipponalba.scot
APP_DOMAIN: px.nipponalba.scot
Version: 0.11.0
PHP: 7.3.29-1~deb10u1
PHP-bcmath: Installed
PHP-ctype: Installed
PHP-curl: Installed
PHP-intl: Installed
PHP-json: Installed
PHP-mbstring: Installed
PHP-openssl: Installed
PHP-redis: Installed
Database: pgsql (12.8)
Bootstrap: Writable
Storage: Writable
========= END =========

I have run the migrations, cached both config and routes and tried clearing the cache as well.

I appear to be able to post a story and a red ring appears around my profile picture but I don't get a story div at the top of the page and get the error above.

@jk-na
Copy link
Author

jk-na commented Sep 4, 2021

It seems like the div or section initially renders the border but only momentarily, avatars appear (though they wouldn't anyway as I'm still awaiting documentation on how to move from local to S3 bucket to enable them 😉 ) then the error appears and the story bar vanishes.

@jk-na
Copy link
Author

jk-na commented Sep 4, 2021

I see the following via firefox browser console:

error	"SQLSTATE[42803]: Grouping error: 7 ERROR: column \"stories.id\" must appear in the GROUP BY clause or be used in an aggregate function\nLINE 1: select \"stories\".*, \"followers\".\"following_id\" from \"stories...\n ^ (SQL: select \"stories\".*, \"followers\".\"following_id\" from \"stories\" left join \"followers\" on \"followers\".\"following_id\" = \"stories\".\"profile_id\" where \"followers\".\"profile_id\" = 1 and \"stories\".\"active\" = 1 group by \"followers\".\"following_id\" order by \"id\" desc)"

.. another postgresql issue on a new feature?

@xundeenergie
Copy link

it still exists on a postgresql-based instance

@dansup dansup closed this as completed in 00c3236 Sep 8, 2021
@dansup
Copy link
Member

dansup commented Sep 8, 2021

@jk-na @xundeenergie It's been fixed in 00c3236, let me know if you encounter any more issues!

@jk-na
Copy link
Author

jk-na commented Sep 8, 2021

can confirm, it seems to be working now, thanks.

@xundeenergie
Copy link

Seems it's gone.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants