Coder Social home page Coder Social logo

cloudlinux / elevate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cpanel/elevate

3.0 3.0 1.0 1.91 MB

elevate your cPanel&WHM CloudLinux 7 server to CloudLinux 8

Home Page: https://cpanel.github.io/elevate/

License: BSD 2-Clause "Simplified" License

Shell 0.18% JavaScript 0.06% Perl 98.90% CSS 0.07% Makefile 0.18% HTML 0.60%

elevate's People

Contributors

atoomic avatar bigio avatar cpholloway avatar ggrigon avatar godismyjudge95 avatar sloanebernstein avatar toddr avatar troglodyne avatar xsawyerx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jonathanspw

elevate's Issues

[UPG FAIL] python36-chardet file conflict

* 2024-01-23 10:54:47 (4303) [INFO] Error: Transaction test error:
* 2024-01-23 10:54:47 (4303) [INFO]   file /usr/lib/python3.6/site-packages/chardet/cli/__pycache__/chardetect.cpython-36.opt-1.pyc from install of python3-chardet-3.0.4-7.el8.noarch conflicts with file from package python36-chardet-3.0.4-1.el7.noarch
* 2024-01-23 10:54:47 (4303) [INFO]   file /usr/lib/python3.6/site-packages/chardet/cli/__pycache__/chardetect.cpython-36.pyc from install of python3-chardet-3.0.4-7.el8.noarch conflicts with file from package python36-chardet-3.0.4-1.el7.noarch
* 2024-01-23 10:54:47 (4303) [INFO]   file /usr/lib/python3.6/site-packages/chardet/cli/chardetect.py from install of python3-chardet-3.0.4-7.el8.noarch conflicts with file from package python36-chardet-3.0.4-1.el7.noarch

[BLOCK] Fundamental EA4 packages marked as incompatible with CloudLinux 8

We've got a rather strange blocker on CloudLinux 7 (latest version, all updates installed) that marks fundamental EA4 and PHP packages as incompatible - even ea-apache24.

I've tried to resolve this by re-provisioning the EA4 profile, removing all custom profiles and by re-installing the ea-apache24 package, but got the same blockers.

* 2023-11-02 19:04:29 [INFO] Checking if your system is up to date:
* 2023-11-02 19:04:29 [INFO] Running: /usr/bin/yum clean all
* 2023-11-02 19:04:29 [INFO]
* 2023-11-02 19:04:29 [INFO] Loaded plugins: fastestmirror, rhnplugin, universal-hooks
* 2023-11-02 19:04:30 [INFO] Cleaning repos: EA4 cpanel-addons-production-feed cpanel-plugins MariaDB106
* 2023-11-02 19:04:30 [INFO]               : cl-ea4 cloudlinux-ea4-rollout-1 cloudlinux-ea4-rollout-10
* 2023-11-02 19:04:30 [INFO]               : cloudlinux-ea4-rollout-11 cloudlinux-ea4-rollout-12
* 2023-11-02 19:04:30 [INFO]               : cloudlinux-ea4-rollout-13 cloudlinux-ea4-rollout-14
* 2023-11-02 19:04:30 [INFO]               : cloudlinux-ea4-rollout-2 cloudlinux-ea4-rollout-3
* 2023-11-02 19:04:30 [INFO]               : cloudlinux-ea4-rollout-4 cloudlinux-ea4-rollout-5
* 2023-11-02 19:04:30 [INFO]               : cloudlinux-ea4-rollout-6 cloudlinux-ea4-rollout-7
* 2023-11-02 19:04:30 [INFO]               : cloudlinux-ea4-rollout-8 cloudlinux-ea4-rollout-9
* 2023-11-02 19:04:30 [INFO]               : cloudlinux-imunify360 cloudlinux-rollout-1 cloudlinux-rollout-10
* 2023-11-02 19:04:30 [INFO]               : cloudlinux-rollout-11 cloudlinux-rollout-12
* 2023-11-02 19:04:30 [INFO]               : cloudlinux-rollout-13 cloudlinux-rollout-14 cloudlinux-rollout-2
* 2023-11-02 19:04:30 [INFO]               : cloudlinux-rollout-3 cloudlinux-rollout-4 cloudlinux-rollout-5
* 2023-11-02 19:04:30 [INFO]               : cloudlinux-rollout-6 cloudlinux-rollout-7 cloudlinux-rollout-8
* 2023-11-02 19:04:30 [INFO]               : cloudlinux-rollout-9 cloudlinux-x86_64-server-7 epel kernelcare
* 2023-11-02 19:04:30 [INFO]               : r1soft
* 2023-11-02 19:04:30 [INFO] Cleaning up list of fastest mirrors
* 2023-11-02 19:04:30 [INFO] Other repos take up 276 M of disk space (use --verbose for details)
* 2023-11-02 19:04:30 [INFO]
* 2023-11-02 19:04:30 [INFO] Running: /usr/bin/yum check-update -q
* 2023-11-02 19:04:30 [INFO]
* 2023-11-02 19:05:31 [INFO]
* 2023-11-02 19:05:31 [INFO] Checking /scripts/sysup
* 2023-11-02 19:05:31 [INFO] Running: /scripts/sysup
* 2023-11-02 19:05:31 [INFO]
* 2023-11-02 19:05:38 [INFO] checkyum version 22.3  (excludes: bind-chroot)
* 2023-11-02 19:05:41 [INFO]   All Needed Packages are already installed.
* 2023-11-02 19:05:41 [INFO]
* 2023-11-02 19:05:41 [INFO] Checking EasyApache profile compatibility with CloudLinux 8.
* 2023-11-02 19:05:41 [INFO] Running: /usr/local/bin/ea_current_to_profile --target-os=CloudLinux_8 --output=/tmp/f1BJeu8Zus/ea_profile.json
* 2023-11-02 19:05:43 [INFO] Backed up EA4 profile to /tmp/f1BJeu8Zus/ea_profile.json
* 2023-11-02 19:05:43 [WARN] *** Elevation Blocker detected: ***
  One or more EasyApache 4 package(s) are not compatible with CloudLinux 8.
  Please remove these packages before continuing the update.
  - ea-apache24
  - ea-apache24-config
  - ea-apache24-config-runtime
  - ea-apache24-devel
  - ea-apache24-mod-brotli
  - ea-apache24-mod-bwlimited
  - ea-apache24-mod-cache
  - ea-apache24-mod-cache-disk
  - ea-apache24-mod-cache-socache
  - ea-apache24-mod-cgid
  - ea-apache24-mod-cpanel
  - ea-apache24-mod-dav
  - ea-apache24-mod-dav-fs
  - ea-apache24-mod-dav-lock
  - ea-apache24-mod-deflate
  - ea-apache24-mod-env
  - ea-apache24-mod-expires
  - ea-apache24-mod-file-cache
  - ea-apache24-mod-headers
  - ea-apache24-mod-hostinglimits
  - ea-apache24-mod-http2
  - ea-apache24-mod-lsapi
  - ea-apache24-mod-mpm-worker
  - ea-apache24-mod-proxy
  - ea-apache24-mod-proxy-fcgi
  - ea-apache24-mod-proxy-http
  - ea-apache24-mod-proxy-wstunnel
  - ea-apache24-mod-remoteip
  - ea-apache24-mod-security2
  - ea-apache24-mod-security2-mlogc
  - ea-apache24-mod-socache-memcache
  - ea-apache24-mod-socache-redis
  - ea-apache24-mod-ssl
  - ea-apache24-mod-suexec
  - ea-apache24-mod-suphp
  - ea-apache24-mod-unique-id
  - ea-apache24-mod-version
  - ea-apache24-mod-vhost-alias
  - ea-apache24-tools
  - ea-apr
  - ea-apr-devel
  - ea-apr-util
  - ea-apr-util-devel
  - ea-cpanel-tools
  - ea-documentroot
  - ea-libicu
  - ea-libmcrypt
  - ea-libmemcached
  - ea-libmemcached-devel
  - ea-libnghttp2-devel
  - ea-libtidy
  - ea-modsec-sdbm-util
  - ea-modsec2-rules-owasp-crs
  - ea-php-cli
  - ea-php-cli-lsphp
  - ea-php74
  - ea-php74-build
  - ea-php74-pear
  - ea-php74-php-bcmath
  - ea-php74-php-bz2
  - ea-php74-php-calendar
  - ea-php74-php-cli
  - ea-php74-php-common
  - ea-php74-php-curl
  - ea-php74-php-dba
  - ea-php74-php-devel
  - ea-php74-php-enchant
  - ea-php74-php-exif
  - ea-php74-php-fileinfo
  - ea-php74-php-fpm
  - ea-php74-php-ftp
  - ea-php74-php-gd
  - ea-php74-php-gettext
  - ea-php74-php-gmp
  - ea-php74-php-iconv
  - ea-php74-php-imap
  - ea-php74-php-intl
  - ea-php74-php-ioncube10
  - ea-php74-php-ldap
  - ea-php74-php-litespeed
  - ea-php74-php-mbstring
  - ea-php74-php-mysqlnd
  - ea-php74-php-odbc
  - ea-php74-php-opcache
  - ea-php74-php-pdo
  - ea-php74-php-posix
  - ea-php74-php-process
  - ea-php74-php-pspell
  - ea-php74-php-redis
  - ea-php74-php-snmp
  - ea-php74-php-soap
  - ea-php74-php-sockets
  - ea-php74-php-sodium
  - ea-php74-php-tidy
  - ea-php74-php-xml
  - ea-php74-php-zip
  - ea-php74-runtime
  - ea-php80
  - ea-php80-build
  - ea-php80-pear
  - ea-php80-php-bcmath
  - ea-php80-php-bz2
  - ea-php80-php-calendar
  - ea-php80-php-cli
  - ea-php80-php-common
  - ea-php80-php-curl
  - ea-php80-php-dba
  - ea-php80-php-devel
  - ea-php80-php-enchant
  - ea-php80-php-exif
  - ea-php80-php-fileinfo
  - ea-php80-php-fpm
  - ea-php80-php-ftp
  - ea-php80-php-gd
  - ea-php80-php-gettext
  - ea-php80-php-gmp
  - ea-php80-php-iconv
  - ea-php80-php-imap
  - ea-php80-php-intl
  - ea-php80-php-ldap
  - ea-php80-php-litespeed
  - ea-php80-php-mbstring
  - ea-php80-php-memcached
  - ea-php80-php-mysqlnd
  - ea-php80-php-odbc
  - ea-php80-php-opcache
  - ea-php80-php-pdo
  - ea-php80-php-posix
  - ea-php80-php-process
  - ea-php80-php-pspell
  - ea-php80-php-redis
  - ea-php80-php-snmp
  - ea-php80-php-soap
  - ea-php80-php-sockets
  - ea-php80-php-sodium
  - ea-php80-php-tidy
  - ea-php80-php-xml
  - ea-php80-php-zip
  - ea-php80-runtime
  - ea-php81
  - ea-php81-build
  - ea-php81-pear
  - ea-php81-php-bcmath
  - ea-php81-php-bz2
  - ea-php81-php-calendar
  - ea-php81-php-cli
  - ea-php81-php-common
  - ea-php81-php-curl
  - ea-php81-php-dba
  - ea-php81-php-devel
  - ea-php81-php-enchant
  - ea-php81-php-exif
  - ea-php81-php-fileinfo
  - ea-php81-php-fpm
  - ea-php81-php-ftp
  - ea-php81-php-gd
  - ea-php81-php-gettext
  - ea-php81-php-gmp
  - ea-php81-php-iconv
  - ea-php81-php-imap
  - ea-php81-php-intl
  - ea-php81-php-ioncube12
  - ea-php81-php-ldap
  - ea-php81-php-litespeed
  - ea-php81-php-mbstring
  - ea-php81-php-memcached
  - ea-php81-php-mysqlnd
  - ea-php81-php-odbc
  - ea-php81-php-opcache
  - ea-php81-php-pdo
  - ea-php81-php-posix
  - ea-php81-php-process
  - ea-php81-php-pspell
  - ea-php81-php-redis
  - ea-php81-php-snmp
  - ea-php81-php-soap
  - ea-php81-php-sockets
  - ea-php81-php-sodium
  - ea-php81-php-tidy
  - ea-php81-php-xml
  - ea-php81-php-zip
  - ea-php81-runtime
  - ea-php82
  - ea-php82-build
  - ea-php82-libc-client
  - ea-php82-pear
  - ea-php82-php-bcmath
  - ea-php82-php-bz2
  - ea-php82-php-calendar
  - ea-php82-php-cli
  - ea-php82-php-common
  - ea-php82-php-curl
  - ea-php82-php-dba
  - ea-php82-php-devel
  - ea-php82-php-enchant
  - ea-php82-php-exif
  - ea-php82-php-fileinfo
  - ea-php82-php-fpm
  - ea-php82-php-ftp
  - ea-php82-php-gd
  - ea-php82-php-gettext
  - ea-php82-php-gmp
  - ea-php82-php-iconv
  - ea-php82-php-imap
  - ea-php82-php-intl
  - ea-php82-php-ldap
  - ea-php82-php-litespeed
  - ea-php82-php-mbstring
  - ea-php82-php-mysqlnd
  - ea-php82-php-odbc
  - ea-php82-php-opcache
  - ea-php82-php-pdo
  - ea-php82-php-posix
  - ea-php82-php-process
  - ea-php82-php-pspell
  - ea-php82-php-redis
  - ea-php82-php-snmp
  - ea-php82-php-soap
  - ea-php82-php-sockets
  - ea-php82-php-sodium
  - ea-php82-php-tidy
  - ea-php82-php-xml
  - ea-php82-php-zip
  - ea-php82-runtime
  - ea-ruby27-libuv
  - ea-ruby27-mod-passenger
  - ea-ruby27-ruby
  - ea-ruby27-ruby-devel
  - ea-ruby27-ruby-irb
  - ea-ruby27-ruby-libs
  - ea-ruby27-ruby-wrapper
  - ea-ruby27-rubygem-bigdecimal
  - ea-ruby27-rubygem-did-you-mean
  - ea-ruby27-rubygem-io-console
  - ea-ruby27-rubygem-json
  - ea-ruby27-rubygem-openssl
  - ea-ruby27-rubygem-passenger
  - ea-ruby27-rubygem-psych
  - ea-ruby27-rubygem-rack
  - ea-ruby27-rubygem-rdoc
  - ea-ruby27-rubygems
  - ea-ruby27-runtime

