[MODULE] phpMyAdmin-AU (Auto-Update)
#1
[MODULE] phpMyAdmin-AU (Auto-Update)
This is just a reworking of the original phpMyAdmin module that will check daily for updates and will download and install them automatically.

This module was originally created by VJFTW and has since been modified by TGates to work with Sentora.

Add my repo if you do not already have it:

Code:
zppy repo add zppy-repo.mach-hosting.com/repo zppy update

*** NOTICE ***: You must be running php 5.5 in order to continue using this module!'
phpMyAdmin Site: Wrote:Welcome to phpMyAdmin 4.5.+, the minimum required PHP version is now 5.5 (older versions have reached End of Life and are no longer supported by the PHP development team).

Before first installation of this module, I suggest you make a backup of the files and folders just in case something goes wrong during one of the updates. (It may be an older version when you restore, but at least you will still have your configs!)

Install or Upgrade as needed:

Code:
zppy install phpmyadmin-au or zppy upgrade phpmyadmin-au


You can then disable the core phpMyAdmin module so your users do not get confused Wink

Donations for any of my modules or forum help can be sent to HERE Thanks!
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#2
RE: phpMyAdmin-AU (Auto-Update)
I get a 404 error with the zppy command and also when trying to download it directly from the repo site.
Is this no longer available?
My geeky side: thefuzz.xyz | Photo & Video: fuzzymannerz.co.uk
Reply
#3
RE: phpMyAdmin-AU (Auto-Update)
Sorry about that, forgot to change zip to zpp Blush 
Should be all set now Big Grin
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#4
RE: phpMyAdmin-AU (Auto-Update)
(10-05-2015, 01:49 PM)TGates Wrote: Sorry about that, forgot to change zip to zpp Blush 
Should be all set now Big Grin

Nice one, thanks! Smile
My geeky side: thefuzz.xyz | Photo & Video: fuzzymannerz.co.uk
Reply
#5
RE: phpMyAdmin-AU (Auto-Update)
Has this since been retired?

I'm getting the following nowadays:


Saving to: ‘phpmyadmin-au.zpp’

phpmyadmin-au.zpp   100%[===================>]   8.25K  --.-KB/s    in 0s

2016-08-04 08:38:59 (246 MB/s) - ‘phpmyadmin-au.zpp’ saved [8443/8443]

An error occured, The package archive could not be extracted!
Reply
#6
RE: phpMyAdmin-AU (Auto-Update)
I'll check it out right now. It should still be functioning.

I am running it and have version: 4.6.3 (up to date)

(Still checking...)

Just did a remove and reinstall and it worked fine.
Code:
root@cp:~# zppy remove phpmyadmin-au Removing "phpmyadmin-au" will delete the module folder and drop any tables used by the module! Please confirm you want to remove this module? [y/N]y Removing phpmyadmin-au module.. root@cp:~# zppy update Updating package list..   Connecting to zpx.imerlabs.com   Getting list from zpx.imerlabs.com   Connecting to zppy-repo.mach-hosting.com/repo   Getting list from zppy-repo.mach-hosting.com/repo Local package cache is now up-to-date! root@cp:~# zppy install phpmyadmin-au Module to be installed phpmyadmin-au --2016-08-04 12:25:37--  http://zppy-repo.mach-hosting.com/repo/phpmyadmin-au.zpp Resolving zppy-repo.mach-hosting.com (zppy-repo.mach-hosting.com)... 127.0.0.1 Connecting to zppy-repo.mach-hosting.com (zppy-repo.mach-hosting.com)|127.0.0.1|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 8443 (8.2K) Saving to: ‘phpmyadmin-au.zpp’ 100%[======================================>] 8,443       --.-K/s   in 0s 2016-08-04 12:25:37 (110 MB/s) - ‘phpmyadmin-au.zpp’ saved [8443/8443] Module installed successfully!

Is this the only module you are having an install issue with? I'm thinking it could be a permissions error in the folders.

Try and install another module and see what happens.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#7
RE: phpMyAdmin-AU (Auto-Update)
I just installed phpMyAdmin-AU from this repo and got this error:
phpMyAdmin - Error
#2002 - No such file or directory
The server is not responding (or the local server's socket is not correctly configured).

Have tried restarting httpd and mysql, changing config.inc.php, but nothing worked. I have several applications running on that server and they can still connect to MySQL databases, though.

How to fix this problem? Is there any file logs that can be checked?
Reply
#8
RE: phpMyAdmin-AU (Auto-Update)
The module is very simple. It just runs a check to see what version you have installed and compares it to the phpmyadmin repository and updates it if necessary.

As I said to the first question, did you check your file and folder permissions?

@rein:
Check /etc/sentora/panel/etc/apps/phpmyadmin/ and make sure the files are there.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#9
RE: phpMyAdmin-AU (Auto-Update)
(08-06-2016, 05:24 AM)TGates Wrote: As I said to the first question, did you check your file and folder permissions?

@rein:
Check /etc/sentora/panel/etc/apps/phpmyadmin/ and make sure the files are there.

I checked that directory and found 's' folder. PhpMyAdmin files were inside that folder (no idea how they can be moved there Huh ). I just moved those files to /etc/sentora/panel/etc/apps/phpmyadmin/ and everything works well now. Thanks a lot!
Reply
#10
RE: phpMyAdmin-AU (Auto-Update)
Ok, great! What happens is, the auto-update saves the config file, deletes ll the rest, then reinstalls all the new files from the phpmyadmin repository. It then copies back the config file. To be on the safe side, I make a backup of the phpmyadmin folder once every 6 months just to make sure.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
[Module] ELFileManager (build on elfinder) Diablo925 94 332 ,265 05-30-2024, 05:25 AM
Last Post: TGates
[MODULE] SenBrand - Basic Branding module for Sentora TGates 20 58 ,479 06-04-2021, 11:47 AM
Last Post: ccr1969
[MODULE] CoinCorner BitCoin Module Xversion 4 16 ,839 06-03-2021, 05:02 AM
Last Post: zHostingSolutions

Forum Jump:


Users browsing this thread: 1 Guest(s)