bitnami / vms

Bitnami VMs
https://bitnami.com
Other
204 stars 43 forks source link

[Ghost] does not start, unable to initialize instance Export setup for ghost #1614

Open regalstreak opened 1 month ago

regalstreak commented 1 month ago

Platform

Azure

bndiagnostic ID know more about bndiagnostic ID

f7741fc8-bd22-bb13-1211-7d846ed6ac42

bndiagnostic output

bitnami@refix-vm-ghost:~$ sudo /opt/bitnami/bndiagnostic-tool

Welcome to the Bitnami Diagnostic tool.


Please read the following information carefully.

Press [Enter] to continue: This tool collects system information and files from a Bitnami stack into a diagnostic bundle file to be uploaded and reviewed by the Bitnami Team, for the sole purpose of providing you support for any issue you may find.

The uploaded information will be automatically removed from our systems after 1 month. In case you have any doubt regarding our privacy policy please check:

https://www.vmware.com/help/privacy.html Press [Enter] to continue:

Do you accept? [y/n]: y

\ The bndiagnostic tool has finished searching for errors and has found some issues that might be related to yours. The output will be shown on the next page:

Press [Enter] to continue:

===== Begin of bndiagnostic tool output =====

✓ Apache: No issues found
? Connectivity: Found possible issues
✓ Resources: No issues found
✓ Processes: No issues found
✓ Mysql: No issues found

[Connectivity]

Server ports 22, 80 and/or 443 are not publicly accessible. Please check the following guide to open server ports for remote access:

https://docs.bitnami.com/general/faq/administration/use-firewall/

===== End of bndiagnostic tool output =====

Press [Enter] to continue: The diagnostic bundle was uploaded successfully to the Bitnami servers. Please copy the following code:

f7741fc8-bd22-bb13-1211-7d846ed6ac42

And paste it in your Bitnami Support ticket.

bndiagnostic was not useful. Could you please tell us why?

-

Describe your issue as much as you can

Have tried running ghost on azure 4 different times with 4 different instance types, everytime this error pops up

error: Unable to initialize instance Export setup for ghost failed with exit code 1

[ 5669.497200] bitnami[2055]: /opt/bitnami/nami/lib/run_program.js:169
[ 5669.497563] bitnami[2055]:         throw (new Error(result));
[ 5669.497920] bitnami[2055]:                ^
[ 5669.498246] bitnami[2055]: Error: Control file '/etc/gonit/gonitrc' does not exists
[ 5669.498794] bitnami[2055]:     at runProgram (/opt/bitnami/nami/lib/run_program.js:169:16)
[ 5669.499180] bitnami[2055]:     at Object.recipeHandler (evalmachine.<anonymous>:72:9)
[ 5669.499488] bitnami[2055]:     at RecipeRunner._callRecipe (/opt/bitnami/nami/lib/recipe_runner.js:398:25)
[ 5669.499876] bitnami[2055]:     at RecipeRunner.call (/opt/bitnami/nami/lib/recipe_runner.js:436:34)
[ 5669.500399] bitnami[2055]:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Tried creating a goinitrc and it still doesn't work

image

Full serial log:

[ 5316.934700] kauditd_printk_skb: 6 callbacks suppressed
[ 5316.934703] audit: type=1400 audit(1722811506.449:17): apparmor="DENIED" operation="exec" profile="/{,usr/}sbin/dhclient" name="/usr/bin/true" pid=431 comm="dhclient" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
[ 5317.339574] audit: type=1400 audit(1722811506.853:18): apparmor="DENIED" operation="exec" profile="/{,usr/}sbin/dhclient" name="/usr/bin/true" pid=432 comm="dhclient" requested_mask="x" denied_mask="x" fsuid=0 ouid=0
[  OK  ] Finished cloud-init-local.…l cloud-init job (pre-networking).

[  OK  ] Reached target network-pre…get - Preparation for Network.

         Starting systemd-networkd.…ice - Network Configuration...

[  OK  ] Started systemd-networkd.service - Network Configuration.

[  OK  ] Reached target network.target - Network.

         Starting systemd-networkd-…it for Network to be Configured...

[  OK  ] Finished systemd-networkd-…Wait for Network to be Configured.

         Starting cloud-init.servic… job (metadata service crawler)...