* 2023-11-02 19:05:44 [WARN] Please fix the detected issues before performing the elevation process.

[BLOCK] R1Soft Server Backup Agent and R1Soft repository

We've got an upgrade blocker for the R1Soft repository and the R1Soft Server Backup Agent:

* 2023-11-02 18:36:29 [ERROR] 5 package(s) installed from unsupported YUM repo 'r1soft' from /etc/yum.repos.d/r1soft.repo
* 2023-11-02 18:36:29 [WARN] *** Elevation Blocker detected: ***
  One or more enabled YUM repo are currently unsupported.
  You should disable these repositories and remove packages installed from them
  before continuing the update.

  Consider reporting this limitation to https://github.com/cpanel/elevate/issues

The R1Soft repository can be found here: http://wiki.r1soft.com/display/ServerBackupManager/Install+Backup+Agent+on+CentOS%2C+RHE%2C+and+Fedora+manually

The R1Soft Server Backup Agent works fine on both, AlmaLinux and CloudLinux 8. We have production servers running it without issues. It should also be supported according to the R1Soft system requirements (Linux Kernels version 2.6.32+): http://wiki.r1soft.com/display/ServerBackupManager/System+Requirements

[BLOCK] target_userspace_creator - inconsistent error message

There is no clear error message as no recomended solution about this situation.

I'm stuck in this case and i can't find any information. Trying support.

[INFO] ====> * target_userspace_creator

2023-07-05 00:12:57 (4296) [INFO] Initializes a directory to be populated as a minimal environment to run binaries from the target system.
2023-07-05 00:12:59 (4296) [INFO] Process Process-512:
2023-07-05 00:12:59 (4296) [INFO] Traceback (most recent call last):
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib64/python2.7/multiprocessing/process.py", line 258, in _bootstrap
2023-07-05 00:12:59 (4296) [INFO] self.run()
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib64/python2.7/multiprocessing/process.py", line 114, in run
2023-07-05 00:12:59 (4296) [INFO] self._target(*self._args, **self._kwargs)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/repository/actor_definition.py", line 72, in _do_run
2023-07-05 00:12:59 (4296) [INFO] actor_instance.run(*args, **kwargs)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/actors/init.py", line 290, in run
2023-07-05 00:12:59 (4296) [INFO] self.process(*args)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/targetuserspacecreator/actor.py", line 52, in process
2023-07-05 00:12:59 (4296) [INFO] userspacegen.perform()
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/utils/deprecation.py", line 42, in process_wrapper
2023-07-05 00:12:59 (4296) [INFO] return target_item(*args, **kwargs)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 685, in perform
2023-07-05 00:12:59 (4296) [INFO] target_repoids = _gather_target_repositories(context, indata, prod_cert_path)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 629, in _gather_target_repositories
2023-07-05 00:12:59 (4296) [INFO] _install_custom_repofiles(context, indata.custom_repofiles)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/share/leapp-repository/repositories/system_upgrade/common/actors/targetuserspacecreator/libraries/userspacegen.py", line 607, in _install_custom_repofiles
2023-07-05 00:12:59 (4296) [INFO] context.copy_to(rfile.file, dst_path)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/share/leapp-repository/repositories/system_upgrade/common/libraries/mounting.py", line 233, in copy_to
2023-07-05 00:12:59 (4296) [INFO] shutil.copy2(src, self.full_path(dst))
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib64/python2.7/shutil.py", line 130, in copy2
2023-07-05 00:12:59 (4296) [INFO] copyfile(src, dst)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib64/python2.7/shutil.py", line 69, in copyfile
2023-07-05 00:12:59 (4296) [INFO] raise Error("%s and %s are the same file" % (src, dst))
2023-07-05 00:12:59 (4296) [INFO] Error: /etc/yum.repos.d/cloudlinux-rollout.repo and /var/lib/leapp/scratch/mounts/root
/system_overlay/etc/yum.repos.d/cloudlinux-rollout.repo are the same file
2023-07-05 00:12:59 (4296) [INFO]
2023-07-05 00:12:59 (4296) [INFO]
2023-07-05 00:12:59 (4296) [INFO] =========================================================================================================
2023-07-05 00:12:59 (4296) [INFO] Actor target_userspace_creator unexpectedly terminated with exit code: 1 - Please check the above details
2023-07-05 00:12:59 (4296) [INFO] =========================================================================================================
2023-07-05 00:12:59 (4296) [INFO] Traceback (most recent call last):
2023-07-05 00:12:59 (4296) [INFO] File "/usr/bin/leapp", line 9, in
2023-07-05 00:12:59 (4296) [INFO] load_entry_point('leapp==0.14.0', 'console_scripts', 'leapp')()
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/cli/init.py", line 37, in main
2023-07-05 00:12:59 (4296) [INFO] cli.command.execute('leapp version {}'.format(VERSION))
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/utils/clicmd.py", line 106, in execute
2023-07-05 00:12:59 (4296) [INFO] args.func(args)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/utils/clicmd.py", line 128, in called
2023-07-05 00:12:59 (4296) [INFO] self.target(args)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/cli/commands/upgrade/breadcrumbs.py", line 94, in wrapper
2023-07-05 00:12:59 (4296) [INFO] return f(*args, breadcrumbs=breadcrumbs, **kwargs)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/cli/commands/upgrade/init.py", line 104, in upgrade
2023-07-05 00:12:59 (4296) [INFO] only_with_tags=only_with_tags)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib64/python2.7/contextlib.py", line 35, in exit
2023-07-05 00:12:59 (4296) [INFO] self.gen.throw(type, value, traceback)
2023-07-05 00:12:59 (4296) [INFO] File "/usr/lib/python2.7/site-packages/leapp/cli/commands/upgrade/util.py", line 304, in format_actor_exceptions
2023-07-05 00:12:59 (4296) [INFO] logger.error(e.message)
2023-07-05 00:12:59 (4296) [INFO] NameError: global name 'e' is not defined
2023-07-05 00:12:59 (4313) [INFO]
2023-07-05 00:12:59 (742) [INFO] Sending notification: Fail to update to CloudLinux 8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.