Pixelfed: Discover a tag fails if not logged in

Created on 8 Jan 2020  路  3Comments  路  Source: pixelfed/pixelfed

nginx version: nginx/1.14.0 (Ubuntu)
mariadb Ver 15.1 Distrib 10.4.11-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS
pixelfed 0.10.7 (dev)
Registration closed
2 Users only (admin and me)

Expected

When I go to https://pixelfed.de/discover/tags/art for example, without being logged in (I don't have an account) I can see the public pictures of this hashtag.

Observation

When I try to do the same on my instance (where also public pictures exist with the hashtag #art) I get a 403 error in the nginx logs when I'm not logged in. Pixelfed says "Sorry, this page isn't available." I tried it with all the other hashtags as well.

https://pixel.winklerfamilie.eu/discover/tags/art <- error
https://pixel.winklerfamilie.eu/p/efelon/77779699371216896 <- public post with #art

When I'm logged in I can see the hashtag discovery page.
I tried php artisan fix:hashtags which is not related if I understood it correctly.

Do I miss a setting or a config value somewhere? The nginx configuration is taken from contrib.

Thanks for your help in advance.

All 3 comments

@efelon You need to add INSTANCE_PUBLIC_HASHTAGS=true in .env then run php artisan config:cache

Because there is no documentation about this, it would be nice to have a place where all configuration options are listed.

As @memo-567 mentioned and not bother you here with trivial things, could I have found this information by myself (I know you are concentrating on documentation right now)?

I would propose to update the .env.example with all options (commented of course), or to create a .env.full for that purpose.

10.7 is now working great btw.
Thank you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

snarfed picture snarfed  路  4Comments

okpierre picture okpierre  路  4Comments

diogogithub picture diogogithub  路  3Comments

ansuz picture ansuz  路  6Comments

NFGman picture NFGman  路  5Comments