panel icon indicating copy to clipboard operation
panel copied to clipboard

Error on running installation process

Open Corenb opened this issue 6 years ago • 10 comments

Background:

  • Panel or Daemon: Daemon
  • Version of Panel/Daemon: 1.0 beta release 4
  • Server's OS: Debian 9
  • Your Computer's OS & Browser: Win 10 + Mozilla Firefox

Describe the bug Can't install new server or reinstall one.

Panel: PHP 7.4.5 Kernel info: Linux ns3018348 4.19-ovh-xxxx-std-ipv6-64 Docker info:

Client:
 Debug Mode: false

Server:
 Containers: 29
  Running: 3
  Paused: 0
  Stopped: 26
 Images: 11
 Server Version: 19.03.8
 Storage Driver: devicemapper
  Pool Name: docker-8:2-7472688-pool
  Pool Blocksize: 65.54kB
  Base Device Size: 10.74GB
  Backing Filesystem: xfs
  Udev Sync Supported: true
  Data file: /dev/loop0
  Metadata file: /dev/loop1
  Data loop file: /var/lib/docker/devicemapper/devicemapper/data
  Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
  Data Space Used: 3.822GB
  Data Space Total: 107.4GB
  Data Space Available: 71.45GB
  Metadata Space Used: 21.29MB
  Metadata Space Total: 2.147GB
  Metadata Space Available: 2.126GB
  Thin Pool Minimum Free Space: 10.74GB
  Deferred Removal Enabled: true
  Deferred Deletion Enabled: true
  Deferred Deleted Device Count: 0
  Library Version: 1.02.137 (2016-11-30)
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk s                                                                                                                                                             yslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.0-ovh-xxxx-std-ipv6-64
 Operating System: Debian GNU/Linux 9 (stretch)
 OSType: linux
 Architecture: x86_64
 CPUs: 8
 Total Memory: 31.34GiB
 Name: ns3018348
 ID: LCWP:2IBP:NBXS:AFFJ:QLZU:ADYY:NCB5:6RGL:73IH:5QG4:MPHC:YDCE
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No cpu cfs quota support
WARNING: No cpu cfs period support
WARNING: the devicemapper storage-driver is deprecated, and will be removed in a                                                                                                                                                              future release.
WARNING: devicemapper: usage of loopback devices is strongly discouraged for pro                                                                                                                                                             duction use.
         Use `--storage-opt dm.thinpooldev` to specify a custom block storage de                                                                                                                                                             vice.

To Reproduce

  1. Just try to create new server or reinstall one

Expected behavior In the panel console:

container@pterodactyl~ Starting installation process, this could take a few minutes...
container@pterodactyl~ Installation process completed.

In the console :

1.5891446050158114e+09  info    server/install.go:68    beginning installation process for server       {"server": "9e4b46e2-7fbb-48db-8e7b-59a75aac184f"}
1.5891446065465674e+09  info    server/install.go:334   creating installer container for server process {"server": "9e4b46e2-7fbb-48db-8e7b-59a75aac184f"}
1.5891446068360598e+09  info    server/install.go:340   running installation script for server in container     {"server": "9e4b46e2-7fbb-48db-8e7b-59a75aac184f", "container_id": "13525302188ab2a1cad97cdec891fee7f40198bffdc8c800afc8c1d07fe07bd4"}
1.5891446100116785e+09  warn    server/install.go:124   failed to complete after-execute step of installation process   {"server": "9e4b46e2-7fbb-48db-8e7b-59a75aac184f", "error": "open data/install_logs/9e4b46e2-7fbb-48db-8e7b-59a75aac184f.log: no such file or directory", "errorVerbose": "open data/install_logs/9e4b46e2-7fbb-48db-8e7b-59a75aac184f.log: no such file or directory\ngithub.com/pterodactyl/wings/server.(*InstallationProcess).AfterExecute\n\t/Users/dane/Sites/development/code/wings/server/install.go:253\ngithub.com/pterodactyl/wings/server.(*InstallationProcess).Run\n\t/Users/dane/Sites/development/code/wings/server/install.go:123\ngithub.com/pterodactyl/wings/server.(*Server).internalInstall\n\t/Users/dane/Sites/development/code/wings/server/install.go:70\ngithub.com/pterodactyl/wings/server.(*Server).Install\n\t/Users/dane/Sites/development/code/wings/server/install.go:24\ngithub.com/pterodactyl/wings/router.postCreateServer.func1\n\t/Users/dane/Sites/development/code/wings/router/router_system.go:61\nruntime.goexit\n\t/usr/local/Cellar/go/1.12.1/libexec/src/runtime/asm_amd64.s:1337"}
1.5891446100117538e+09  info    server/install.go:74    completed installation process for server       {"server": "9e4b46e2-7fbb-48db-8e7b-59a75aac184f"}

Corenb avatar May 10 '20 21:05 Corenb

Please update to Beta 4 for wings and try again, As the error when deleting the file was fixed in Beta 4.

1.58914482994281e+09    info    server/install.go:70    beginning installation process for server       {"server": "8df8597d-0d4f-4c35-9e7a-14739a7d2e65"}
1.5891448315292149e+09  info    server/install.go:347   creating installer container for server process {"server": "8df8597d-0d4f-4c35-9e7a-14739a7d2e65"}
1.5891448316021106e+09  info    server/install.go:353   running installation script for server in container     {"server": "8df8597d-0d4f-4c35-9e7a-14739a7d2e65", "container_id": "0f5bbc81aa6bb7a96813a7307c73b33db15e9c5e068bff7e253a0bfdb5469109"}
1.5891448334001243e+09  info    server/install.go:76    completed installation process for server       {"server": "8df8597d-0d4f-4c35-9e7a-14739a7d2e65"}

notAreYouScared avatar May 10 '20 21:05 notAreYouScared

I'm already using Beta 4 :/

Corenb avatar May 10 '20 21:05 Corenb

What Egg are you trying to install?

notAreYouScared avatar May 10 '20 21:05 notAreYouScared

First time I've tried my personnal egg (based on Paper egg) and it didn't work. In second time, I've retried with Paper and Bungeecord egg and I had the same error :/

Corenb avatar May 10 '20 21:05 Corenb

You didn't modify any of that error output, correct? Just want to make sure before I go down the wrong path.

DaneEveritt avatar May 10 '20 21:05 DaneEveritt

Nope, I didn't modify it. If you want this is the error when I'm trying to install Bungeecord egg:

1.589145453228455e+09   info    server/install.go:68    beginning installation process for server       {"server": "eb8b4800-b02d-4eb7-be1b-dcdf8f2f13d6"}
1.5891454546822288e+09  info    server/install.go:334   creating installer container for server process {"server": "eb8b4800-b02d-4eb7-be1b-dcdf8f2f13d6"}
1.5891454549248207e+09  info    server/install.go:340   running installation script for server in container     {"server": "eb8b4800-b02d-4eb7-be1b-dcdf8f2f13d6", "container_id": "2dfb82210d8677043d80001f6ea59190fd0ea146b42c135d02abbe12420c489d"}
1.589145456720806e+09   warn    server/install.go:124   failed to complete after-execute step of installation process   {"server": "eb8b4800-b02d-4eb7-be1b-dcdf8f2f13d6", "error": "open data/install_logs/eb8b4800-b02d-4eb7-be1b-dcdf8f2f13d6.log: no such file or directory", "errorVerbose": "open data/install_logs/eb8b4800-b02d-4eb7-be1b-dcdf8f2f13d6.log: no such file or directory\ngithub.com/pterodactyl/wings/server.(*InstallationProcess).AfterExecute\n\t/Users/dane/Sites/development/code/wings/server/install.go:253\ngithub.com/pterodactyl/wings/server.(*InstallationProcess).Run\n\t/Users/dane/Sites/development/code/wings/server/install.go:123\ngithub.com/pterodactyl/wings/server.(*Server).internalInstall\n\t/Users/dane/Sites/development/code/wings/server/install.go:70\ngithub.com/pterodactyl/wings/server.(*Server).Install\n\t/Users/dane/Sites/development/code/wings/server/install.go:24\ngithub.com/pterodactyl/wings/router.postCreateServer.func1\n\t/Users/dane/Sites/development/code/wings/router/router_system.go:61\nruntime.goexit\n\t/usr/local/Cellar/go/1.12.1/libexec/src/runtime/asm_amd64.s:1337"}
1.589145456720875e+09   info    server/install.go:74    completed installation process for server       {"server": "eb8b4800-b02d-4eb7-be1b-dcdf8f2f13d6"}

Corenb avatar May 10 '20 21:05 Corenb

Just for your information, it seem that informations into console head isn't up to date :

__ Pterodactyl _____/___/_______ _______ ______
\_____\    \/\/    /   /       /  __   /   ___/
   \___\          /   /   /   /  /_/  /___   /
        \___/\___/___/___/___/___    /______/
                            /_______/ v1.0.0-beta.1

It still showing beta 1

Corenb avatar May 10 '20 21:05 Corenb

No, I think you're actually not up to date, that header is set when I compile the releases. If anything I'd expect it to be 0.0.1 if I messed something up. Plus, I'm 95% sure I fixed it outputting my local home directory on error.

Please try following the upgrade instructions on the site again and make sure you've restarted the daemon once doing so.

DaneEveritt avatar May 10 '20 21:05 DaneEveritt

Hmmm ok you are right... My bad, I'm sorry for this ! However i'm sure to follow the upgrade instructions each time they are a new release...

Corenb avatar May 10 '20 21:05 Corenb

No worries, thanks for checking in on that. :)

DaneEveritt avatar May 10 '20 21:05 DaneEveritt