Hey there! When deploying to an exoframe server I encounter the following problem
- I run
exoframe
- The directory contains an index.html
- I tried both with and without an exoframe.json
- It loads for a while until a 502 shows up
- In the log it pastes the error from bellow
I checked the content of the .exoframe folder in the user home directory. Exoframe generates multiple files and folders, except the deploying folder. I am using the newest version (6.2.0)
$ exoframe list
No deployments found on http://...! (removed the address here)
$ exoframe
Deploying current project to endpoint: http://...
✖ Deployment failed!
Error deploying project: HTTPError: Response code 502 (Bad Gateway)
Build log:
No log available
[exoframe-server] › ℹ info Initializing docker services...
[exoframe-server] › ℹ info Initializing traefik ...
[exoframe-server] › ℹ info Server is running inside docker.
[exoframe-server] › ℹ info Traefik instance started ...
[exoframe-server] › ⚠ warning cors is enabled with config: true
[exoframe-server] › ℹ info Server running at: 8080
(node:1) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/root/.exoframe/deploying/root-e25770a0-f149-11eb-8d2a-ddf852ecdeb5/exoframe.json'
at Object.openSync (fs.js:440:3)
at Object.readFileSync (fs.js:342:35)
at module.exports.exports.getProjectConfig (/app/server-core.js:120162:34)
at deploy (/app/server-core.js:105020:18)
at Object.handler (/app/server-core.js:105143:7)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
(node:1) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:1) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
What is the cause of this problem? Is there anything I can do to fix this?
Thanks!
Hey there! When deploying to an exoframe server I encounter the following problem
exoframeI checked the content of the .exoframe folder in the user home directory. Exoframe generates multiple files and folders, except the deploying folder. I am using the newest version (6.2.0)
What is the cause of this problem? Is there anything I can do to fix this?
Thanks!