For the first time a white screen with new WP install

#1
Hmm, don't know what is going on but as usual launched a new Vultr server, installed litespeed, switched off Nginx, activated it and now I got a white screen on a fresh WP install..

When I activate Apache again it works as normal.

I've installed and activated litespeed tons of times in the exact same way through Plesk never had any issues but it's acting up, don't know how to solve it now.
 

qtwrk

Well-Known Member
#2
Hi,

Did you install LSCWP plugin ? as I mean did the white screen happen with or without cache plugin ?


Also did you see any error log in Plesk log viewer ? in particularly , PHP part.

Best regards
 
#3
Hi,

Did you install LSCWP plugin ? as I mean did the white screen happen with or without cache plugin ?


Also did you see any error log in Plesk log viewer ? in particularly , PHP part.

Best regards
Havent installed anything yet.

My process is always the same. Deploy vultr server, login, update the server, update plesk, install the litespeed plugin, swithch on Nginx, activate litespeed server, install WP and that was pretty much it. Nothing crazy, everything fresh fresh but now after I install a new WP, it's a white screen.

I will have to duplicate it with a test server as for now on the targeted domain I kept Apache with Nginx proxy so I don't get behind.
 

qtwrk

Well-Known Member
#4
Hi,

OK

so if you come from nginx + apache stack , after you have disabled nginx , please run

Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
and then switch to LSWS.

I noticed a bug in Plesk v18 , that if you disable nginx , it won't regenerate apache conf as it did in v17 and older version

maybe that's related, please try that command , or run

Code:
plesk repair web

and then swtich to lsws, see how it goes.
 
#5
Hi,

OK

so if you come from nginx + apache stack , after you have disabled nginx , please run

Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
and then switch to LSWS.

I noticed a bug in Plesk v18 , that if you disable nginx , it won't regenerate apache conf as it did in v17 and older version

maybe that's related, please try that command , or run

Code:
plesk repair web

