hoarder-app / hoarder

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
https://hoarder.app
GNU Affero General Public License v3.0
6.48k stars 235 forks source link

unable to manual setup on my local #565

Closed mrkirthi-24 closed 1 month ago

mrkirthi-24 commented 1 month ago

getting no such table: user error while signing up on local. please help

Screenshot 2024-10-18 at 12 29 25 PM
kamtschatka commented 1 month ago

sounds like you might not have mounted the data directory correctly? that usually causes the database to be missing and resulting in this error (might be other cases as well, i have only seen this one so far)

mrkirthi-24 commented 1 month ago

DATA_DIR="/Users/apple/Desktop/hoarder/packages/db"

Screenshot 2024-10-18 at 8 56 53 PM
mrkirthi-24 commented 1 month ago

is this correct @kamtschatka ?

kamtschatka commented 1 month ago

are you setting up a development environment?

kamtschatka commented 1 month ago

see https://docs.hoarder.app/Development/setup, you have to run pnpm run db:migrate, to actually get the database set up

mrkirthi-24 commented 1 month ago

i did run pnpm run db:migrate. you can see db.db file in the image.

mrkirthi-24 commented 1 month ago

see https://docs.hoarder.app/Development/setup, you have to run pnpm run db:migrate, to actually get the database set up

i followed the whole setup guide. but still getting the error

kamtschatka commented 1 month ago

but what about the other 2 projects that also need this .env variable?

mrkirthi-24 commented 1 month ago

but what about the other 2 projects that also need this .env variable?

i actually want to use web only. so are you saying that i also create an .env file in web folder

kamtschatka commented 1 month ago

yes, those are the first 3 steps in the instructions in the documentation. did you do that?