Learn about Centmin Mod LEMP Stack today
Register Now

Install WordPress issue - Unable to edit text - Bug or not

Discussion in 'Install & Upgrades or Pre-Install Questions' started by EckyBrazzz, Aug 15, 2019.

  1. EckyBrazzz

    EckyBrazzz Active Member

    538
    112
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +207
    Local Time:
    12:25 PM
    1.17.x
    10.3.x
    Hi there,

    I created a new domain with normal option 22-1 but I'm unable to edit any text.
    The visual text editor does not work, the other, text works.

    This is not only on the new domain, but its system wide. So I don't know where to post it. Bugs or install. (here)

    Probably something inside my /etc/centminmod/custom_config.inc so here it goes because I recompiled nginx and php yesterday.
    Code (Text):
    #MARCH_TARGETNATIVE='n'
    MARCH_TARGETNATIVE_ALWAYS='y'   # force native compiler to override smarter vps detection routine
    ALERTEMAIL='private'
    WP_FASTCGI_CACHE='y'            # Enable beta option 22-4
    PHP_OVERWRITECONF='n'           # Prevents stupid mistakes ;)
    VHOSTCTRL_CLOUDFLAREINC='y'     # add VHOSTCTRL_CLOUDFLAREINC & VHOSTCTRL_AUTOPROTECTINC
    RCLONE_ENABLE='y'               # Must have entry to enable rclone addon
    #####################################################
    # Timestamp Install
    #TIME_NGINX='y'
    #TIME_PHPCONFIGURE='y'
    #TIME_MEMCACHED='y'
    #TIME_IMAGEMAGICK='y'
    #TIME_REDIS='n'
    #####################################################
    
    
    #####################################################
    # Nginx Dynamic Module Switches
    NGINX_DYNAMICTLS='y'
    NGXDYNAMIC_GEOIPTWOLITE='y'
    NGXDYNAMIC_BROTLI='n'
    NGXDYNAMIC_NGXPAGESPEED='n'     # PageSpeed
    NGXDYNAMIC_HEADERSMORE='y'
    NGXDYNAMIC_SETMISC='y'
    NGXDYNAMIC_ECHO='y'
    NGXDYNAMIC_IMAGEFILTER='y'
    NGXDYNAMIC_VHOSTSTATS='n'
    #####################################################
    
    
    #####################################################
    NGINX_HPACK='y'
    NGINX_GEOIPTWOLITE='y'          # https://github.com/leev/ngx_http_geoip2_module
    NGINX_REALIP='y'                # http://nginx.org/en/docs/http/ngx_http_realip_module.html
    NGINX_LIBBROTLI='y'
    NGINX_OPENRESTY='y'             # https://community.centminmod.com/threads/update-openresty-lua-resty-core-requirements-in-123-09beta01.15954/
    ORESTY_LUANGINX='y'             # https://community.centminmod.com/threads/update-openresty-lua-resty-core-requirements-in-123-09beta01.15954/
    NGX_LUASTREAM_FORCED='y'        # openresty stream-lua-nginx module https://github.com/openresty/stream-lua-nginx-module
    NGINX_IOURING_PATCH='y'         # Nginx 1.17.0+ and Linux Kernel 5.1 usage only 'y'
    NGINX_MODSECURITY='y'           # https://community.centminmod.com/threads/update-prep-for-modsecurity-v3-0.12453/
    NGINX_MODSECURITY_MAXMIND='y'   # https://community.centminmod.com/threads/update-inc-mod_security-inc-fix-for-geoip2-conflict-in-123-09beta01.17370/
    NGINX_VHOSTSTATS='n'            #
    NGINX_ZLIBCUSTOM='y'            # Use custom zlib instead of system version
    NGINX_ZLIBVER='1.2.11'          # http://www.zlib.net/ Latest 1.2.11 ZLIB, January 15, 2017
    NGINX_ZERODT='y'                # enable nginx zero downtime on the fly nginx binary upgrades
    AUTOTUNE_CLIENTMAXBODY='y'      # auto tune client_max_body_size option in nginx.conf
    #AUTOHARDTUNE_NGINXBACKLOG='y'   # Dedicated and KVM high traffc sites
    NGINX_FATLTO_OBJECTS='y'        # optional -ffat-lto-objects flags
    NGINXOPENSSL_FATLTO_OBJECTS='y' # optional -ffat-lto-objects flags for OPENSSL
    
    NGINX_PAGESPEED='n'             # PageSpeed
    NGINX_PAGESPEEDGITMASTER='n
    #####################################################
    
    #####################################################
    # MariaDB
    MARIADB_INSTALLTENTWO='n'       # MariaDB 10.2 YUM default install if set to yes
    MARIADB_INSTALLTENTHREE='y'     # MariaDB 10.3 YUM default install if set to yes
    MARIADB_INSTALLTENFOUR='n'      # MariaDB 10.4 YUM default install if set to yes
    #####################################################
    
    
    #####################################################
    # PHP
    PHP_PGO='y'
    STRIPPHP='y'                    # set 'y' to strip PHP binary to reduce size
    PHP_INSTALL='y'                 # Install PHP /w Fast Process Manager
    PHP_MEMCACHE='y'                # memcache PHP extension
    PHP_PATCH='y'                   # Apply PHP patches if they exist
    PHP_TUNING='y'                  # initial php-fpm install auto tuning
    PHP_BROTLI='n'                  # brotli php extension https://github.com/kjdev/php-ext-brotli
    PHP_LZFOUR='y'                  # lz4 php extension https://github.com/kjdev/php-ext-lz4
    PHP_LZF='y'                     # lzf php extension https://github.com/php/pecl-file_formats-lzf php-ext-lzf
    PHP_ZSTD='y'                    # zstd php extension https://github.com/kjdev/php-ext-zstd
    PHP_CUSTOMSSL='n'               # compile php-fpm against openssl 1.0.2+ or libressl 2.3+ whichever nginx uses
    PHPFINFO='y'                    # Disable or Enable PHP File Info extension
    PHPPCNTL='y'                    # Disable or Enable PHP Process Control extension
    PHPINTL='y'                     # Disable or Enable PHP intl extension
    PHPRECODE=n                     # Disable or Enable PHP Recode extension
    PHPIMAGICK='y'                  # Disable or Enable PHP ImagicK extension
    PHPMAKETEST='y'                 # set to y to enable make test after PHP make for diagnostic purposes
    AUTODETECPHP_OVERRIDE='y'       # when enabled, php updates will always reinstall all php extensions even if minor php version
    PHPIONCUBE='y'                  #
    MEMCACHED_INSTALL='y'           # Install Memcached
    PHPREDIS='y'                    # redis PHP extension install
    AUTODETECPHP_OVERRIDE='n'       # skip recompiles for minor versions set to'y' when compile to majoir version updates
    GCCINTEL_PHP='y'                # enable PHP-FPM GCC compiler with Intel cpu optimizations
    DEVTOOLSET_PHP='y'              # use devtoolset GCC for GCCINTEL_PHP='y'
    #####################################################
    
    
    #####################################################
    # Open SSL
    DISABLE_TLSONEZERO_PROTOCOL='y' # disable TLS 1.0 protocol by default industry is moving to deprecate for security
    NOSOURCEOPENSSL='n'             # set to 'y' to disable OpenSSL source compile for system default YUM package setup
    OPENSSL_TLSONETHREE='y'         # whether OpenSSL 1.1.1 builds enable TLSv1.3
    #####################################################
    
    LETSENCRYPT_DETECT='y'
    DUALCERTS='y'                   # dual RSA+ECDSA ssl certs https://centminmod.com/acmetool/
    
    WP_AUTOPTIMIZE_GZIP='y'         # https://community.centminmod.com/threads/15314/
    #CUSTOM_CURLRPM='y'
    


    I hope some one can give me a quick answer, time crital issue.
     
  2. eva2000

    eva2000 Administrator Staff Member

    41,088
    9,194
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,104
    Local Time:
    1:25 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    see you enabled nginx modsecurity ? could be triggering rules ? check modsec log at
    /var/log/modsec_audit.log
     
  3. EckyBrazzz

    EckyBrazzz Active Member

    538
    112
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +207
    Local Time:
    12:25 PM
    1.17.x
    10.3.x
    Strange, I created a text on a site, the normal text editor did not work, so created it <h3>some test</h3> saved it and it showed up in the normal text editor. Tested another domain, and tried to do the same, but the problem was still there.

    The log is here (only 5 views) tail -100 of the log file. (I also enabled HTST on all domains and made some new installs, that could also be it :banghead: )

    https://paste.ee/p/2hBAo#lcHoy4VLfgR2hS37GUQuU63Kefv1xaZM

    My own IP is not in the log, only the server IP
     
    Last edited: Aug 15, 2019
  4. eva2000

    eva2000 Administrator Staff Member

    41,088
    9,194
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,104
    Local Time:
    1:25 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    easiest thing to rule out modsecurity is to temporarily disable it and test
     
  5. EckyBrazzz

    EckyBrazzz Active Member

    538
    112
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +207
    Local Time:
    12:25 PM
    1.17.x
    10.3.x
    It's compiling now, but I also change the kernel to 5.x before.
     
  6. EckyBrazzz

    EckyBrazzz Active Member

    538
    112
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +207
    Local Time:
    12:25 PM
    1.17.x
    10.3.x
    Obs, got many (Cloudflare) always online pages and with a new sub-domain, never used before when installing a new site that it was not redirecting correctly...
     
  7. EckyBrazzz

    EckyBrazzz Active Member

    538
    112
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +207
    Local Time:
    12:25 PM
    1.17.x
    10.3.x
    Nope. Removing the Mod Security did not resolve the issue.

    Site opens and editor starts at text instead of visual...
     
  8. EckyBrazzz

    EckyBrazzz Active Member

    538
    112
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +207
    Local Time:
    12:25 PM
    1.17.x
    10.3.x
    Well, starting over building a new cluster. Running on beta, alfa and nighlty builds is known to have a risk.

    Glad that all sites are working, only we can't change anything. Intranet is still working, VPN also, but as it is a cluster, we have to re-craete the whole thing.:(

    But Yes, lesson learned. So never mind, a night with less sleep ain't a problem, only double sights may appear.:)