lab icon indicating copy to clipboard operation
lab copied to clipboard

Guide for Kutt.it Shortener

Open tobimori opened this issue 4 years ago • 4 comments

Tried to set up kutt.it today, it always failed on postgres authentication for me, even with reinstalling postgres, resetting up all accounts etc. Therefore, I'd appreciate If anyone can create a guide for it.

Its written in Node and needs Redis & Postgres installed. Web backend + supervisor.d should be easy to create.

tobimori avatar Apr 12 '20 21:04 tobimori

@tobimori i ran into the same issue. Don't get confused with the username tag in https://lab.uberspace.de/guide_postgresql.html#step-1-new-user . In this step we'll create a new database user for EACH (!) Project accessing psql - so your user could be named kutt - but not your uberspace-user. If you try to login with it, the authentication will fail, since the password you'll enter isn't the same as the >64 digits password entered above.

With this in mind, setting up postgresql works as described. I downloaded kutt, installed the dependencies as described (https://github.com/thedevs-network/kutt#setup) und run npm start. But it failed since it requires postgresql extension uuid-ossp, which i can't get to work. I tried with the most recent postgresql-version 12.2.

Maybe there's a postgresql-nerd that can help me out with some tipps.

pxlfrk avatar Apr 20 '20 15:04 pxlfrk

@pxlfrk I was using postgres on my Uberspace with other software already, so this wasn't the issue. But thanks for your help :)

tobimori avatar Apr 20 '20 15:04 tobimori

Which postgres-version did you install? psql --version . Is the required extension available in your table? uuid-ossp should appear in the table when you run select * from pg_extension;.

pxlfrk avatar Apr 20 '20 15:04 pxlfrk

Hey - any updates on the progress of such a guide? Thanks!

benwrth avatar Aug 15 '22 20:08 benwrth