Not able to installl morpheus on centos 8

just follwed this steps in documentation
wget https://downloads.morpheusdata.com/path/to/morpheus-appliance-5.5.0-1.rpm
wget https://downloads.morpheusdata.com/files/morpheus-appliance-supplemental-5.5.1-1.noarch.rpm

sha256sum morpheus-appliance-5.5.0-1.rpm
sudo rpm -ihv morpheus-appliance-5.5.0-1.rpm

sudo morpheus-ctl reconfigure

* directory[/opt/morpheus/sv/mysql] action create[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql] created directory /opt/morpheus/sv/mysql

  - create new directory /opt/morpheus/sv/mysql[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql] owner changed to 0

[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql] mode changed to 755

  - change mode from '' to '0755'
  - change owner from '' to 'root'
  - change group from '' to 'root'
  - restore selinux security context
* template[/opt/morpheus/sv/mysql/run] action create[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/run] created file /opt/morpheus/sv/mysql/run

  - create new file /opt/morpheus/sv/mysql/run[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/run] updated file contents /opt/morpheus/sv/mysql/run

  - update content in file /opt/morpheus/sv/mysql/run from none to a57fbc
  --- /opt/morpheus/sv/mysql/run    2022-11-02 15:32:22.373479165 +0200
  +++ /opt/morpheus/sv/mysql/.chef-run20221102-37002-1efqeaq        2022-11-02 15:32:22.372479106 +0200
  @@ -1 +1,4 @@
  +#!/bin/sh
  +exec 2>&1
  +exec /opt/morpheus/embedded/mysql/bin/mysqld_safe --defaults-file=/opt/morpheus/embedded/mysql/my.cnf --console --user=mysql-morpheus --explicit_defaults_for_timestamp[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/run] owner changed to 0

[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/run] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/run] mode changed to 755

  - change mode from '' to '0755'
  - change owner from '' to 'root'
  - change group from '' to 'root'
  - restore selinux security context
* directory[/opt/morpheus/sv/mysql/log] action create[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log] created directory /opt/morpheus/sv/mysql/log

  - create new directory /opt/morpheus/sv/mysql/log[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log] owner changed to 0

[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log] mode changed to 755

  - change mode from '' to '0755'
  - change owner from '' to 'root'
  - change group from '' to 'root'
  - restore selinux security context
* directory[/opt/morpheus/sv/mysql/log/main] action create[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log/main] created directory /opt/morpheus/sv/mysql/log/main

  - create new directory /opt/morpheus/sv/mysql/log/main[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log/main] owner changed to 0

[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log/main] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/log/main] mode changed to 755

  - change mode from '' to '0755'
  - change owner from '' to 'root'
  - change group from '' to 'root'
  - restore selinux security context
* template[/opt/morpheus/sv/mysql/log/run] action create[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/log/run] created file /opt/morpheus/sv/mysql/log/run

  - create new file /opt/morpheus/sv/mysql/log/run[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/log/run] updated file contents /opt/morpheus/sv/mysql/log/run

  - update content in file /opt/morpheus/sv/mysql/log/run from none to 41ca98
  --- /opt/morpheus/sv/mysql/log/run        2022-11-02 15:32:22.436482898 +0200
  +++ /opt/morpheus/sv/mysql/log/.chef-run20221102-37002-ihf34p     2022-11-02 15:32:22.435482838 +0200
  @@ -1 +1,3 @@
  +#!/bin/sh
  +exec /opt/morpheus/embedded/bin/svlogd -tt /var/log/morpheus/mysql[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/log/run] owner changed to 0

[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/log/run] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/log/run] mode changed to 755

  - change mode from '' to '0755'
  - change owner from '' to 'root'
  - change group from '' to 'root'
  - restore selinux security context
