Install Lua packages with radosgw-admin

Mohammad Zare

New Member
May 7, 2022
1
0
1
Hi,
I want to install luajson package with following command, but when I execute this command, the package can not be installed and following error appeared.
radosgw-admin script-package add --package=luajson

Code:
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid
*** Caught signal (Aborted) **
 in thread 7f623493f340 thread_name:radosgw-admin
 ceph version 16.2.5 (0883bdea7337b95e4b611c768c0279868462204a) pacific (stable)
 1: /lib64/libpthread.so.0(+0x12b20) [0x7f6228b1eb20]
 2: gsignal()
 3: abort()
 4: /lib64/libstdc++.so.6(+0x9009b) [0x7f6227ad709b]
 5: /lib64/libstdc++.so.6(+0x9653c) [0x7f6227add53c]
 6: /lib64/libstdc++.so.6(+0x96597) [0x7f6227add597]
 7: /lib64/libstdc++.so.6(+0x967f8) [0x7f6227add7f8]
 8: /lib64/libstdc++.so.6(+0x92097) [0x7f6227ad9097]
 9: /lib64/libstdc++.so.6(+0xb92e8) [0x7f6227b002e8]
 10: (std::locale::_Impl::_Impl(char const*, unsigned long)+0x5d) [0x7f6227af18dd]
 11: (std::locale::locale(char const*)+0x362) [0x7f6227af2692]
 12: (boost::this_process::path()+0x31a) [0x5574ada0dc9a]
 13: (rgw::lua::add_package(DoutPrefixProvider const*, rgw::sal::RGWRadosStore*, optional_yield, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)+0x66) [0x5574ada07976]
 14: main()
 15: __libc_start_main()
 16: _start()
2022-05-07T07:47:39.124+0000 7f623493f340 -1 *** Caught signal (Aborted) **
 in thread 7f623493f340 thread_name:radosgw-admin
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!