and then swtich to lsws, see how it goes.
Thank you for the suggestions, unfortunately still error 500, very frustrating :(
 
#7
Hi,

Could you please post or upload the file /usr/local/lsws/conf/httpd_config.xml ?

Best regards,
Sure, its a long ass text though

Code:
<?xml version="1.0" encoding="UTF-8"?>
<httpServerConfig>
  <serverName>$HOSTNAME</serverName>
  <user>www-data</user>
  <group>www-data</group>
  <priority>0</priority>
  <chrootPath>/</chrootPath>
  <enableChroot>0</enableChroot>
  <inMemBufSize>60M</inMemBufSize>
  <swappingDir>/tmp/lshttpd/swap</swappingDir>
  <autoRestart>1</autoRestart>
  <autoFix503>0</autoFix503>
  <loadApacheConf>1</loadApacheConf>
  <autoReloadApacheConf>2</autoReloadApacheConf>
  <apacheBinPath>/usr/sbin/apache2</apacheBinPath>
  <apacheConfFile>/etc/apache2/apache2.conf</apacheConfFile>
  <apachePortOffset>0</apachePortOffset>
  <apacheIpOffset>0</apacheIpOffset>
  <apacheIgnoredModules>mod_php4,mod_php5,mod_php7,sapi_apache2,python</apacheIg                 noredModules>
  <phpSuExec>0</phpSuExec>
  <phpSuExecMaxConn>10</phpSuExecMaxConn>
  <apacheEnvVars>APACHE_RUN_USER=www-data
APACHE_RUN_GROUP=www-data
APACHE_PID_FILE=/var/run/apache2/apache2.pid</apacheEnvVars>
  <mime>$SERVER_ROOT/conf/mime.properties</mime>
  <disableInitLogRotation>1</disableInitLogRotation>
  <showVersionNumber>0</showVersionNumber>
  <enableIpGeo></enableIpGeo>
  <useIpInProxyHeader></useIpInProxyHeader>
  <autoUpdateInterval>86400</autoUpdateInterval>
  <autoUpdateDownloadPkg>1</autoUpdateDownloadPkg>
  <adminEmails>8spam8@mail.com</adminEmails>
  <adminRoot>$SERVER_ROOT/admin/</adminRoot>
  <logging>
    <log>
      <fileName>/var/log/apache2/error.log</fileName>
      <logLevel>DEBUG</logLevel>
      <debugLevel>0</debugLevel>
      <rollingSize>2000M</rollingSize>
      <enableStderrLog>1</enableStderrLog>
      <enableAioLog>1</enableAioLog>
    </log>
    <accessLog>
      <fileName>$SERVER_ROOT/logs/access.log</fileName>
      <rollingSize>10M</rollingSize>
      <keepDays>30</keepDays>
      <compressArchive>0</compressArchive>
    </accessLog>
  </logging>
  <indexFiles>index.html, index.php, index.htm</indexFiles>
  <autoIndex></autoIndex>
  <autoIndexURI></autoIndexURI>
  <htAccess>
    <allowOverride>31</allowOverride>
    <accessFileName>.htaccess</accessFileName>
  </htAccess>
  <expires>
    <enableExpires>1</enableExpires>
    <expiresByType>image/*=A604800, text/css=A604800, application/x-javascript=A                 604800, application/javascript=A604800,font/*=A604800,application/x-font-ttf=A60                 4800</expiresByType>
  </expires>
  <tuning>
    <maxConnections>10000</maxConnections>
    <maxSSLConnections>10000</maxSSLConnections>
    <connTimeout>120</connTimeout>
    <maxKeepAliveReq>10000</maxKeepAliveReq>
    <smartKeepAlive>0</smartKeepAlive>
    <keepAliveTimeout>10</keepAliveTimeout>
    <sndBufSize>0</sndBufSize>
    <rcvBufSize>0</rcvBufSize>
    <eventDispatcher>best</eventDispatcher>
    <maxCachedFileSize>4096</maxCachedFileSize>
    <totalInMemCacheSize>20M</totalInMemCacheSize>
    <maxMMapFileSize>256K</maxMMapFileSize>
    <totalMMapCacheSize>40M</totalMMapCacheSize>
    <useSendfile>1</useSendfile>
    <useAIO>1</useAIO>
    <AIOBlockSize>4</AIOBlockSize>
    <etagNoInode>1</etagNoInode>
    <SSLCryptoDevice>null</SSLCryptoDevice>
    <maxReqURLLen>8192</maxReqURLLen>
    <maxReqHeaderSize>16380</maxReqHeaderSize>
    <maxReqBodySize>500M</maxReqBodySize>
    <maxDynRespHeaderSize>8K</maxDynRespHeaderSize>
    <maxDynRespSize>500M</maxDynRespSize>
    <enableGzipCompress>1</enableGzipCompress>
    <enableDynGzipCompress>1</enableDynGzipCompress>
    <compressibleTypes>text/*, application/x-javascript, application/xml, applic                 ation/javascript, image/svg+xml,application/rss+xml</compressibleTypes>
    <gzipAutoUpdateStatic>1</gzipAutoUpdateStatic>
    <gzipCacheDir></gzipCacheDir>
  </tuning>
  <security>
    <fileAccessControl>
      <followSymbolLink>1</followSymbolLink>
      <checkSymbolLink>0</checkSymbolLink>
      <forceStrictOwnership>1</forceStrictOwnership>
      <requiredPermissionMask>000</requiredPermissionMask>
      <restrictedPermissionMask>000</restrictedPermissionMask>
      <restrictedScriptPermissionMask>000</restrictedScriptPermissionMask>
      <restrictedDirPermissionMask>000</restrictedDirPermissionMask>
    </fileAccessControl>
    <perClientConnLimit>
      <staticReqPerSec>0</staticReqPerSec>
      <dynReqPerSec>0</dynReqPerSec>
      <outBandwidth>0</outBandwidth>
      <inBandwidth>0</inBandwidth>
      <softLimit>10000</softLimit>
      <hardLimit>10000</hardLimit>
      <gracePeriod>15</gracePeriod>
      <banPeriod>300</banPeriod>
    </perClientConnLimit>
    <CGIRLimit>
      <maxCGIInstances>200</maxCGIInstances>
      <minUID>11</minUID>
      <minGID>10</minGID>
      <priority>0</priority>
      <CPUSoftLimit>60</CPUSoftLimit>
      <CPUHardLimit>120</CPUHardLimit>
      <memSoftLimit>1450M</memSoftLimit>
      <memHardLimit>1500M</memHardLimit>
      <procSoftLimit>1400</procSoftLimit>
      <procHardLimit>1450</procHardLimit>
    </CGIRLimit>
    <censorshipControl>
      <enableCensorship>0</enableCensorship>
      <logLevel>0</logLevel>
      <defaultAction>deny,log,status:403</defaultAction>
      <scanPOST>1</scanPOST>
    </censorshipControl>
    <accessDenyDir>
      <dir>/</dir>
      <dir>/etc/*</dir>
      <dir>/dev/*</dir>
      <dir>$SERVER_ROOT/conf/*</dir>
      <dir>$SERVER_ROOT/admin/conf/*</dir>
    </accessDenyDir>
    <accessControl>
      <allow>ALL</allow>
      <deny></deny>
    </accessControl>
  </security>
  <extProcessorList>
    <extProcessor>
        <type>logger</type>
        <name>/usr/local/psa/admin/sbin/pipelog</name>
        <note>Added for Plesk Pipe logger setup.</note>
        <maxConns>1</maxConns>
        <path>/usr/local/psa/admin/sbin/pipelog</path>
        <instances>1</instances>
        <priority>10</priority>
    </extProcessor>
  </extProcessorList>
  <scriptHandlerList>
  </scriptHandlerList>
  <phpConfig>
    <maxConns>35</maxConns>
    <env>PHP_LSAPI_CHILDREN=35</env>
    <initTimeout>60</initTimeout>
    <retryTimeout>0</retryTimeout>
    <pcKeepAliveTimeout>1</pcKeepAliveTimeout>
    <respBuffer>0</respBuffer>
    <extMaxIdleTime>60</extMaxIdleTime>
    <memSoftLimit>2047M</memSoftLimit>
    <memHardLimit>2047M</memHardLimit>
    <procSoftLimit>400</procSoftLimit>
    <procHardLimit>500</procHardLimit>
  </phpConfig>
  <railsDefaults>
    <rubyBin></rubyBin>
    <railsEnv>1</railsEnv>
    <maxConns>5</maxConns>
    <env>LSAPI_MAX_IDLE=60</env>
    <initTimeout>60</initTimeout>
    <retryTimeout>0</retryTimeout>
    <pcKeepAliveTimeout>60</pcKeepAliveTimeout>
    <respBuffer>0</respBuffer>
    <backlog>50</backlog>
    <runOnStartUp>1</runOnStartUp>
    <extMaxIdleTime>300</extMaxIdleTime>
    <priority>3</priority>
    <memSoftLimit>2047M</memSoftLimit>
    <memHardLimit>2047M</memHardLimit>
    <procSoftLimit>400</procSoftLimit>
    <procHardLimit>500</procHardLimit>
  </railsDefaults>
</httpServerConfig>
 
#9
Owk
Code:
<?xml version="1.0" encoding="UTF-8"?>
<adminConfig>
    <listenerList>
        <listener>
            <name>adminListener</name>
            <address>*:7088</address>
            <secure>0</secure>
        </listener>
    </listenerList>
        <enableCoreDump>1</enableCoreDump>
    <sessionTimeout>3600</sessionTimeout>
    <security>
        <accessControl>
            <allow>ALL</allow>
            <deny></deny>
        </accessControl>
    </security>
    <logging>
         <log>
             <useServer>0</useServer>
             <fileName>$VH_ROOT/logs/error.log</fileName>
             <rollingSize>10M</rollingSize>
             <logLevel>INFO</logLevel>
         </log>
         <accessLog>
             <useServer>0</useServer>
             <fileName>$VH_ROOT/logs/access.log</fileName>
             <keepDays>90</keepDays>
             <rollingSize>10M</rollingSize>
             <logReferer>1</logReferer>
             <logUserAgent>1</logUserAgent>
         </accessLog>
    </logging>

</adminConfig>
 

qtwrk

Well-Known Member
#10
hmmmm

didn't see anything wrong in conf.

please check , does PHP file get 500 error , or any kind of file , like static HTML , image , also get 500 error ?

in Plesk log , it should log that 500 error as well , what did it say ?
 
#11
hmmmm

didn't see anything wrong in conf.

please check , does PHP file get 500 error , or any kind of file , like static HTML , image , also get 500 error ?

in Plesk log , it should log that 500 error as well , what did it say ?
It's just a white page, the point for me is, it has been working flawlessly all year, zero issues on multiple servers and now nothing but issues and I can't figure out if it's Vultr, Plesk or Litespeed.

I think it's plesk.

WP won't load, when I delete WP and just place an index.html it works.

However WP works on apache/nginx but on litespeed it's having issues.

All my other servers that run litespeed no issues with WP at all.

Anyway, I'm fed up with it for today, it's getting late so I will get the error log tomorrow man, thanks for replying so far.
 

qtwrk

Well-Known Member
#12
I am thinking might be something wrong in .htaccess or PHP binary that LSWS failed to start PHP

so please check the Plesk log , it should say something.
 
Top