[ 5320.099630] cloud-init[467]: Cloud-init v. 22.4.2 running 'init' at Sun, 04 Aug 2024 22:45:09 +0000. Up 5320.08 seconds.
[ 5320.110408] cloud-init[467]: ci-info: +++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++
[ 5320.114364] cloud-init[467]: ci-info: +--------+------+------------------------------+---------------+--------+-------------------+
[ 5320.117966] cloud-init[467]: ci-info: | Device |  Up  |           Address            |      Mask     | Scope  |     Hw-Address    |
[ 5320.121607] cloud-init[467]: ci-info: +--------+------+------------------------------+---------------+--------+-------------------+
[ 5320.125248] cloud-init[467]: ci-info: |  eth0  | True |           10.0.0.4           | 255.255.255.0 | global | 7c:1e:52:3d:60:83 |
[ 5320.129141] cloud-init[467]: ci-info: |  eth0  | True | fe80::7e1e:52ff:fe3d:6083/64 |       .       |  link  | 7c:1e:52:3d:60:83 |
[ 5320.133725] cloud-init[467]: ci-info: |   lo   | True |          127.0.0.1           |   255.0.0.0   |  host  |         .         |
[ 5320.137377] cloud-init[467]: ci-info: |   lo   | True |           ::1/128            |       .       |  host  |         .         |
[ 5320.141118] cloud-init[467]: ci-info: +--------+------+------------------------------+---------------+--------+-------------------+
[ 5320.145020] cloud-init[467]: ci-info: ++++++++++++++++++++++++++++++Route IPv4 info+++++++++++++++++++++++++++++++
[ 5320.148248] cloud-init[467]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+
[ 5320.151432] cloud-init[467]: ci-info: | Route |   Destination   | Gateway  |     Genmask     | Interface | Flags |
[ 5320.154603] cloud-init[467]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+
[ 5320.157926] cloud-init[467]: ci-info: |   0   |     0.0.0.0     | 10.0.0.1 |     0.0.0.0     |    eth0   |   UG  |
[ 5320.172121] cloud-init[467]: ci-info: |   1   |     10.0.0.0    | 0.0.0.0  |  255.255.255.0  |    eth0   |   U   |
[ 5320.175378] cloud-init[467]: ci-info: |   2   |     10.0.0.1    | 0.0.0.0  | 255.255.255.255 |    eth0   |   UH  |
[ 5320.178784] cloud-init[467]: ci-info: |   3   |  168.63.129.16  | 10.0.0.1 | 255.255.255.255 |    eth0   |  UGH  |
[ 5320.181998] cloud-init[467]: ci-info: |   4   | 169.254.169.254 | 10.0.0.1 | 255.255.255.255 |    eth0   |  UGH  |
[ 5320.186059] cloud-init[467]: ci-info: +-------+-----------------+----------+-----------------+-----------+-------+
[ 5320.189252] cloud-init[467]: ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
[ 5320.191796] cloud-init[467]: ci-info: +-------+-------------+---------+-----------+-------+
[ 5320.194814] cloud-init[467]: ci-info: | Route | Destination | Gateway | Interface | Flags |
[ 5320.197378] cloud-init[467]: ci-info: +-------+-------------+---------+-----------+-------+
[ 5320.200678] cloud-init[467]: ci-info: |   0   |  fe80::/64  |    ::   |    eth0   |   U   |
[ 5320.203411] cloud-init[467]: ci-info: |   2   |    local    |    ::   |    eth0   |   U   |
[ 5320.205995] cloud-init[467]: ci-info: |   3   |  multicast  |    ::   |    eth0   |   U   |
[ 5320.208953] cloud-init[467]: ci-info: +-------+-------------+---------+-----------+-------+
[ 5320.945522] cloud-init[467]: Generating public/private rsa key pair.
[ 5320.950025] cloud-init[467]: Your identification has been saved in /etc/ssh/ssh_host_rsa_key
[ 5320.952892] cloud-init[467]: Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub
[ 5320.955622] cloud-init[467]: The key fingerprint is:
[ 5320.957379] cloud-init[467]: SHA256:hCIJU7Uh0/ay/Ytm4FUz0SttO8fA7z/E2xBmwON+IBQ root@refix-vm-ghost
[ 5320.960390] cloud-init[467]: The key's randomart image is:
[ 5320.962596] cloud-init[467]: +---[RSA 3072]----+
[ 5320.964323] cloud-init[467]: |o.+oo    .Eo     |
[ 5320.966017] cloud-init[467]: | o +oo .. o +    |
[ 5320.967738] cloud-init[467]: |  o.o.. .= o o   |
[ 5320.969460] cloud-init[467]: |   .....= B o +  |
[ 5320.971176] cloud-init[467]: |     + .S= B = . |
[ 5320.972906] cloud-init[467]: |    o o   o = =  |
[ 5320.974625] cloud-init[467]: |   . o .   + o + |
[ 5320.976437] cloud-init[467]: |    . o..   . o .|
[ 5320.978322] cloud-init[467]: |     o. ..   ... |
[ 5320.980035] cloud-init[467]: +----[SHA256]-----+
[ 5320.981737] cloud-init[467]: Generating public/private dsa key pair.
[ 5320.983933] cloud-init[467]: Your identification has been saved in /etc/ssh/ssh_host_dsa_key
[  OK  ] Finished cloud-init.servic…it job (metadata service crawler).

