Get the most out of your Centmin Mod LEMP stack
Become a Member

phpmyadmin.sh Addon

Discussion in 'Add Ons' started by eva2000, May 25, 2014.

  1. pamamolf

    pamamolf Premium Member Premium Member

    3,943
    399
    83
    May 31, 2014
    Ratings:
    +775
    Local Time:
    7:49 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    I just reinstall it and works great.

    Don't know why it stopped working .....

     
  2. sepulchre

    sepulchre Member

    167
    22
    18
    Dec 22, 2014
    Ratings:
    +28
    Local Time:
    6:49 AM
    Yes, uninstalling and installing again worked.

    Though I still can't access it via Firefox because of SSL certificate not being valid. Have to use chrome to bypass the warning.
     
  3. bitserver

    bitserver New Member

    14
    4
    3
    Feb 15, 2020
    Ratings:
    +6
    Local Time:
    7:49 AM
    I have installed phpmyadmin but get 404 error. what to do now? I checked the firewall and got this:
    40 0 0 ACCEPT tcp -- !lo * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:9418
    27 0 0 ACCEPT tcp -- * !lo 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:9418

    Thank you
     
    Last edited: Mar 3, 2021
  4. eva2000

    eva2000 Administrator Staff Member

    46,976
    10,646
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,525
    Local Time:
    2:49 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Port 9418 has nothing to do with phpmyadmin that is for git.

    You can try uninstall and reinstall using updated version

    Code (Text):
    # uninstall existing phpmyadmin install
    /root/tools/phpmyadmin_uninstall.sh
    
    # download phpmyadmin.sh
    cd /usr/local/src/centminmod/addons
    wget --no-check-certificate https://github.com/centminmod/phpmyadmin/raw/master/phpmyadmin.sh -O phpmyadmin.sh
    
    # permissions
    chmod 0700 /usr/local/src/centminmod/addons/phpmyadmin.sh
    
    # install phpmyadmin latest
    ./phpmyadmin.sh install
     
  5. bitserver

    bitserver New Member

    14
    4
    3
    Feb 15, 2020
    Ratings:
    +6
    Local Time:
    7:49 AM
    I did uninstall and install again, same error 404 nothing found here . This is displaying as 404 page in my website hosted on the server
     
  6. vultranet

    vultranet New Member

    12
    4
    3
    Mar 25, 2020
    Spain
    Ratings:
    +6
    Local Time:
    6:49 AM
    1.19
    MariaDB 10.4
    Have you setup the hostname in server, a real hostname ?

    nano etc/hostname
     
  7. eva2000

    eva2000 Administrator Staff Member

    46,976
    10,646
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,525
    Local Time:
    2:49 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Sounds like you misconfigured main hostname vs the site nginx vhost - they're meant to be separate sites with separate nginx vhosts. You don't want the site hostname to be same as main hostname nginx vhost.

    When you install Centmin Mod it's setup a main hostname nginx vhost host for server which is where Nginx default install index page is shown. Accessing server via IP address will show that page and it's correct and should be left as is as the main hostname site is also used for statistics pages outlined here. When you create a new Nginx vhost site via centmin.sh menu option 2, 22 or nv commands, you have a separate Nginx vhost directory structure. The differences are outlined on official Config file page and at Getting Started Guide step 1 and bottom of that page here.
    start a new thread in Add Ons so can discuss your problem.
     
  8. bitserver

    bitserver New Member

    14
    4
    3
    Feb 15, 2020
    Ratings:
    +6
    Local Time:
    7:49 AM
    when I access my IP is appearing
    Centmin Mod Nginx Test Page

    the phpadmin folder is in ngnix/html

    so what can be wrong?

    Thanks
     
  9. bitserver

    bitserver New Member

    14
    4
    3
    Feb 15, 2020
    Ratings:
    +6
    Local Time:
    7:49 AM
    in etc/hostname I have the name of the server but not the its IP, what should be there the IP of the server or its name?
     
  10. bitserver

    bitserver New Member

    14
    4
    3
    Feb 15, 2020
    Ratings:
    +6
    Local Time:
    7:49 AM
    I have changed the hostname and is working, thanks
     
  11. eva2000

    eva2000 Administrator Staff Member

    46,976
    10,646
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,525
    Local Time:
    2:49 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Getting Started Guide step 1 instructions should fix that up
    Glad to hear, remember Getting Started Guide step 1 instructions for updating both system hostname and nginx main hostname vhost in virtual.conf
     
  12. skringjer

    skringjer Premium Member Premium Member

    166
    19
    18
    Apr 21, 2019
    Ratings:
    +34
    Local Time:
    9:49 AM
    Reinstallation fixed it for me too, thanks.
     
  13. redbird

    redbird Member

    79
    11
    8
    Aug 28, 2015
    Web
    Ratings:
    +20
    Local Time:
    2:49 PM
    I'm having the same problem (white screen after login) on one of our servers. All the rest of the servers phpmyadmin works just fine but not on the main production server :banghead:.

    Please help to troubleshoot this. Reinstall based on above instructions several times did not help.:mad:
     
  14. eva2000

    eva2000 Administrator Staff Member

    46,976
    10,646
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,525
    Local Time:
    2:49 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Check your phpmyadmin PHP-FPM error log at /var/log/php_myadmin_error.log don't post contents here as it may contain sensitive info you want to mask/censor out before you do like your hostname/domain names and passwords.
     
  15. redbird

    redbird Member

    79
    11
    8
    Aug 28, 2015
    Web
    Ratings:
    +20
    Local Time:
    2:49 PM
    There is nothing there. Just a few records back from 2019
     
  16. redbird

    redbird Member

    79
    11
    8
    Aug 28, 2015
    Web
    Ratings:
    +20
    Local Time:
    2:49 PM
    Here is a little update. For some reasons directories /js/dist/ and /themes/pmahomme/css/ were empty. That's why there was a blank white screen. We just manually copied them from other server and everything was good.

    Don't know why they were not copied during installation. Tried many times.
     
  17. Rake-GH

    Rake-GH Premium Member Premium Member

    173
    89
    28
    Jul 29, 2019
    USA
    Ratings:
    +135
    Local Time:
    12:49 AM
    default
    default
    Last edited: Apr 21, 2021
  18. pamamolf

    pamamolf Premium Member Premium Member

    3,943
    399
    83
    May 31, 2014
    Ratings:
    +775
    Local Time:
    7:49 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    I got the same issue and i fix it uploading the files from /js/dist/ and /themes/pmahomme/css/....

    @eva2000
    Is it possible to add a check on both folders to the updater?

    Thank you
     
  19. eva2000

    eva2000 Administrator Staff Member

    46,976
    10,646
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,525
    Local Time:
    2:49 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Hard to check if a release includes all it's required files if I don't know what is suppose to be included file wise - next time it could be a different missing file.
     
  20. pamamolf

    pamamolf Premium Member Premium Member

    3,943
    399
    83
    May 31, 2014
    Ratings:
    +775
    Local Time:
    7:49 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    What i mean is if the issue is related to empty folders to do that check....

    Yes i know if only a few files are missing it is hard to know...

    On my case i don't remember if that folders was totally empty or if they just miss a few files only....