Error 500 after SSL with Letsencrypt

Started by Dentai, July 08, 2016, 09:29:54 AM

Previous topic - Next topic

Dentai

Hello together,
I just tried Letsencrypt . but this I always get Error 500 when I want to access the page with https . With http it works . Does somebody has any idea?

zakrpa

#1
I have:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.


Error log shows me:

[Fri Jul 08 12:06:12 2016] [error] [client 109.175.***.***] No user or group set - set suPHP_UserGroup

what your error log's show?

Checked config files few time but didn't find any problem in them or in permissions or owners.

Sandeep

go to cwp dashboard >> user account >>> fic permission >>>> select your website's user >>>>> hit fix permission


zakrpa

#4
Hello
I checked everything seems fine with permissions and owners group. and for just to be 100% I did fixing permissions in panel but did not fork. strange.

After installation port 443 was closed does it have some problems because I use varnish and apache?
Can I just open in configuration like port 80 with line: Listen 443?

Regards

KennySVG

The error log shows a usergroup issue, so I edited the apache letsencrypt vhosts file, and inside the directory tags, added the suPHP_UserGroup line.

Example:

<Directory "/home/xx/public_html">
    AllowOverride All
    suPHP_UserGroup xx xx
</Directory>

Administrator

yes you can open a port 443 by simply adding Listen 443 in apache configuration.
usergroups exists in configuration so its strange that is missing in your apache vhost file letsencrypt.conf

zakrpa

#7
Quote from: KennySVG on July 10, 2016, 01:19:23 AM
The error log shows a usergroup issue, so I edited the apache letsencrypt vhosts file, and inside the directory tags, added the suPHP_UserGroup line.

Example:

<Directory "/home/xx/public_html">
    AllowOverride All
    suPHP_UserGroup xx xx
</Directory>

did work after that?

Ok edited and worked fine but seem when I checked all vhosts file there is nowhere defined suphp_usergroup for directory :)

Thanks its working now

locvfx

Try this
Go to the home folder (replace your username account)
cd /home/user_name/public_html

Fix permission of folders
find ./ -type d -exec chmod 755 {} \;

Fix permission of files
find ./ -type f -exec chmod 644 {} \;

sunboys0111

Quote from: KennySVG on July 10, 2016, 01:19:23 AM
The error log shows a usergroup issue, so I edited the apache letsencrypt vhosts file, and inside the directory tags, added the suPHP_UserGroup line.

Example:

<Directory "/home/xx/public_html">
    AllowOverride All
    suPHP_UserGroup xx xx
</Directory>


thank you so much . my problem was solved by this code