[  OK  ] Reached target cloud-confi…t - Cloud-config availability.

[  OK  ] Reached target network-online.target - Network is Online.

         Expecting device dev-disk-…disk/cloud/azure_resource-part1...

[  OK  ] Reached target sysinit.target - System Initialization.

[  OK  ] Started systemd-tmpfiles-c… Cleanup of Temporary Directories.

[  OK  ] Listening on cloud-init-ho… - cloud-init hotplug hook socket.

[  OK  ] Listening on dbus.socket[…- D-Bus System Message Bus Socket.

[  OK  ] Listening on uuidd.socket…m - UUID daemon activation socket.

[  OK  ] Reached target sockets.target - Socket Units.

[  OK  ] Reached target basic.target - Basic System.

[ 5321.013142] cloud-init[467]: Your public key has been saved in /etc/ssh/ssh_host_dsa_key.pub
[ 5321.015774] cloud-init[467]: The key fingerprint is:
[ 5321.017426] cloud-init[467]: SHA256:YHlmjYL8ILeAj+YE+auuq0LBcalq5YhNlJuIOeGe3Ow root@refix-vm-ghost
[ 5321.020265] cloud-init[467]: The key's randomart image is:
[ 5321.022012] cloud-init[467]: +---[DSA 1024]----+
[ 5321.023507] cloud-init[467]: |   ..            |
[ 5321.025021] cloud-init[467]: |.+o+ . . o       |
[ 5321.028561] cloud-init[467]: |B=*o= = = .      |
[ 5321.030098] cloud-init[467]: |*O+= = *         |
[ 5321.031596] cloud-init[467]: |**@ . . S        |
[ 5321.033054] cloud-init[467]: |*B.=             |
[ 5321.034648] cloud-init[467]: |o.o              |
[ 5321.036207] cloud-init[467]: |.. E             |
[ 5321.037737] cloud-init[467]: |Xo               |
         Starting atd.service - Deferred execution scheduler...

[ 5321.039311] cloud-init[467]: +----[SHA256]-----+
         Starting bitnami.service - LSB: bitnami init script...

[ 5321.045448] cloud-init[467]: Generating public/private ecdsa key pair.
[ 5321.047689] cloud-init[467]: Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key
         Starting chrony.service - chrony, an NTP client/server...

[ 5321.052957] cloud-init[467]: Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub
         Starting cloud-config.serv…tings specified in cloud-config...

[ 5321.060894] cloud-init[467]: The key fingerprint is:
[ 5321.063113] cloud-init[467]: SHA256:MNJjebEiHjFnSXR2ukZK79Ipwrg2ZAv0eYBc0OG52so root@refix-vm-ghost
[ 5321.063188] cloud-init[467]: The key's randomart image is:
[ 5321.063232] cloud-init[467]: +---[ECDSA 256]---+
[ 5321.063278] cloud-init[467]: | .o.+o=.+ .      |
[ 5321.063320] cloud-init[467]: |  .o.*.+ =       |
[ 5321.063366] cloud-init[467]: |. oo+ X =        |
[ 5321.063412] cloud-init[467]: | + o.* X .       |
[ 5321.063458] cloud-init[467]: |. ..+ . S        |
[ 5321.063503] cloud-init[467]: |. == . + .       |
[ 5321.063549] cloud-init[467]: | =.o+ o +        |
[ 5321.063599] cloud-init[467]: |. =. . o         |
[ 5321.063652] cloud-init[467]: | E..             |
[ 5321.063697] cloud-init[467]: +----[SHA256]-----+
[ 5321.063739] cloud-init[467]: Generating public/private ed25519 key pair.
[ 5321.063785] cloud-init[467]: Your identification has been saved in /etc/ssh/ssh_host_ed25519_key
[ 5321.063828] cloud-init[467]: Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub
[ 5321.063878] cloud-init[467]: The key fingerprint is:
[ 5321.063924] cloud-init[467]: SHA256:zdJd1ucu14oBGvFJJ7lWHwCrviJUoywsPMQ1JwKkZro root@refix-vm-ghost
[ 5321.063968] cloud-init[467]: The key's randomart image is:
[ 5321.064032] cloud-init[467]: +--[ED25519 256]--+
[ 5321.064090] cloud-init[467]: |+.        ...    |
[ 5321.064143] cloud-init[467]: |.. + .     o . . |
[ 5321.064190] cloud-init[467]: |ooo +   . = o + o|
[ 5321.064232] cloud-init[467]: |+o    o  O B + o.|
[ 5321.064278] cloud-init[467]: |+. . o .S X . . .|
[ 5321.064318] cloud-init[467]: |.+o +  . = .   ..|
[ 5321.064363] cloud-init[467]: |E..o    o   . . +|
[ 5321.064405] cloud-init[467]: |    . .  .   o + |
[ 5321.064443] cloud-init[467]: |     . ..   . .  |
[ 5321.064503] cloud-init[467]: +----[SHA256]-----+
[  OK  ] Started cron.service -…kground program processing daemon.

         Starting dbus.service - D-Bus System Message Bus...

         Starting e2scrub_reap.serv…e ext4 Metadata Check Snapshots...

         Starting ssh.service - OpenBSD Secure Shell server...

         Starting systemd-logind.se…ice - User Login Management...

         Starting systemd-user-sess…vice - Permit User Sessions...

[  OK  ] Started atd.service - Deferred execution scheduler.

[  OK  ] Started dbus.service - D-Bus System Message Bus.

[ 5321.187228] bitnami[527]: ## 2024-08-04 22:45:10+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/010_wait_waagent...
[  OK  ] Finished systemd-user-sess…ervice - Permit User Sessions.

[  OK  ] Started getty@tty1.service - Getty on tty1.

[  OK  ] Started serial-getty@ttyS0…rvice - Serial Getty on ttyS0.

[  OK  ] Reached target getty.target - Login Prompts.

         Starting systemd-tmpfiles-…leanup of Temporary Directories...

[  OK  ] Started chrony.service - chrony, an NTP client/server.

[  OK  ] Started ssh.service - OpenBSD Secure Shell server.

[  OK  ] Reached target time-sync.t…et - System Time Synchronized.

[  OK  ] Started apt-daily.timer - Daily apt download activities.

[  OK  ] Started apt-daily-upgrade.… apt upgrade and clean activities.

[  OK  ] Started dpkg-db-backup.tim… Daily dpkg database backup timer.

[  OK  ] Started e2scrub_all.timer…etadata Check for All Filesystems.

[  OK  ] Started fstrim.timer - Discard unused blocks once a week.

[  OK  ] Started logrotate.timer - Daily rotation of log files.

[  OK  ] Started man-db.timer - Daily man-db regeneration.

[  OK  ] Reached target timers.target - Timer Units.

[  OK  ] Started systemd-logind.service - User Login Management.

         Starting apt-daily-upgrade…pt upgrade and clean activities...

         Starting e2scrub_all.servi…adata Check for All Filesystems...

[  OK  ] Started unattended-upgrade…0m - Unattended Upgrades Shutdown.

         Starting logrotate.service - Rotate log files...

[  OK  ] Finished e2scrub_reap.serv…ine ext4 Metadata Check Snapshots.

[  OK  ] Finished e2scrub_all.servi…etadata Check for All Filesystems.

[  OK  ] Finished systemd-tmpfiles-… Cleanup of Temporary Directories.

[  OK  ] Finished logrotate.service - Rotate log files.

[ 5321.511915] cloud-init[582]: Cloud-init v. 22.4.2 running 'modules:config' at Sun, 04 Aug 2024 22:45:11 +0000. Up 5321.46 seconds.
[  OK  ] Finished cloud-config.serv…ettings specified in cloud-config.

[  OK  ] Finished apt-daily-upgrade… apt upgrade and clean activities.

Debian GNU/Linux 12 refix-vm-ghost ttyS0

refix-vm-ghost login: [ 5621.194911] bitnami[527]: ## 2024-08-04 22:50:10+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/020_wait_until_mnt_mounted...
[ 5621.200535] bitnami[527]: ## 2024-08-04 22:50:10+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/030_resize_fs...
[ 5621.216744] bitnami[527]: resize2fs 1.47.0 (5-Feb-2023)
[ 5621.220625] bitnami[527]: The filesystem is already 7831296 (4k) blocks long.  Nothing to do!
[ 5621.223867] bitnami[527]: ## 2024-08-04 22:50:10+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/040_hostname...
[ 5621.229499] bitnami[527]: ## 2024-08-04 22:50:10+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/050_swap_file...
[ 5621.235815] bitnami[527]: ## 2024-08-04 22:50:10+00:00 ## INFO ## Running /opt/bitnami/var/init/pre-start/060_get_default_passwords...
[ 5621.763726] bitnami[527]: #########################################################################
[ 5621.763908] bitnami[527]: #                                                                       #
[ 5621.771044] bitnami[527]: #        Setting Bitnami application password to '9XLrnq0yOHU!'         #
[ 5621.774171] bitnami[527]: #        (the default application username is 'user@example.com')       #
[ 5621.777190] bitnami[527]: #                                                                       #
[ 5621.780166] bitnami[527]: #########################################################################
[ 5621.944541] bitnami[520]: ## 2024-08-04 22:50:11+00:00 ## INFO ## Running first-boot...
[ 5623.775175] bitnami[1522]: 2024-08-04T22:50:13.406Z - info: Saving configuration info to disk
[ 5623.987422] bitnami[1522]: 2024-08-04T22:50:13.619Z - info: Saving configuration info to disk
[ 5623.994628] bitnami[1522]: 2024-08-04T22:50:13.626Z - warn: No peerAddress provided. Skipping hosts file section
[ 5624.917103] bitnami[1522]: 2024-08-04T22:50:14.548Z - info: Data disk not present
[ 5624.923800] bitnami[1522]: 2024-08-04T22:50:14.555Z - info: Initializing module bndiagnostic
[ 5624.926910] bitnami[1522]: 2024-08-04T22:50:14.555Z - info: Initializing module gonit
[ 5624.930460] bitnami[1522]: 2024-08-04T22:50:14.555Z - info: Initializing module render-template
[ 5624.933586] bitnami[1522]: 2024-08-04T22:50:14.556Z - info: Initializing module python
[ 5624.937806] bitnami[1522]: 2024-08-04T22:50:14.556Z - info: Initializing module ini-file
[ 5624.937916] bitnami[1522]: 2024-08-04T22:50:14.556Z - info: Initializing module bncert
[ 5624.943043] bitnami[1522]: 2024-08-04T22:50:14.556Z - info: Initializing module apache
[ 5626.531692] bitnami[1522]: apache 22:50:14.79 INFO  ==> Generating sample certificates
[ 5626.535588] bitnami[1522]: Certificate request self-signature ok
[ 5626.537820] bitnami[1522]: subject=CN = example.com
[ 5626.539705] bitnami[1522]: apache 22:50:16.15 INFO  ==> Configuring Apache ServerTokens directive
[ 5626.543927] bitnami[1522]: 2024-08-04T22:50:16.163Z - info: Initializing module node
[ 5626.546606] bitnami[1522]: 2024-08-04T22:50:16.163Z - info: Initializing module mysql
[ 5644.034878] bitnami[1522]: mysql 22:50:16.32 INFO  ==> Validating settings in MYSQL_*/MARIADB_* env vars
[ 5644.040163] bitnami[1522]: mysql 22:50:16.33 INFO  ==> Initializing mysql database
[ 5644.040251] bitnami[1522]: mysql 22:50:16.34 INFO  ==> Updating 'my.cnf' with custom configuration
[ 5644.040670] bitnami[1522]: mysql 22:50:16.35 INFO  ==> Setting user option
[ 5644.041103] bitnami[1522]: mysql 22:50:16.44 INFO  ==> Setting bind_address option
[ 5644.041486] bitnami[1522]: mysql 22:50:16.45 INFO  ==> Setting slow_query_log option
[ 5644.045127] bitnami[1522]: mysql 22:50:16.46 INFO  ==> Setting long_query_time option
[ 5644.045553] bitnami[1522]: mysql 22:50:16.47 INFO  ==> Installing database
[ 5644.045963] bitnami[1522]: mysql 22:50:25.19 INFO  ==> Starting mysql in background
[ 5644.046362] bitnami[1522]: mysql 22:50:27.40 INFO  ==> Configuring authentication
[ 5644.046758] bitnami[1522]: mysql: [Warning] Using a password on the command line interface can be insecure.
[ 5644.047866] bitnami[1522]: mysql: [Warning] Using a password on the command line interface can be insecure.
[ 5644.048550] bitnami[1522]: mysql 22:50:27.58 INFO  ==> Running mysql_upgrade
[ 5644.048940] bitnami[1522]: mysql 22:50:27.59 INFO  ==> Stopping mysql
[ 5644.049489] bitnami[1522]: mysql 22:50:29.62 INFO  ==> Starting mysql in background
[ 5644.049836] bitnami[1522]: find: ‘/docker-entrypoint-initdb.d/’: No such file or directory
[ 5644.050234] bitnami[1522]: find: ‘/docker-entrypoint-startdb.d/’: No such file or directory
[ 5644.050632] bitnami[1522]: mysql 22:50:31.63 INFO  ==> Stopping mysql
[ 5649.138314] bitnami[1522]: mysql 22:50:38.76 INFO  ==> mysql started
[ 5649.141673] bitnami[1522]: 2024-08-04T22:50:38.769Z - info: Initializing module ghost
[ 5657.057804] bitnami[1522]: ghost 22:50:38.98 INFO  ==> Ensuring Ghost directories exist
[ 5657.058033] bitnami[1522]: ghost 22:50:38.99 INFO  ==> Trying to connect to the database server
[ 5657.058408] bitnami[1522]: ghost 22:50:39.06 INFO  ==> Configuring database
[ 5657.058948] bitnami[1522]: ghost 22:50:39.13 INFO  ==> Setting up Ghost
[ 5657.059413] bitnami[1522]: ghost 22:50:45.79 INFO  ==> Configuring Ghost URL to http://localhost
[ 5657.059734] bitnami[1522]: ghost 22:50:45.82 INFO  ==> Passing admin user creation wizard
[ 5657.060562] bitnami[1522]: ghost 22:50:45.85 INFO  ==> Starting Ghost in background
[ 5657.083453] bitnami[1522]: 2024-08-04T22:50:46.715Z - info: Saving configuration info to disk
[ 5657.086234] bitnami[1522]: 2024-08-04T22:50:46.718Z - info: Saving configuration info to disk
[ 5657.091246] bitnami[1522]: 2024-08-04T22:50:46.723Z - error: Unable to initialize instance Export setup for ghost failed with exit code 1
[ 5657.137788] bitnami[520]: ## 2024-08-04 22:50:46+00:00 ## INFO ## Starting services...
[ 5657.394232] bitnami[2055]: 2024-08-04T22:50:47.025Z - info: Saving configuration info to disk
[ 5658.006808] bitnami[2055]: 2024-08-04T22:50:47.637Z - info: Performing service start operation for apache
[ 5663.352308] bitnami[2055]: apache 22:50:52.98 INFO  ==> apache started
[ 5663.352569] bitnami[2055]: 2024-08-04T22:50:52.983Z - info: Performing service start operation for mysql
[ 5663.378770] bitnami[2055]: mysql 22:50:53.00 INFO  ==> mysql is already running
[ 5663.379126] bitnami[2055]: 2024-08-04T22:50:53.010Z - info: Performing service start operation for ghost
[ 5668.595820] bitnami[2055]: ghost 22:50:58.22 INFO  ==> ghost started
[ 5669.087914] bitnami[2055]: ghost 22:50:58.68 INFO  ==> Configuring Ghost URL to http://74.225.248.57
[ 5669.100621] bitnami[2055]: 2024-08-04T22:50:58.732Z - info: Starting gonit monitoring service
[ 5669.497200] bitnami[2055]: /opt/bitnami/nami/lib/run_program.js:169
[ 5669.497563] bitnami[2055]:         throw (new Error(result));
[ 5669.497920] bitnami[2055]:                ^
[ 5669.498246] bitnami[2055]: Error: Control file '/etc/gonit/gonitrc' does not exists
[ 5669.498794] bitnami[2055]:     at runProgram (/opt/bitnami/nami/lib/run_program.js:169:16)
[ 5669.499180] bitnami[2055]:     at Object.recipeHandler (evalmachine.<anonymous>:72:9)
[ 5669.499488] bitnami[2055]:     at RecipeRunner._callRecipe (/opt/bitnami/nami/lib/recipe_runner.js:398:25)
[ 5669.499876] bitnami[2055]:     at RecipeRunner.call (/opt/bitnami/nami/lib/recipe_runner.js:436:34)
[ 5669.500399] bitnami[2055]:     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[ 5669.500846] bitnami[2055]:     at async Provisioner.callRecipes (/opt/bitnami/nami/lib/provisioner.js:817:24)
[ 5669.501106] bitnami[2055]:     at async Provisioner.serviceCommand (/opt/bitnami/nami/lib/provisioner.js:593:9)
[ 5669.502086] bitnami[2055]:     at async CLI.servicesCommand (/opt/bitnami/nami/lib/cli.js:187:13)
[ 5669.502535] bitnami[2055]:     at async Command.<anonymous> (/opt/bitnami/nami/lib/cli.js:470:13)
[ 5669.502963] bitnami[2055]:     at async Command.parseAsync (/opt/bitnami/nami/node_modules/commander/lib/command.js:915:5)
[ 5669.532769] bitnami[2055]: Node.js v18.20.4
[ 5669.579170] bitnami[2452]: ## 2024-08-04 22:50:59+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/010_detect_new_account...
[ 5669.768872] bitnami[2452]: ## 2024-08-04 22:50:59+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/020_bitnami_agent_extra...
[ 5669.828346] bitnami[2452]: ## 2024-08-04 22:50:59+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/030_bitnami_agent...
[ 5670.596432] bitnami[2452]: ## 2024-08-04 22:51:00+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/040_update_welcome_file...
[ 5670.603683] bitnami[2452]: ## 2024-08-04 22:51:00+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/050_bitnami_credentials_file...
[ 5670.636765] bitnami[2452]: ## 2024-08-04 22:51:00+00:00 ## INFO ## Running /opt/bitnami/var/init/post-start/060_clean_metadata...
2024-08-04T22:51:01.029948Z INFO Daemon Daemon Azure Linux Agent Version:2.7.3.0
2024-08-04T22:51:01.033017Z INFO Daemon Daemon OS: debian 12
2024-08-04T22:51:01.035536Z INFO Daemon Daemon Python: 3.11.2
2024-08-04T22:51:01.036189Z INFO Daemon Daemon Run daemon
2024-08-04T22:51:01.037505Z INFO Daemon Daemon No RDMA handler exists for distro='Debian GNU/Linux' version='12'
2024-08-04T22:51:01.037888Z INFO Daemon Daemon Using cloud-init for provisioning
2024-08-04T22:51:01.124370Z INFO Daemon Daemon cloud-init is enabled: True
2024-08-04T22:51:01.127158Z INFO Daemon Daemon Using cloud-init for provisioning
2024-08-04T22:51:01.129828Z INFO Daemon Daemon Clean protocol and wireserver endpoint
2024-08-04T22:51:01.132610Z INFO Daemon Daemon Running CloudInit provisioning handler
2024-08-04T22:51:01.145477Z INFO Daemon Daemon Detect protocol endpoint
2024-08-04T22:51:01.145689Z INFO Daemon Daemon Clean protocol and wireserver endpoint
2024-08-04T22:51:01.147117Z INFO Daemon Daemon WireServer endpoint is not found. Rerun dhcp handler
2024-08-04T22:51:01.148838Z INFO Daemon Daemon Test for route to 168.63.129.16
2024-08-04T22:51:01.149381Z INFO Daemon Daemon Route to 168.63.129.16 exists
2024-08-04T22:51:01.150173Z INFO Daemon Daemon Wire server endpoint:168.63.129.16
2024-08-04T22:51:01.161720Z INFO Daemon Daemon Fabric preferred wire protocol version:2015-04-05
2024-08-04T22:51:01.164892Z INFO Daemon Daemon Wire protocol version:2012-11-30
2024-08-04T22:51:01.167384Z INFO Daemon Daemon Server preferred version:2015-04-05
2024-08-04T22:51:01.375328Z INFO Daemon Daemon Initializing goal state during protocol detection
[ 5671.759043] cloud-init[2813]: Cloud-init v. 22.4.2 running 'modules:final' at Sun, 04 Aug 2024 22:51:01 +0000. Up 5671.67 seconds.
2024-08-04T22:51:01.403047Z INFO Daemon Daemon HostGAPlugin version: 1.0.8.152
2024-08-04T22:51:01.403547Z INFO Daemon Daemon Fetched new vmSettings [correlation ID: 08c532c4-a2ad-466b-b28b-08f7e3fee22a New eTag: 7970589696630984799]
2024-08-04T22:51:01.403725Z INFO Daemon Daemon Forcing an update of the goal state..
2024-08-04T22:51:01.404582Z INFO Daemon Daemon Fetching goal state [incarnation 1]
ci-info: ++++++++++++++++++++++++++++++++++++++Authorized keys from /home/refix/.ssh/authorized_keys for user refix++++++++++++++++++++++++++++++++++++++
ci-info: +-------------+-------------------------------------------------------------------------------------------------+---------+--------------------+
ci-info: |   Keytype   |                                       Fingerprint (sha256)                                      | Options |      Comment       |
ci-info: +-------------+-------------------------------------------------------------------------------------------------+---------+--------------------+
ci-info: | ssh-ed25519 | b0:ec:c5:73:ee:d6:c1:6b:fa:6a:62:33:5b:bb:42:24:84:e7:fd:0b:4f:7f:ef:c2:21:19:49:93:bc:9d:37:d8 |    -    | generated-by-azure |
ci-info: +-------------+-------------------------------------------------------------------------------------------------+---------+--------------------+
2024-08-04T22:51:01.523935Z INFO Daemon Daemon Found private key matching thumbprint 7F802302792C9BACB8388EBE16A9E01BFC5F57B1
2024-08-04T22:51:01.586425Z INFO Daemon Daemon Fetch goal state completed
2024-08-04T22:51:01.593085Z INFO Daemon Daemon ssh host key found at: /etc/ssh/ssh_host_rsa_key.pub
2024-08-04T22:51:01.599388Z INFO Daemon Daemon Thumbprint obtained from : /etc/ssh/ssh_host_rsa_key.pub
2024-08-04T22:51:01.599775Z INFO Daemon Daemon Finished provisioning
<14>Aug  4 22:51:01 cloud-init: #############################################################
<14>Aug  4 22:51:01 cloud-init: -----BEGIN SSH HOST KEY FINGERPRINTS-----
<14>Aug  4 22:51:01 cloud-init: 1024 SHA256:YHlmjYL8ILeAj+YE+auuq0LBcalq5YhNlJuIOeGe3Ow root@refix-vm-ghost (DSA)
<14>Aug  4 22:51:01 cloud-init: 256 SHA256:MNJjebEiHjFnSXR2ukZK79Ipwrg2ZAv0eYBc0OG52so root@refix-vm-ghost (ECDSA)
<14>Aug  4 22:51:01 cloud-init: 256 SHA256:zdJd1ucu14oBGvFJJ7lWHwCrviJUoywsPMQ1JwKkZro root@refix-vm-ghost (ED25519)
<14>Aug  4 22:51:01 cloud-init: 3072 SHA256:hCIJU7Uh0/ay/Ytm4FUz0SttO8fA7z/E2xBmwON+IBQ root@refix-vm-ghost (RSA)
<14>Aug  4 22:51:01 cloud-init: -----END SSH HOST KEY FINGERPRINTS-----
<14>Aug  4 22:51:01 cloud-init: #############################################################
-----BEGIN SSH HOST KEY KEYS-----
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFbODEZi1j0ENKzIZ+44ggModfdpFCXJJx3eY6J7kI6w9sEGGL2uGv7QFC0b9fxLcyW3qUYZXtq9mN/yNWor734= root@refix-vm-ghost
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOkB0RizKMuuzlHcwO8OAHyiQYEATO9SBkACr+vQIYGe root@refix-vm-ghost
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCpmiQ0c33DzxC5gYITJSpw+XFHzJelf2c1inFIFAiBsaq96wewL/vtb8PDpK2t//eXDMl9XD5blc872J651BdWxINGpxFbj6HmOM1hmyq3PncB/eVihycDHBlD/OZdaHULCSBCGRA0NiXD0vT6xE6JBcMGorQjBakeI0Zgg7IJWQTV0VMaGxA+4oQ0u20YUkuijlntcQRxT07sE/u2a7ZmjEIoxDlWSbl9M0Rvme6FYk5yDusPEVPCD0hq/sDN/Sw4ZBHL3EgkMPB4BjH3SNGaYpa3HGs4RtkmTW3pe9q2psAxM7Njhhs2NzBFqErr0nhpduu/jXMKJpXHVw2M0gFCUtMl4V0ssT+ffc9IyD8PR4yQfwdDQ0ZBbHjEHGmHCxiV47YkcV9STy6HJfel+gkp4R0BJFhDG1w4i9q9ZwqW9v+1yX0vuvkzJQfQA55mmDrPga5JKZS/YrTPp64AS6CdKy/w+AbCwpZq+5SVLaefxQUAY0T+wzLsJxJHPUjuQoU= root@refix-vm-ghost
-----END SSH HOST KEY KEYS-----
[ 5671.988176] cloud-init[2813]: Cloud-init v. 22.4.2 finished at Sun, 04 Aug 2024 22:51:01 +0000. Datasource DataSourceAzure [seed=/dev/sr0].  Up 5671.98 seconds
2024-08-04T22:51:02.613296Z INFO Daemon Daemon RDMA capabilities are not enabled, skipping
2024-08-04T22:51:02.613533Z INFO Daemon Daemon End of log to /dev/console. The agent will now check for updates and then will process extensions.
github-actions[bot] commented 3 weeks ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

gongomgra commented 3 weeks ago

Hi @regalstreak,

Can you tell us the instance size you are using? Maybe it has too few resources to initialize and run Ghost. Can you try to launch a new one?

github-actions[bot] commented 5 days ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.