Plume-org / Plume

Federated blogging application, thanks to ActivityPub (now on https://git.joinplu.me/ — this is just a mirror)

Home Page:https://joinplu.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problems (CSRF, no Styles) with binary install of latest Plume release

pwFoo opened this issue · comments

commented

Hi,

I downloaded the binaries, configured .env file:

DATABASE_URL=/opt/plume/plume.db
ROCKET_PORT=7878
ROCKET_ADDRESS=192.168.178.26
BASE_URL=192.168.178.26:7878
ROCKET_SECRET_KEY=<GENERATED_KEY>

Initialized instance

./plm migration run
./plm search init
./plm instance new 
./plm users new -n 'admin' -N 'name' -b 'bio' -e 'admin@domain.name' -p 'pass' --admin

Now login works fine, but each form post (admin area, ) fails.

Ungültiges CSRF-Token
Irgendetwas stimmt mit deinem CSRF token nicht. Vergewissere dich, dass Cookies in deinem Browser aktiviert sind und versuche diese Seite neu zu laden. Bitte melde diesen Fehler, falls er erneut auftritt.

Ungültiges CSRF-Token

Site is unstyled?
image

I'm not sure why style is missing, but the CSRF token error is usually caused by using http instead of https

commented

Thanks. I'll deploy a https instance for testing.

commented

I think it was dependent to my installation. So I close that issue for now.