This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

Smithtech

  • ****
  • 226 posts
Osclass Entered Maintenance Mode and doesn't go off
« on: April 09, 2025, 03:03:59 PM »
The Osclass entered maintenance mode after recovery from backup on a new server and we are unable to disable the maintenance mode.

Please, any help?

*

MB Themes

Re: Osclass Entered Maintenance Mode and doesn't go off
« Reply #1 on: April 10, 2025, 08:37:22 AM »
https://docs.osclass-classifieds.com/maintenance-mode-i106


Quote
Maintenance mode is enabled by creating empty file with name .maintenance in root Osclass installation directory. Means maintenance mode can be also controlled by creating/removing this file, without need to access backoffice.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Smithtech

  • ****
  • 226 posts
Re: Osclass Entered Maintenance Mode and doesn't go off
« Reply #2 on: April 11, 2025, 03:02:08 AM »
Followed the steps but still.
Maintenance mode will not disable no matter how many times you click the DISABLE BUTTON

*

MB Themes

Re: Osclass Entered Maintenance Mode and doesn't go off
« Reply #3 on: April 11, 2025, 09:30:57 AM »
You tried to remove .maintenance file from root folder?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Smithtech

  • ****
  • 226 posts
Re: Osclass Entered Maintenance Mode and doesn't go off
« Reply #4 on: May 28, 2025, 01:05:23 PM »
You tried to remove .maintenance file from root folder?


Thank  you very much.
The site came when we removed the maintenance.php file but then, it looks like the system is read only.
You can do anything. You can't activate new team, you can't post. Nothing. And the frontend theme layout is broken.

*

MB Themes

Re: Osclass Entered Maintenance Mode and doesn't go off
« Reply #5 on: May 28, 2025, 10:01:44 PM »
That is not solution.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Smithtech

  • ****
  • 226 posts
Re: Osclass Entered Maintenance Mode and doesn't go off
« Reply #6 on: June 04, 2025, 02:56:26 PM »
Not too clear on that?

Please, what is the solution?
Right now, you can't even disable plugin or do any edits on the system

Marked as best answer by support on June 04, 2025, 08:51:10 PM
*

MB Themes

Re: Osclass Entered Maintenance Mode and doesn't go off
« Reply #7 on: June 04, 2025, 03:18:47 PM »
Maintenance mode is enabled by "signal" or "flag" file created in root folder.
Remove it.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Smithtech

  • ****
  • 226 posts
Re: Osclass Entered Maintenance Mode and doesn't go off
« Reply #8 on: June 04, 2025, 08:52:40 PM »
Maintenance mode is enabled by "signal" or "flag" file created in root folder.
Remove it.


Got you.

The maintenance issue has been solved since. The new issue is that the system is read only.

you can't disable any theme,  any plugin, nothing. you can't edit ad or users. nothing.

*

MB Themes

Re: Osclass Entered Maintenance Mode and doesn't go off
« Reply #9 on: June 05, 2025, 06:57:42 AM »
Reinstall Osclass.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Smithtech

  • ****
  • 226 posts
Re: Osclass Entered Maintenance Mode and doesn't go off
« Reply #10 on: June 05, 2025, 11:53:33 PM »
Reinstall Osclass.


Wow.

So, what do we do about the database then?

We have over 5 years listings and user data

*

MB Themes

Re: Osclass Entered Maintenance Mode and doesn't go off
« Reply #11 on: June 06, 2025, 11:53:32 AM »
Well you are just throwing one issue after another so you have definitely something wrong with your server or installation.
Or looks for some tech guy that will review your system.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Smithtech

  • ****
  • 226 posts
Re: Osclass Entered Maintenance Mode and doesn't go off
« Reply #12 on: June 11, 2025, 11:10:52 AM »
Well you are just throwing one issue after another so you have definitely something wrong with your server or installation.
Or looks for some tech guy that will review your system.


ThanÄ· you for the info.

Not too sure of the server issue. Probably the Osclass Installation. Please, is there any guide to reinstall Osclass and recover the database?

The issue is very serious as the current layout with Epsilon theme is completely broken and we are unable to switch themes also. We have Beta, Delta also. But we can't switch either


*

MB Themes

Re: Osclass Entered Maintenance Mode and doesn't go off
« Reply #13 on: June 11, 2025, 01:07:53 PM »
Reupload osclass files.

You dont send anything specific, no errors, url, nothing, just lot of words so nothing to check...
« Last Edit: June 11, 2025, 07:37:26 PM by MB Themes »
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

iqcta

  • **
  • 5 posts
Re: Osclass Entered Maintenance Mode and doesn't go off
« Reply #14 on: June 16, 2025, 11:11:28 PM »

With all those issues back to back, it sounds like a cache issue. Delivering old content / expired token, therefore it is caching your dynamic content and messing your admin ability. that is not likely the cache plugin. it is server side. check your hosting server side, if it is a shared host, many now have a built in cache, cdn and others. clear them all if you have access. open litespeed and litespeed enterprise are notorious about very aggressive cache, that can be disabled through your .htaccess file by adding the following:
// disable cache for admin
<IfModule LiteSpeed>
  RewriteCond %{REQUEST_URI} ^/oc-admin
  RewriteRule ^ - [E=Cache-Control:no-cache]
</IfModule>
// turn off the cache on the litespeed server
<IfModule LiteSpeed>
    CacheDisable public /
    CacheDisable private /
    LiteSpeedCache off
</IfModule>

the reason i say this, because I do not think it is "refusing to turn off". it is not recognizing your authoriy as admin, due to an expired, old token, that is served from the cache, not real time.    Good luck