aaPanel_Kern It's an old problem that still exists today, I used to ignore it because it wasn't that urgent.

I always update the latest version of Aapanel ( 7.0.2 )

when I run the command php -S IP_ADDRESS:888 in the phpmyadmin directory from ssh the phpmyadmin url can be accessed, but after I close ssh the url cannot be accessed

    aaP_zkylizer
    /www/server/panel/vhost/openlitespeed/phpmyadmin.conf

    #VHOST phpmyadmin START
    virtualhost phpmyadmin {
    vhRoot /www/server/phpmyadmin/
    configFile /www/server/panel/vhost/openlitespeed/detail/phpmyadmin.conf
    allowSymbolLink 1
    enableScript 1
    restrained 1
    setUIDMode 0
    }
    #VHOST phpmyadmin END

    aaP_zkylizer
    /www/server/panel/vhost/openlitespeed/detail/phpmyadmin.conf

    docRoot                   $VH_ROOT
    vhDomain                  $VH_NAME
    adminEmails               example@example.com
    enableGzip                1
    enableIpGeo               1
    
    index  {
      useServer               0
      indexFiles index.php,index.html
    }
    
    errorlog /www/wwwlogs/$VH_NAME_ols.error_log {
      useServer               0
      logLevel                ERROR
      rollingSize             10M
    }
    
    accesslog /www/wwwlogs/$VH_NAME_ols.access_log {
      useServer               0
      logFormat               "%v %h %l %u %t "%r" %>s %b"
      logHeaders              5
      rollingSize             10M
      keepDays                10  compressArchive         1
    }
    
    scripthandler  {
      add                     lsapi:phpmyadmin php
    }
    
    extprocessor phpmyadmin {
      type                    lsapi
      address                 UDS://tmp/lshttpd/phpmyadmin.sock
      maxConns                10
      env                     LSAPI_CHILDREN=10
      initTimeout             600
      retryTimeout            0
      persistConn             1
      pcKeepAliveTimeout      1
      respBuffer              0
      autoStart               1
      path                    /usr/local/lsws/lsphp74/bin/lsphp
      extUser                 www
      extGroup                www
      memSoftLimit            2047M
      memHardLimit            2047M
      procSoftLimit           400
      procHardLimit           500
    }
    
    phpIniOverride  {
    php_admin_value open_basedir "/tmp:$VH_ROOT"
    }
    
    expires {
        enableExpires           1
        expiresByType           image/*=A43200,text/css=A43200,application/x-javascript=A43200,application/javascript=A43200,font/*=A43200,application/x-font-ttf=A43200
    }

      aaPanel_Kern now showing this error https://ibb.co.com/SQGVMwr
      already restart ols, fix panel ( click right above )
      can't open phpmyadmin setting, also can't uninstall

      Traceback (most recent call last):
      File "/www/server/panel/BTPanel/__init__.py", line 2530, in publicObject
      return run_exec().run(toObject, defs, get)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/www/server/panel/BTPanel/__init__.py", line 2477, in run
      result = getattr(toObject, get.action)(get)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/www/server/panel/class/panelPlugin.py", line 1123, in get_soft_find
      softInfo['ext'] = self.getPHPMyAdminStatus()
      ^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/www/server/panel/class/panelPlugin.py", line 1889, in getPHPMyAdminStatus
      result = self._get_ols_myphpadmin_info()
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/www/server/panel/class/panelPlugin.py", line 1928, in _get_ols_myphpadmin_info
      php_port = re.search(reg,conf)
      ^^^^^^^^^^^^^^^^^^^
      File "/www/server/panel/pyenv/lib/python3.12/re/__init__.py", line 177, in search
      return _compile(pattern, flags).search(string)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      TypeError: expected string or bytes-like object, got 'bool'

        Hello, is the problem solved? Is it normal to try restarting the panel? Also check if the server can connect to our node server?
        restart panel: bt restart

        curl -v https://brandnew.aapanel.com
        ping brandnew.aapanel.com -c 5
        ping google.com -c 5
        curl -v http://brandnew.aapanel.com

        aaP_zkylizer

          Hi, can you give us your aapanel information? The server makes a snapshot backup first, if possible, please send it to kern@aapanel.com.
          It is recommended to fill in the following
          Post link:
          SSH IP address, account password and port:
          aapanel login link address and account password:
          Detailed problem description:

          No post link will not be able to know which user's information is, and the problem will not be processed

          aaP_zkylizer

            aaPanel_Kern I don't understand how to backup and restore. I think I'll just leave it like that
            thank you for the good response

            i did create the two files too, but ...
            the same thing is happening to me

              Hello, is the problem solved? Is it normal to try restarting the panel? Also check if the server can connect to our node server?
              restart panel: bt restart

              curl -v https://brandnew.aapanel.com
              ping brandnew.aapanel.com -c 5
              ping google.com -c 5
              curl -v http://brandnew.aapanel.com

              evertompb

                10 days later

                The same error, I'm use Rocky Linux 8.10, php 8.0 and php 8.2, OpenLiteSpeed, MariaDB 11.11.6.

                I have already reinstalled it several times, and several versions, 4.9, 5.0, 5.1, 5.2. They all have the same problems. I created the phpMyAdmin.conf file in the folder /www/server/panel/vhost/openlitespeed and /www/server/panel/vhost/openlitespeed/detail

                  Connect with us: 📨 Telegram 💬 Discord Email: support@aapanel.com