error on deploy - please delete project
Closed this issue · 4 comments
I'm trying to deploy a project but I may have messed up and deployed in different names while trying to understand how the tool works.
this is my repo : https://github.com/tsaridas/jackett-stremio
the last config I have says my project is
a0964931e94e-jacket-stremio-remote-addon.baby-beamup.club
I think I deployed once but I saw some error in the logs like
2024-01-16T22:17:49.091050149Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e | node:internal/modules/cjs/loader:1137
2024-01-16T22:17:49.091072344Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e | throw err;
2024-01-16T22:17:49.091077944Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e | ^
2024-01-16T22:17:49.091081863Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e |
2024-01-16T22:17:49.091085112Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e | Error: Cannot find module '/start'
2024-01-16T22:17:49.091088346Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e | at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
2024-01-16T22:17:49.091091353Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e | at Module._load (node:internal/modules/cjs/loader:975:27)
2024-01-16T22:17:49.091094102Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e | at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
2024-01-16T22:17:49.091097338Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e | at node:internal/main/run_main_module:28:49 {
2024-01-16T22:17:49.091100251Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e | code: 'MODULE_NOT_FOUND',
2024-01-16T22:17:49.091103347Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e | requireStack: []
2024-01-16T22:17:49.091106684Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e | }
2024-01-16T22:17:49.091110276Z ekhlc0o3jbgl69kkjqznxwzz4.0@lvepp3zgakrysv5n8o19l2d2e |
This doesn't look like something from my application.
at the moment when I try to run beamup deploy I get this :
$ beamup deploy
The commit history did not change since the last deployment, would you like to create a new commit for your project? (y/n): n
Warning: You have chosen to deploy a project where the commit history did not change, deploying the project may fail in this case.
Deploying to a0964931e94e-jacket-stremio-remote-addon.baby-beamup.club
fatal: 'beamup' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Project URL: a0964931e94e-jacket-stremio-remote-addon.baby-beamup.club
I have my pub key whitelisted in github so that shouldn't be an issue.
Generally I'm not sure what I should do with the file beamup.json.
Do I have to push it to my repo or add it to .gitignore ?
Thanks in advance.
I managed to deploy my app by removing the dockerfile.
not sure what the problemwith dockerfile is ..
I guess I messed up and created multiple names. One that works now is : a0964931e94e-jackett-stremio
maybe you can remove all others that have my github account a0964931e94e ?
I figured out the docker issue. it needs to have an entrypoint otherwise it will run /start web. should probably be documented.
not sure if I still need to keep this open so you can clean up any old stuff I got.
but it runs fine if you just have CMD locally.
this was my old dockerfile :
https://github.com/tsaridas/jackett-stremio/blob/v1.0.112/Dockerfile
also, I now use :
https://a0964931e94e-jackett-stremio.baby-beamup.club/
so you might want to delete the previous one I added there which is :
a0964931e94e-jacket-stremio-remote-addon.baby-beamup.club