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

Releases monsterpi-0.3.2-rc2-sqlite & monsterpi-0.3.2-rc2 wont start due to permission problems and wrong node_modules #54

Closed
davidzwa opened this issue Feb 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@davidzwa
Copy link
Contributor

davidzwa commented Feb 6, 2024

There's quite a big amount of work to be done:

  • The permissions are all elevated due to chroot install. This means that the final user does not have access to the files.
  • Yarn missing .yarnrc.yaml causing it to default to pnp mode. Not necessarily a bad thing, but just unclear whether the dependencies exist
  • corepack enable is enough, dont npm i -g yarn
  • A setup with pm2 might be better as it is clearer what goes wrong.

Overall, I got the sqlite image to run. But I had to hack a lot by using sudo chown -R pi /home/pi/fdm-monster/.
and sudo chown -R pi /home/pi/fdm-monster-deamon/.
I finished the node_modules install in

yarn workspaces focus --all --production
cd /home/pi/fdm-monster-deamon/
sudo npm i
sudo service fdmmonster status

@davidzwa davidzwa added the bug Something isn't working label Feb 6, 2024
@davidzwa davidzwa pinned this issue Feb 6, 2024
@davidzwa
Copy link
Contributor Author

Could not reproduce.

@davidzwa davidzwa closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant