kbentlage / da-redis-management Goto Github PK
View Code? Open in Web Editor NEWDirectAdmin plugin for managing user's redis instances
DirectAdmin plugin for managing user's redis instances
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading redis-5.2.2.tgz ...
Starting to download redis-5.2.2.tgz (251,629 bytes)
.....................................................done: 251,629 bytes
29 source files, building
running: phpize73
Warning: popen() has been disabled for security reasons in PEAR/Builder.php on line 525
PHP Warning: popen() has been disabled for security reasons in /usr/local/php73/lib/php/PEAR/Builder.php on line 525
ERROR: failed to run `phpize73'
cat: /usr/local/lib/php.conf.d/20-custom.ini: No such file or directory
install.sh: line 35: /usr/local/lib/php.conf.d/20-custom.ini: No such file or directory
Created symlink from /etc/systemd/system/multi-user.target.wants/redis.service to /usr/lib/systemd/system/redis.service.
[root@srv2 setup]# cd ..
[root@srv2 redis_management]# sh install.sh
sh: install.sh: No such file or directory
[root@srv2 redis_management]# cd /usr/local/directadmin/plugins/redis_management
[root@srv2 redis_management]# git pull
Already up-to-date.
[root@srv2 redis_management]# cd ..
[root@srv2 plugins]# git clone https://github.com/kbentlage/da-redis-management.git redis_management
fatal: destination path 'redis_management' already exists and is not an empty directory.
[root@srv2 plugins]# sh redis_management/scripts/install.sh
[root@srv2 plugins]# cd /usr/local/directadmin/plugins/redis_management/setup
[root@srv2 setup]# sh install.sh
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading redis-5.2.2.tgz ...
Starting to download redis-5.2.2.tgz (251,629 bytes)
.....................................................done: 251,629 bytes
29 source files, building
running: phpize73
Warning: popen() has been disabled for security reasons in PEAR/Builder.php on line 525
PHP Warning: popen() has been disabled for security reasons in /usr/local/php73/lib/php/PEAR/Builder.php on line 525
ERROR: failed to run `phpize73'
cat: /usr/local/lib/php.conf.d/20-custom.ini: No such file or directory
install.sh: line 35: /usr/local/lib/php.conf.d/20-custom.ini: No such file or directory
[root@srv2 setup]# popen() has been disabled for security reasons
Really like the plugin but styling looks terrible on Evolution skin. Hopefully this can be fixed in the future.
When I sudo sh redis_management/scripts/install.sh
I get the following:
PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/redis.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Do you have a clue? I've installed readi following https://linuxize.com/post/how-to-install-and-configure-redis-on-centos-7/
When installing i get an error. I have 2 php versions and it seems to install fine on php7, it doesn't on php 5.6.
Not sure why because these kind of errors are new for me.
Warning: popen() has been disabled for security reasons in OS/Guess.php on line 241
PHP Warning: popen() has been disabled for security reasons in /usr/local/php56/lib/php/OS/Guess.php on line 241
Warning: fgets() expects parameter 1 to be resource, null given in OS/Guess.php on line 242
PHP Warning: fgets() expects parameter 1 to be resource, null given in /usr/local/php56/lib/php/OS/Guess.php on line 242
Warning: pclose() expects parameter 1 to be resource, null given in OS/Guess.php on line 251
PHP Warning: pclose() expects parameter 1 to be resource, null given in /usr/local/php56/lib/php/OS/Guess.php on line 251
downloading redis-2.2.8.tgz ...
Starting to download redis-2.2.8.tgz (192,131 bytes)
.........................................done: 192,131 bytes
20 source files, building
running: phpize56
Warning: popen() has been disabled for security reasons in PEAR/Builder.php on line 465
PHP Warning: popen() has been disabled for security reasons in /usr/local/php56/lib/php/PEAR/Builder.php on line 465
ERROR: failed to run `phpize56'
Do i need to install something or change configs? I hope you can give some advice.
How to install?
I have Ubuntu server system
Is it possible (or better) to change the directory var/lib/redis to home/redis as sometimes the root diectory is not big enough for large databases.
after I install this plugin, no error during the installation but I found no create instance link in the plugin page. How can I fix this?
Hi
When DA update version 1.62.9.
Pro Pack have manage Redis.
There's been a conflict with da redis mangagement.
How do I remove it completely?
Hi,
After installing I get multiple errors/warnings: First after installing Redis in ssh
error 1:
#Complete!
mount: can't find /tmp in /etc/fstab
pecl/redis is already installed and is the same as the released version 3.1.6
install failed
mount: can't find /tmp in /etc/fstab
Created symlink from /etc/systemd/system/multi-user.target.wants/redis.service to /usr/lib/systemd/system/redis.service.
error 2.
I created local.php. In DirectAdmin, when I create a Redis Instance, It creates two instances, 7001 and 7002. I don´t have any idea whi it creates two instances.
and when deleting an instance, I get thos message:
Redis instance is not deleted, due to an unkown error. Back to list.
but when I go back to the list, the instance is deleted.
Any ideas?
Hi,
When I'm trying to add a new Redis instance within DA, it's causing an error:
Warning: file_put_contents(/etc/redis/instances/7001.conf): failed to open stream: Permission denied in /usr/local/directadmin/plugins/redis_management/php/Controllers/RedisController.php on line 314
Redis instance is not created, due to an unkown error. Back to list.
Hello,
I get the following warning when creating a redis instance
Warning: shell_exec() has been disabled for security reasons in /usr/local/directadmin/plugins/redis_management/php/Controllers/RedisController.php on line 448 Warning: shell_exec() has been disabled for security reasons in /usr/local/directadmin/plugins/redis_management/php/Controllers/RedisController.php on line 448
How can i fix this so the redis managment can us shell_exec?
Using PHP7.3 with the latest DirectAdmin
The plugin does not remove redis instance if user deleted from DA panel.
Files left:
/etc/redis/instances/70XX.conf
and entrance in /usr/local/directadmin/plugins/redis_management/data/instances.json file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.