B
B
BarneyGumble2020-08-15 16:59:32
1C-Bitrix
BarneyGumble, 2020-08-15 16:59:32

Why does a site on Bitrix fall off after loading a database dump?

I have 3 versions of the site (1C-Bitrix): combat on remote hosting and 2 local on 2 local PCs - under macOS (MAMP) and under Windows (OpenServer). File sharing is set up via git. The current database is always on the battlefield.

Sometimes it is required to upload the current database to local machines: I go to the combat server and dump the database via ssh. Further, through phpMyAdmin on local servers, I upload this dump.

And everything seems to be fine, but after some time on local machines everything falls off with the following error:

[Error] 
Call to undefined method CCloudStorage::CleanUp() (0)
/Applications/MAMP/htdocs/dev.testsite.loc/bitrix/modules/main/classes/mysql/agent.php(163) : eval()'d code:1
#0: eval
  /Applications/MAMP/htdocs/dev.testsite.loc/bitrix/modules/main/classes/mysql/agent.php:163
#1: CAgent::ExecuteAgents(string)
  /Applications/MAMP/htdocs/dev.testsite.loc/bitrix/modules/main/classes/mysql/agent.php:40
#2: CAgent::CheckAgents()
  /Applications/MAMP/htdocs/dev.testsite.loc/bitrix/modules/main/include.php:264
#3: require_once(string)
  /Applications/MAMP/htdocs/dev.testsite.loc/bitrix/modules/main/include/prolog_before.php:14
#4: require_once(string)
  /Applications/MAMP/htdocs/dev.testsite.loc/bitrix/modules/main/include/prolog.php:10
#5: require_once(string)
  /Applications/MAMP/htdocs/dev.testsite.loc/bitrix/header.php:1
#6: require(string)
  /Applications/MAMP/htdocs/dev.testsite.loc/index.php:2


Falls off in half an hour or an hour somewhere after loading the DB dump. And if you refill it, then another half an hour or an hour works fine, and then falls off. On the combat server, everything is fine, nothing falls off. In a stupor, I do not understand where to dig.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Emelyanov, 2020-08-17
@babarun

Call to undefined method CCloudStorage::CleanUp()
- this is most likely an agent that runs periodically. Look for it in the list of agents.
* Do you have a kernel under git?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question