* template[/var/log/morpheus/mysql/config] action create[2022-11-02T15:32:22+02:00] INFO: template[/var/log/morpheus/mysql/config] created file /var/log/morpheus/mysql/config

  - create new file /var/log/morpheus/mysql/config[2022-11-02T15:32:22+02:00] INFO: template[/var/log/morpheus/mysql/config] updated file contents /var/log/morpheus/mysql/config

  - update content in file /var/log/morpheus/mysql/config from none to 623c00
  --- /var/log/morpheus/mysql/config        2022-11-02 15:32:22.460484319 +0200
  +++ /var/log/morpheus/mysql/.chef-config20221102-37002-est4np     2022-11-02 15:32:22.459484260 +0200
  @@ -1 +1,7 @@
  +s209715200
  +n30
  +t86400
  +!gzip
  +
  +[2022-11-02T15:32:22+02:00] INFO: template[/var/log/morpheus/mysql/config] owner changed to 0

[2022-11-02T15:32:22+02:00] INFO: template[/var/log/morpheus/mysql/config] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/var/log/morpheus/mysql/config] mode changed to 644

  - change mode from '' to '0644'
  - change owner from '' to 'root'
  - change group from '' to 'root'
  - restore selinux security context
* directory[/opt/morpheus/sv/mysql/env] action create[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/env] created directory /opt/morpheus/sv/mysql/env

  - create new directory /opt/morpheus/sv/mysql/env[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/env] owner changed to 0

[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/env] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/env] mode changed to 755

  - change mode from '' to '0755'
  - change owner from '' to 'root'
  - change group from '' to 'root'
  - restore selinux security context
* ruby_block[Delete unmanaged env files for mysql service] action run (skipped due to only_if)
* template[/opt/morpheus/sv/mysql/check] action create (skipped due to only_if)
* template[/opt/morpheus/sv/mysql/finish] action create (skipped due to only_if)
* directory[/opt/morpheus/sv/mysql/control] action create[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/control] created directory /opt/morpheus/sv/mysql/control

  - create new directory /opt/morpheus/sv/mysql/control[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/control] owner changed to 0

[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/control] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: directory[/opt/morpheus/sv/mysql/control] mode changed to 755

  - change mode from '' to '0755'
  - change owner from '' to 'root'
  - change group from '' to 'root'
  - restore selinux security context
* template[/opt/morpheus/sv/mysql/control/t] action create[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/t] created file /opt/morpheus/sv/mysql/control/t

  - create new file /opt/morpheus/sv/mysql/control/t[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/t] updated file contents /opt/morpheus/sv/mysql/control/t

  - update content in file /opt/morpheus/sv/mysql/control/t from none to fbd2d7
  --- /opt/morpheus/sv/mysql/control/t      2022-11-02 15:32:22.541489118 +0200
  +++ /opt/morpheus/sv/mysql/control/.chef-t20221102-37002-1kabu1h  2022-11-02 15:32:22.541489118 +0200
  @@ -1 +1,4 @@
  +#!/bin/sh
  +echo "received TERM from runit, using mysqldmin shutdown to stop mysql"
  +/opt/morpheus/embedded/mysql/bin/mysqladmin --defaults-file=/opt/morpheus/embedded/mysql/ops-my.cnf shutdown[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/t] owner changed to 0

[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/t] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/t] mode changed to 755

  - change mode from '' to '0755'
  - change owner from '' to 'root'
  - change group from '' to 'root'
  - restore selinux security context
* template[/opt/morpheus/sv/mysql/control/u] action create[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/u] created file /opt/morpheus/sv/mysql/control/u

  - create new file /opt/morpheus/sv/mysql/control/u[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/u] updated file contents /opt/morpheus/sv/mysql/control/u

  - update content in file /opt/morpheus/sv/mysql/control/u from none to 745710
  --- /opt/morpheus/sv/mysql/control/u      2022-11-02 15:32:22.567490659 +0200
  +++ /opt/morpheus/sv/mysql/control/.chef-u20221102-37002-18rtr1k  2022-11-02 15:32:22.567490659 +0200
  @@ -1 +1,4 @@
  +#!/bin/sh
  +[ -d /var/run/morpheus/mysqld ] || install -m 755 -o mysql-morpheus -g mysql-morpheus -d /var/run/morpheus/mysqld
  +[ -d /var/run/morpheus/mysqld ] || install -m 755 -o mysql-morpheus -g mysql-morpheus -d /var/run/morpheus/mysqld[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/u] owner changed to 0

[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/u] group changed to 0
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/control/u] mode changed to 755

  - change mode from '' to '0755'
  - change owner from '' to 'root'
  - change group from '' to 'root'
  - restore selinux security context
* link[/opt/morpheus/init/mysql] action create[2022-11-02T15:32:22+02:00] INFO: link[/opt/morpheus/init/mysql] created

  - create symlink at /opt/morpheus/init/mysql to /opt/morpheus/embedded/bin/sv
* file[/opt/morpheus/sv/mysql/down] action delete (up to date)

[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/run] sending run action to ruby_block[restart_service] (delayed)
* ruby_block[restart_service] action run (skipped due to only_if)
[2022-11-02T15:32:22+02:00] INFO: template[/opt/morpheus/sv/mysql/log/run] sending create action to ruby_block[restart_log_service] (delayed)
* ruby_block[restart_log_service] action create
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
* ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
* directory[/opt/morpheus/sv/mysql] action create (up to date)
* template[/opt/morpheus/sv/mysql/run] action create (up to date)
* directory[/opt/morpheus/sv/mysql/log] action create (up to date)
* directory[/opt/morpheus/sv/mysql/log/main] action create (up to date)
* template[/opt/morpheus/sv/mysql/log/run] action create (up to date)
* template[/var/log/morpheus/mysql/config] action create (up to date)
* directory[/opt/morpheus/sv/mysql/env] action create (up to date)
* ruby_block[Delete unmanaged env files for mysql service] action run (skipped due to only_if)
* template[/opt/morpheus/sv/mysql/check] action create (skipped due to only_if)
* template[/opt/morpheus/sv/mysql/finish] action create (skipped due to only_if)
* directory[/opt/morpheus/sv/mysql/control] action create (up to date)
* template[/opt/morpheus/sv/mysql/control/t] action create (up to date)
* template[/opt/morpheus/sv/mysql/control/u] action create (up to date)
* link[/opt/morpheus/init/mysql] action create (up to date)
* file[/opt/morpheus/sv/mysql/down] action delete (up to date)
* directory[/opt/morpheus/service] action create (up to date)
* link[/opt/morpheus/service/mysql] action create[2022-11-02T15:32:22+02:00] INFO: link[/opt/morpheus/service/mysql] created

    - create symlink at /opt/morpheus/service/mysql to /opt/morpheus/sv/mysql
  * ruby_block[wait for mysql service socket] action run[2022-11-02T15:32:23+02:00] INFO: ruby_block[wait for mysql service socket] called

    - execute the ruby block wait for mysql service socket

[2022-11-02T15:32:23+02:00] INFO: ruby_block[restart_log_service] called
- execute the ruby block restart_log_service
[2022-11-02T15:32:23+02:00] INFO: template[/var/log/morpheus/mysql/config] sending create action to ruby_block[reload_log_service] (delayed)
* ruby_block[reload_log_service] action create
* ruby_block[restart_service] action nothing (skipped due to action :nothing)
* ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
* ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
* directory[/opt/morpheus/sv/mysql] action create (up to date)
* template[/opt/morpheus/sv/mysql/run] action create (up to date)
* directory[/opt/morpheus/sv/mysql/log] action create (up to date)
* directory[/opt/morpheus/sv/mysql/log/main] action create (up to date)
* template[/opt/morpheus/sv/mysql/log/run] action create (up to date)
* template[/var/log/morpheus/mysql/config] action create (up to date)
* directory[/opt/morpheus/sv/mysql/env] action create (up to date)
* ruby_block[Delete unmanaged env files for mysql service] action run (skipped due to only_if)
* template[/opt/morpheus/sv/mysql/check] action create (skipped due to only_if)
* template[/opt/morpheus/sv/mysql/finish] action create (skipped due to only_if)
* directory[/opt/morpheus/sv/mysql/control] action create (up to date)
* template[/opt/morpheus/sv/mysql/control/t] action create (up to date)
* template[/opt/morpheus/sv/mysql/control/u] action create (up to date)
* link[/opt/morpheus/init/mysql] action create (up to date)
* file[/opt/morpheus/sv/mysql/down] action delete (up to date)
* directory[/opt/morpheus/service] action create (up to date)
* link[/opt/morpheus/service/mysql] action create (up to date)
* ruby_block[wait for mysql service socket] action run (skipped due to not_if)
[2022-11-02T15:32:23+02:00] INFO: ruby_block[reload_log_service] called
- execute the ruby block reload_log_service
* directory[/opt/morpheus/service] action create (up to date)
* link[/opt/morpheus/service/mysql] action create (up to date)
* ruby_block[wait for mysql service socket] action run (skipped due to not_if)

  • ruby_block[mysql_sleep] action run[2022-11-02T15:32:24+02:00] INFO: ruby_block[mysql_sleep] called

    • execute the ruby block mysql_sleep
  • mysql_database[morpheus] action create

    • Creating schema ‘morpheus’
  • mysql_database_user[morpheus] action grant[2022-11-02T15:32:24+02:00] INFO: mysql_database_user[morpheus]: granting access with statement [GRANT all ON morpheus.* TO ‘morpheus’@‘localhost’ IDENTIFIED BY ‘7d328d655cf969c78620fcc3’]

    • Granting privs for ‘morpheus’@‘localhost’
  • mysql_database_user[morpheus] action grant[2022-11-02T15:32:24+02:00] INFO: mysql_database_user[morpheus]: granting access with statement [GRANT SELECT,SHOW DATABASES,SUPER,PROCESS ON . TO ‘morpheus’@‘localhost’ IDENTIFIED BY ‘7d328d655cf969c78620fcc3’]

    • Granting privs for ‘morpheus’@‘localhost’
  • file[/var/opt/morpheus/mysql/data/.mysql57_table_upgrade_done] action create[2022-11-02T15:32:24+02:00] INFO: file[/var/opt/morpheus/mysql/data/.mysql57_table_upgrade_done] created file /var/opt/morpheus/mysql/data/.mysql57_table_upgrade_done

    • create new file /var/opt/morpheus/mysql/data/.mysql57_table_upgrade_done[2022-11-02T15:32:24+02:00] INFO: file[/var/opt/morpheus/mysql/data/.mysql57_table_upgrade_done] owner changed to 0
      [2022-11-02T15:32:24+02:00] INFO: file[/var/opt/morpheus/mysql/data/.mysql57_table_upgrade_done] group changed to 0
      [2022-11-02T15:32:24+02:00] INFO: file[/var/opt/morpheus/mysql/data/.mysql57_table_upgrade_done] mode changed to 600

    • change mode from ‘’ to ‘0600’

    • change owner from ‘’ to ‘root’

    • change group from ‘’ to ‘root’

    • restore selinux security context
      Recipe: morpheus-solo::elasticsearch

  • dnf_package[unzip] action install

    ================================================================================
    Error executing action install on resource ‘dnf_package[unzip]’

    RuntimeError

    dnf-helper.py had stderr output:

    Traceback (most recent call last):
    File “/usr/lib/python3.6/site-packages/dnf/repo.py”, line 574, in load
    ret = self._repo.load()
    File “/usr/lib64/python3.6/site-packages/libdnf/repo.py”, line 397, in load
    return _repo.Repo_load(self)
    libdnf._error.Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File “/opt/morpheus/embedded/lib/ruby/gems/2.6.0/gems/chef-14.14.29/lib/chef/provider/package/dnf/dnf_helper.py”, line 106, in
    query(command)
    File “/opt/morpheus/embedded/lib/ruby/gems/2.6.0/gems/chef-14.14.29/lib/chef/provider/package/dnf/dnf_helper.py”, line 52, in query
    sack = get_sack()
    File “/opt/morpheus/embedded/lib/ruby/gems/2.6.0/gems/chef-14.14.29/lib/chef/provider/package/dnf/dnf_helper.py”, line 32, in get_sack
    base.fill_sack(load_system_repo=‘auto’)
    File “/usr/lib/python3.6/site-packages/dnf/base.py”, line 394, in fill_sack
    self._add_repo_to_sack(r)
    File “/usr/lib/python3.6/site-packages/dnf/base.py”, line 137, in _add_repo_to_sack
    repo.load()
    File “/usr/lib/python3.6/site-packages/dnf/repo.py”, line 581, in load
    raise dnf.exceptions.RepoError(str(e))
    dnf.exceptions.RepoError: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist

    Resource Declaration:

    In /opt/morpheus/embedded/cookbooks/cache/cookbooks/morpheus-solo/recipes/elasticsearch.rb

    28: package ‘unzip’
    29:

    Compiled Resource:

    Declared in /opt/morpheus/embedded/cookbooks/cache/cookbooks/morpheus-solo/recipes/elasticsearch.rb:28:in `from_file’

    dnf_package(“unzip”) do
    package_name “unzip”
    action [:install]
    default_guard_interpreter :default
    declared_type :package
    cookbook_name “morpheus-solo”
    recipe_name “elasticsearch”
    end

    System Info:

    chef_version=14.14.29
    platform=centos
    platform_version=8.4.2105
    ruby=ruby 2.6.10p210 (2022-04-12 revision 67958) [x86_64-linux]
    program_name=/opt/morpheus/embedded/bin/chef-client
    executable=/opt/morpheus/embedded/bin/chef-client

[2022-11-02T15:32:36+02:00] INFO: Running queued delayed notifications before re-raising exception

Running handlers:
[2022-11-02T15:32:36+02:00] ERROR: Running exception handlers
Running handlers complete
[2022-11-02T15:32:36+02:00] ERROR: Exception handlers complete
Chef Client failed. 53 resources updated in 24 seconds
[2022-11-02T15:32:36+02:00] FATAL: Stacktrace dumped to /opt/morpheus/embedded/cookbooks/cache/chef-stacktrace.out
[2022-11-02T15:32:36+02:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2022-11-02T15:32:36+02:00] FATAL: RuntimeError: dnf_package[unzip] (morpheus-solo::elasticsearch line 28) had an error: RuntimeError: dnf-helper.py had stderr output:

Traceback (most recent call last):
File “/usr/lib/python3.6/site-packages/dnf/repo.py”, line 574, in load
ret = self._repo.load()
File “/usr/lib64/python3.6/site-packages/libdnf/repo.py”, line 397, in load
return _repo.Repo_load(self)
libdnf._error.Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/opt/morpheus/embedded/lib/ruby/gems/2.6.0/gems/chef-14.14.29/lib/chef/provider/package/dnf/dnf_helper.py”, line 106, in
query(command)
File “/opt/morpheus/embedded/lib/ruby/gems/2.6.0/gems/chef-14.14.29/lib/chef/provider/package/dnf/dnf_helper.py”, line 52, in query
sack = get_sack()
File “/opt/morpheus/embedded/lib/ruby/gems/2.6.0/gems/chef-14.14.29/lib/chef/provider/package/dnf/dnf_helper.py”, line 32, in get_sack
base.fill_sack(load_system_repo=‘auto’)
File “/usr/lib/python3.6/site-packages/dnf/base.py”, line 394, in fill_sack
self._add_repo_to_sack(r)
File “/usr/lib/python3.6/site-packages/dnf/base.py”, line 137, in _add_repo_to_sack
repo.load()
File “/usr/lib/python3.6/site-packages/dnf/repo.py”, line 581, in load
raise dnf.exceptions.RepoError(str(e))
dnf.exceptions.RepoError: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist
[root@localhost ~]#

5.5.1-4 is the latest release of Morpheus, and should be used unless there is a specific need to install 5.5.0-1.

You are also downloading a supplemental package for 5.5.1 and the main installer for 5.5.0. Those versions should match the patch level. The supplemental package version for 5.5.1-4 is 5.5.1-1, which can be confirmed on morpheushub.com. I also don’t see an install command for the supplemental package. It must be installed prior to running the reconfigure or it has no effect.

The root of the error seems to be that your machine can’t access the appstream OS repository. Accessing the base repositories is a requirement of a Morpheus install, so that is most likely causing your issue.

here is the my commands

[root@localhost ~]# history
1 wget https://downloads.morpheusdata.com/files/morpheus-appliance-5.5.1-4.el8.x86_64.rpm
2 wget https://downloads.morpheusdata.com/files/morpheus-appliance-supplemental-5.5.1-1.noarch.rpm
3 sudo rpm -ihv morpheus-appliance-5.5.1-4.el8.x86_64.rpm
4 ls
5 sudo rpm -ihv morpheus-appliance-supplemental-5.5.1-1.noarch.rpm
6 sudo morpheus-ctl reconfigure

so what’s the versions you suggest me to install for better stability ?
and is the supplemental package is mandatory ?

The supplemental package is not mandatory. In your history, it shows you are installing 5.5.1 for both, so that’s good. In your original post, you said you were installing 5.5.0. Are you able to run yum makecache on your server? I still think the problem is that you can’t install packages from the repository.

Yes earlier it was typo error, yes still i am not able to install completely what’s the fix you suggest? Or any version?

It’s not the Morpheus version, it’s the fact that you can’t install packages from your repository.

i fixed that app stream repo issue after that also some issue ,it’s got stuck for long time here ,
[root@localhost yum.repos.d]# yum makecache
CentOS Linux 8 - AppStream 33 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 33 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Extras 12 kB/s | 1.5 kB 00:00
Metadata cache created.

ERROR:

[root@localhost lenovo]# sudo rpm -ihv morpheus-appliance-5.5.1-4.el8.x86_64.rpm
Verifying… ################################# [100%]
Preparing… ################################# [100%]
Updating / installing…
1:morpheus-appliance-5.5.1-4.el8 ################################# [100%]
Thank you for installing Morpheus!
Configure and start the Morpheus admin web UI by running the following command:

sudo morpheus-ctl reconfigure

Morpheus should be reachable at https://localhost
Otherwise configure Morpheus for your system by editing /etc/morpheus/morpheus.rb file
and running reconfigure again.

[root@localhost lenovo]# cat /etc/morpheus/morpheus.rb

[root@localhost lenovo]# vi /etc/morpheus/morpheus.rb

[root@localhost lenovo]# cat /etc/morpheus/morpheus.rb

[root@localhost lenovo]# sudo morpheus-ctl reconfigure
[2022-11-03T07:47:04+02:00] INFO: Started chef-zero at chefzero://localhost:1 with repository at /opt/morpheus/embedded
One version per cookbook

Starting Chef Client, version 14.14.29
[2022-11-03T07:47:04+02:00] INFO: *** Chef 14.14.29 ***
[2022-11-03T07:47:04+02:00] INFO: Platform: x86_64-linux
[2022-11-03T07:47:04+02:00] INFO: Chef-client pid: 118079
[2022-11-03T07:47:04+02:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping…
[2022-11-03T07:47:07+02:00] INFO: Setting the run_list to [“recipe[morpheus-solo]”] from CLI options
[2022-11-03T07:47:07+02:00] INFO: Run List is [recipe[morpheus-solo]]
[2022-11-03T07:47:07+02:00] INFO: Run List expands to [morpheus-solo]
[2022-11-03T07:47:07+02:00] INFO: Starting Chef Run for localhost
[2022-11-03T07:47:07+02:00] INFO: Running start handlers
[2022-11-03T07:47:07+02:00] INFO: Start handlers complete.
resolving cookbooks for run list: [“morpheus-solo”]
[2022-11-03T07:47:07+02:00] INFO: Loading cookbooks [morpheus-solo@0.0.1, runit@4.3.0, database@4.0.3, rabbitmq@5.8.2]
Synchronizing Cookbooks:

  • morpheus-solo (0.0.1)
  • runit (4.3.0)
  • database (4.0.3)
  • rabbitmq (5.8.2)
    Installing Cookbook Gems:
    Compiling Cookbooks…
    [2022-11-03T07:47:08+02:00] WARN: Selected systemd because systemctl shows .mount units
    Converging 333 resources
    Recipe: morpheus-solo::default
  • directory[/etc/morpheus] action create (up to date)
  • directory[/etc/morpheus/ssl] action create (up to date)
    Recipe: morpheus-solo::morpheus_user
  • directory[/opt/morpheus] action create (up to date)
  • group[morpheus-app] action create (up to date)
  • linux_user[morpheus-app] action create (up to date)
  • file[/opt/morpheus/.profile] action create (up to date)
    Recipe: morpheus-solo::local_user
  • group[morpheus-local] action create (up to date)
  • linux_user[morpheus-local] action create (up to date)
  • directory[/opt/morpheus/.local] action create (up to date)
  • file[/etc/sudoers.d/80-morpheus-app] action create (up to date)
    Recipe: morpheus-solo::default
  • directory[/opt/morpheus/conf] action create (up to date)
  • directory[/var/opt/morpheus] action create (up to date)
    Recipe: morpheus-solo::add_trusted_certs
  • directory[/etc/morpheus/ssl/trusted_certs] action create (up to date)
  • directory[/opt/morpheus/embedded/ssl/certs] action create (up to date)
  • file[/opt/morpheus/embedded/ssl/certs/README] action create (up to date)
  • ruby_block[Move existing certs and link to /opt/morpheus/embedded/ssl/certs] action run (skipped due to only_if)
    Recipe: runit::runit_systemd
  • directory[/usr/lib/systemd/system] action create (up to date)
  • cookbook_file[/usr/lib/systemd/system/morpheus-runsvdir.service] action create (up to date)
  • file[/etc/systemd/system/default.target.wants/morpheus-runsvdir.service] action delete (up to date)
  • file[/etc/systemd/system/basic.target.wants/morpheus-runsvdir.service] action delete (up to date)
  • execute[systemctl daemon-reload] action nothing (skipped due to action :nothing)
  • execute[systemctl enable morpheus-runsvdir] action nothing (skipped due to action :nothing)
  • execute[systemctl start morpheus-runsvdir] action nothing (skipped due to action :nothing)
    Recipe: morpheus-solo::default
  • template[/etc/security/limits.d/10-fd-limits.conf] action create (up to date)
  • execute[apt-get-update] action run (skipped due to only_if)
    Recipe: morpheus-solo::mysql
  • group[mysql-morpheus] action create (up to date)
  • linux_user[mysql-morpheus] action create (up to date)
  • file[/opt/morpheus/embedded/mysql/.profile] action create (up to date)
  • dnf_package[libatomic] action install (skipped due to only_if)
  • dnf_package[libatomic1] action install (skipped due to only_if)
  • dnf_package[libatomic1] action install (skipped due to only_if)
  • directory[/var/opt/morpheus/mysql] action create (up to date)
  • directory[/var/opt/morpheus/mysql/data] action create (up to date)
  • directory[/opt/morpheus/embedded/mysql/conf.d] action create (up to date)
  • directory[/var/run/morpheus/mysqld] action create[2022-11-03T07:47:08+02:00] INFO: directory[/var/run/morpheus/mysqld] created directory /var/run/morpheus/mysqld
  • create new directory /var/run/morpheus/mysqld[2022-11-03T07:47:08+02:00] INFO: directory[/var/run/morpheus/mysqld] owner changed to 973
    [2022-11-03T07:47:08+02:00] INFO: directory[/var/run/morpheus/mysqld] group changed to 972
    [2022-11-03T07:47:08+02:00] INFO: directory[/var/run/morpheus/mysqld] mode changed to 750

  • change mode from ‘’ to ‘0750’

  • change owner from ‘’ to ‘mysql-morpheus’

  • change group from ‘’ to ‘mysql-morpheus’

  • restore selinux security context

  • directory[/var/run/morpheus/mysqld] action create[2022-11-03T07:47:08+02:00] INFO: directory[/var/run/morpheus/mysqld] mode changed to 755
  • change mode from ‘0750’ to ‘0755’
  • restore selinux security context
  • directory[/var/log/morpheus/mysql] action create (up to date)
  • file[/var/log/morpheus/mysql/mysql_error.log] action touch[2022-11-03T07:47:08+02:00] INFO: file[/var/log/morpheus/mysql/mysql_error.log] updated atime and mtime to 2022-11-03 07:47:08 +0200
  • update utime on file /var/log/morpheus/mysql/mysql_error.log
  • template[/opt/morpheus/embedded/mysql/my.cnf] action create (up to date)
  • template[/opt/morpheus/embedded/mysql/ops-my.cnf] action create (up to date)
  • template[/tmp/my.sql] action create (skipped due to not_if)
  • bash[initialize mysql db] action run (skipped due to not_if)
  • file[/opt/morpheus/embedded/mysql/my-new.cnf] action delete (up to date)
    Recipe:
  • service[mysql] action nothing (skipped due to action :nothing)
    Recipe: morpheus-solo::mysql
  • runit_service[mysql] action enable
  • ruby_block[restart_service] action nothing (skipped due to action :nothing)
  • ruby_block[restart_log_service] action nothing (skipped due to action :nothing)
  • ruby_block[reload_log_service] action nothing (skipped due to action :nothing)
  • directory[/opt/morpheus/sv/mysql] action create (up to date)
  • template[/opt/morpheus/sv/mysql/run] action create (up to date)
  • directory[/opt/morpheus/sv/mysql/log] action create (up to date)
  • directory[/opt/morpheus/sv/mysql/log/main] action create (up to date)
  • template[/opt/morpheus/sv/mysql/log/run] action create (up to date)
  • template[/var/log/morpheus/mysql/config] action create (up to date)
  • directory[/opt/morpheus/sv/mysql/env] action create (up to date)
  • ruby_block[Delete unmanaged env files for mysql service] action run (skipped due to only_if)
  • template[/opt/morpheus/sv/mysql/check] action create (skipped due to only_if)
  • template[/opt/morpheus/sv/mysql/finish] action create (skipped due to only_if)
  • directory[/opt/morpheus/sv/mysql/control] action create (up to date)
  • template[/opt/morpheus/sv/mysql/control/t] action create (up to date)
  • template[/opt/morpheus/sv/mysql/control/u] action create (up to date)
  • link[/opt/morpheus/init/mysql] action create (up to date)
  • file[/opt/morpheus/sv/mysql/down] action delete (up to date)
  • directory[/opt/morpheus/service] action create (up to date)
  • link[/opt/morpheus/service/mysql] action create (up to date)
  • ruby_block[wait for mysql service socket] action run (skipped due to not_if)
    (up to date)
    * ruby_block[mysql_sleep] action run

Are you reusing a VM that you’ve already attempted to install morpheus on? I’m curious, because your first step is always to install the package.

yes i am reusing the vm , and i did below steps before cleanup

morpheus-ctl cleanse
rpm -e morpheus-appliance (use the appropriate package name)
rm -rf /etc/morpheus
rm -rf /var/opt/morpheus
rm -rf /var/run/morpheus
rm -rf /var/log/morpheus
rm -rf /opt/morpheus

Before running any more installation steps after your cleanup commands, I would check running processes using ps ax | grep sv and ps ax | grep mysql to make sure nothing was left over from something previously installed.

Your problem sounds like something left over from a previous run.

So what do you suggest now ? To make it successful

one more general question- I am curious if there are any different options/functionality b/w centos morpheus instance and ubuntu morpheus instance ,if i install on ubuntu rather than centos ?