Cant Access Cacti After Enabling Force HTTPS

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
edrewfp
Posts: 3
Joined: Fri Mar 10, 2017 9:28 pm

Cant Access Cacti After Enabling Force HTTPS

Post by edrewfp »

Hi,

I accidentaly ticked the force https and now i cannot access my server. My cacti is running on Ubuntu 20.04.
Can someone help me revert it? I would really appreciate the help.
User avatar
Osiris
Cacti Guru User
Posts: 1424
Joined: Mon Jan 05, 2015 10:10 am

Re: Cant Access Cacti After Enabling Force HTTPS

Post by Osiris »

You have to ensure that you first have mod_ssl installed. After that restart Apache and php-fpm.
Before history, there was a paradise, now dust.
edrewfp
Posts: 3
Joined: Fri Mar 10, 2017 9:28 pm

Re: Cant Access Cacti After Enabling Force HTTPS

Post by edrewfp »

I followed your instruction.
mod_ssl already installed. i dont have php-fpm so i assume this is optional.
after restarting apache2 service, nothing happens. i believe im missing something.
pardon for not being so techie :(
User avatar
macan
Cacti Guru User
Posts: 1110
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Cant Access Cacti After Enabling Force HTTPS

Post by macan »

check webserver logs
Let the Cacti grow!
Rno
Cacti Pro User
Posts: 697
Joined: Wed Dec 07, 2011 9:19 am

Re: Cant Access Cacti After Enabling Force HTTPS

Post by Rno »

Isn't it possible to just change inside the DB,under settings the row 'force_https' to null ?
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cant Access Cacti After Enabling Force HTTPS

Post by TheWitness »

Delete the record from the settings table.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest