Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2018-02-25, 02:22:12

Author Topic: bagaimana Cara update kloxo?  (Read 4673 times)

0 Members and 1 Guest are viewing this topic.

Offline hendiana

  • Valuable Member
  • *
  • Posts: 53
  • Karma: +0/-0
    • View Profile
bagaimana Cara update kloxo?
« on: 2016-05-19, 04:35:32 »
di salah satu server, saya menggunakan kloxo Kloxo-MR 7.0.0.b-2016032701
bagaimana caranya supaya bisa update ke Kloxo-MR 7.0.0.b-2016051801

biar ada let's encryptnya :)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +113/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: bagaimana Cara update kloxo?
« Reply #1 on: 2016-05-19, 04:45:29 »
Jalankan 'yum clean all; yum update -y; sh /script/cleanup'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hendiana

  • Valuable Member
  • *
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: bagaimana Cara update kloxo?
« Reply #2 on: 2016-05-19, 06:21:27 »
menjalankan yum clean all, muncul error:

Code: [Select]
[root@dutadumay2 /]# yum clean all
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 300, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 115, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConfig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 894, in readStartupConfig
    startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 1045, in _getsysver
    hdr = idx.next()
StopIteration
[root@dutadumay2 /]#

gimana ya?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +113/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: bagaimana Cara update kloxo?
« Reply #3 on: 2016-05-19, 06:33:04 »
Coba jalankan 'sh /script/fix-yum'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hendiana

  • Valuable Member
  • *
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: bagaimana Cara update kloxo?
« Reply #4 on: 2016-05-19, 07:30:48 »
errornya sama pak

Code: [Select]
[root@dutadumay2 /]# sh /script/fix-yum
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 300, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 115, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConfig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 894, in readStartupConfig
    startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 1045, in _getsysver
    hdr = idx.next()
StopIteration
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 300, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 115, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConfig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 894, in readStartupConfig
    startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 1045, in _getsysver
    hdr = idx.next()
StopIteration
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 300, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 115, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConfig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 894, in readStartupConfig
    startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 1045, in _getsysver
    hdr = idx.next()
StopIteration
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 300, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 115, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConfig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 894, in readStartupConfig
    startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 1045, in _getsysver
    hdr = idx.next()
StopIteration
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 300, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 115, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConfig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 894, in readStartupConfig
    startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 1045, in _getsysver
    hdr = idx.next()
StopIteration
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in <module>
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 300, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 115, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 229, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConfig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 894, in readStartupConfig
    startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 1045, in _getsysver
    hdr = idx.next()
StopIteration
Traceback (most recent call last):
  File "/usr/bin/package-cleanup", line 428, in <module>
    util = PackageCleanup()
  File "/usr/bin/package-cleanup", line 60, in __init__
    self.main()
  File "/usr/bin/package-cleanup", line 318, in main
    opts = self.doUtilConfigSetup()
  File "/usr/share/yum-cli/utils.py", line 262, in doUtilConfigSetup
    self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConfig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 894, in readStartupConfig
    startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 1045, in _getsysver
    hdr = idx.next()
StopIteration
Traceback (most recent call last):
  File "/usr/bin/package-cleanup", line 428, in <module>
    util = PackageCleanup()
  File "/usr/bin/package-cleanup", line 60, in __init__
    self.main()
  File "/usr/bin/package-cleanup", line 318, in main
    opts = self.doUtilConfigSetup()
  File "/usr/share/yum-cli/utils.py", line 262, in doUtilConfigSetup
    self.conf
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 911, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 300, in _getConfig
    startupconf = config.readStartupConfig(fn, root)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 894, in readStartupConfig
    startupconf.releasever = _getsysver(startupconf.installroot, startupconf.distroverpkg)
  File "/usr/lib/python2.6/site-packages/yum/config.py", line 1045, in _getsysver
    hdr = idx.next()
StopIteration
[root@dutadumay2 /]#

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +113/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: bagaimana Cara update kloxo?
« Reply #5 on: 2016-05-19, 13:53:04 »
Coba:
Code: [Select]
yum clean all
rm -f /var/lib/rpm/__db*
rpm --rebuilddb
yum update
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hendiana

  • Valuable Member
  • *
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: bagaimana Cara update kloxo?
« Reply #6 on: 2016-05-20, 02:21:53 »
masih error yang sama pak

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +113/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: bagaimana Cara update kloxo?
« Reply #7 on: 2016-05-20, 02:23:30 »
Ok, beri saya akses ke ssh dan Kloxo-MR panel. Silahkan kirim infonya via PM
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline hendiana

  • Valuable Member
  • *
  • Posts: 53
  • Karma: +0/-0
    • View Profile
Re: bagaimana Cara update kloxo?
« Reply #8 on: 2016-05-20, 02:43:17 »
sudah dikirim pak

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +113/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: bagaimana Cara update kloxo?
« Reply #9 on: 2016-05-20, 04:02:24 »
Error muncul karena missing untuk 'yum' dan 'rpm'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tuwaga

  • Junior Member
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: bagaimana Cara update kloxo?
« Reply #10 on: 2016-12-16, 09:41:52 »
Apakah ada yang pernah mengalami error ketika lakukan sh /script/cleanup seperti di berikut...

Quote
Copy all contents from ../file/trafficserver
- Copy to /opt/configs/trafficserver
Updating All Php (branch and multiple)






Error: Need to pass a list of pkgs to install
ls: cannot access ./*.rpm: No such file or directory
^[[B^[[A^[[B^[[B^[[B







Error: Need to pass a list of pkgs to install


ls: cannot access ./*.rpm: No such file or directory

Initialize PureFtp service
- Initialize process
- Restart pure-ftpd service
Initialize logrotates
Installing All Web servers



Thanks.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +113/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: bagaimana Cara update kloxo?
« Reply #11 on: 2016-12-16, 10:17:08 »
Ada masalah dengan 'multiple php'. Coba 'sh /script/phpm-all-install -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline tuwaga

  • Junior Member
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: bagaimana Cara update kloxo?
« Reply #12 on: 2016-12-19, 04:21:58 »
Hi pak MR,

Result nya seperti berikut...

Quote
# sh /script/phpm-all-install -y
=== BEGIN 'php54m' install ===
- Dependencies rpms... Please wait!
-- Check dependencies rpms
-- Install dependencies rpms
Error: Need to pass a list of pkgs to install
- Download all rpms (not including debuginfo)... Please wait!
- Extract all rpms to '/opt/php54m'
ls: cannot access ./*.rpm: No such file or directory
- Disable certain modules (rename to .nonini) in 'php.d' and 'php-zts.d'
-- Fix 'extension' path of 'apc.nonini' in '/etc/php54m/etc/php.d'
-- Fix 'extension' path of 'bcmath.ini' in '/etc/php54m/etc/php.d'
-- Fix 'extension' path of 'curl.ini' in '/etc/php54m/etc/php.d'

-- Disable 'dba' in '/etc/php54m/etc/php.d'
-- Disable 'pdo_dblib' in '/etc/php54m/etc/php.d'
-- Disable 'pdo_odbc' in '/etc/php54m/etc/php.d'
-- Disable 'pdo_pgsql' in '/etc/php54m/etc/php.d'
-- Disable 'pgsql' in '/etc/php54m/etc/php.d'
-- Disable 'suhosin' in '/etc/php54m/etc/php.d'
-- Disable 'odbc' in '/etc/php54m/etc/php.d'

- Copy certain files to '/opt/php54m/custom'
- Set .sh to 755
- Create .sh symlink
-- From '/opt/php54m/custom/php-cgi.sh' to '/usr/bin/php54m-cgi'
-- From '/opt/php54m/custom/php-cli.sh' to '/usr/bin/php54m-cli'
-- From '/opt/php54m/custom/php-ls.sh' to '/usr/bin/php54m-ls'
-- From '/opt/php54m/custom/php-fpm.sh' to '/usr/bin/php54m-fpm'
- Create symlink from /opt/php54m/usr/lib64 to /opt/php54m/usr/lib
=== END 'php54m' install ===

*** Process Time: 00:00:00:04.4311 (dd:hh:mm:ss:xxxxxx) ***


Note:
 - See '/opt/php54m/install.log' for detail install process
 - Example: copy 'xcache.nonini' to '_xcache.ini' or 'xcache_used.ini'
      for enable 'xcache' module in '/etc/php54m/etc/php.d'
 - For config setup only, run 'sh /script/phpm-config-setup php54m

=== BEGIN 'php54s' install ===
- Dependencies rpms... Please wait!
-- Check dependencies rpms
-- Install dependencies rpms
Error: Need to pass a list of pkgs to install
- Download all rpms (not including debuginfo)... Please wait!
- Extract all rpms to '/opt/php54s'
ls: cannot access ./*.rpm: No such file or directory
- Disable certain modules (rename to .nonini) in 'php.d' and 'php-zts.d'
-- Fix 'extension' path of 'apc.nonini' in '/etc/php54s/etc/php.d'
-- Fix 'extension' path of 'bcmath.ini' in '/etc/php54s/etc/php.d'
-- Fix 'extension' path of 'curl.ini' in '/etc/php54s/etc/php.d'
-- Fix 'extension' path of 'dba.nonini' in '/etc/php54s/etc/php.d'

-- Disable 'dba' in '/etc/php54s/etc/php.d'
-- Disable 'pdo_dblib' in '/etc/php54s/etc/php.d'
-- Disable 'pdo_odbc' in '/etc/php54s/etc/php.d'
-- Disable 'pdo_pgsql' in '/etc/php54s/etc/php.d'
-- Disable 'pgsql' in '/etc/php54s/etc/php.d'
-- Disable 'suhosin' in '/etc/php54s/etc/php.d'
-- Disable 'odbc' in '/etc/php54s/etc/php.d'

- Copy certain files to '/opt/php54s/custom'
- Set .sh to 755
- Create .sh symlink
-- From '/opt/php54s/custom/php-cgi.sh' to '/usr/bin/php54s-cgi'
-- From '/opt/php54s/custom/php-cli.sh' to '/usr/bin/php54s-cli'
-- From '/opt/php54s/custom/php-ls.sh' to '/usr/bin/php54s-ls'
-- From '/opt/php54s/custom/php-fpm.sh' to '/usr/bin/php54s-fpm'
- Create symlink from /opt/php54s/usr/lib64 to /opt/php54s/usr/lib
=== END 'php54s' install ===

*** Process Time: 00:00:00:04.4449 (dd:hh:mm:ss:xxxxxx) ***


Note:
 - See '/opt/php54s/install.log' for detail install process
 - Example: copy 'xcache.nonini' to '_xcache.ini' or 'xcache_used.ini'
      for enable 'xcache' module in '/etc/php54s/etc/php.d'
 - For config setup only, run 'sh /script/phpm-config-setup php54s

#


Thanks.

Offline tuwaga

  • Junior Member
  • *
  • Posts: 23
  • Karma: +0/-0
    • View Profile
Re: bagaimana Cara update kloxo?
« Reply #13 on: 2016-12-23, 08:56:38 »

Hi pak MR,

Apakah ada solusi lain karena saat ini masih belum bisa di update Kloxo-MR 7 nya masih di versi 7.0.0.b-2016120101.



Thanks.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +113/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: bagaimana Cara update kloxo?
« Reply #14 on: 2016-12-23, 11:43:03 »
Ya harus diupdate. Jika gagal update, bisa jadi karena ada masalah di 'yum' sendiri atau user menambah repo yang berakibat conflict dengan repo 'bawaan' Kloxo-MR.

Ya harus dibereskan masalahnya.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.048 seconds with 18 queries.

web stats analysis