Skip to content
This repository has been archived by the owner on Apr 23, 2023. It is now read-only.

Bot crashes on start #130

Closed
Frerduro opened this issue Nov 7, 2022 · 0 comments · Fixed by #131 or #132
Closed

Bot crashes on start #130

Frerduro opened this issue Nov 7, 2022 · 0 comments · Fixed by #131 or #132
Assignees
Labels
bug Something isn't working

Comments

@Frerduro
Copy link
Contributor

Frerduro commented Nov 7, 2022

Version

unable

Hosting method

Docker

Bug description

I clicked start

Steps to reproduce

No response

Relevant log output

container@pterodactyl~ Server marked as starting...
[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
Pulling from dynamicabot/dynamica 
Digest: sha256:198de7646e9a3202ccdaa44a62442516ae4028a9c0d8c7a81ac2ccf460fc2204 
Status: Image is up to date for ghcr.io/dynamicabot/dynamica:2022-pterodactyl 
[Pterodactyl Daemon]: Finished pulling Docker container image
:/app$ yarn deploy; npx prisma migrate deploy;yarn start
yarn run v1.22.19
$ echo "This script is no longer used. All you need to do is run yarn start and deployment happens automatically."
This script is no longer used. All you need to do is run yarn start and deployment happens automatically.
Done in 0.06s.
Prisma schema loaded from schema.prisma
Datasource "db": SQLite database "db.sqlite" at "file:/home/container/dynamica/db.sqlite"
13 migrations found in prisma/migrations
No pending migrations to apply.
yarn run v1.22.19
$ node --enable-source-maps .
[2022-11-07] [11:36:04] [index.js] [Deploy] › ▶  deploy    Initialized timer...
node:events:491
      throw er; // Unhandled 'error' event
      ^
Error: ENOENT: no such file or directory, open 'logs/2022-11-7-log.log'
Emitted 'error' event on WriteStream instance at:
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: 'logs/2022-11-7-log.log'
}
Node.js v18.12.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 1
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.
@Frerduro Frerduro added the bug Something isn't working label Nov 7, 2022
@sebasptsch sebasptsch self-assigned this Nov 7, 2022
sebasptsch added a commit that referenced this issue Nov 7, 2022
sebasptsch added a commit that referenced this issue Nov 7, 2022
@sebasptsch sebasptsch reopened this Nov 7, 2022
sebasptsch added a commit that referenced this issue Nov 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants