2019-08-18_03:00:25 Starting full monument update. 2019-08-18_03:00:25 Load changes to monuments_config... 2019-08-18_03:00:53 Recreating the source tables... 2019-08-18_03:00:59 Full source database update... WARNING: /data/project/heritage/heritage/erfgoedbot/update_database.py:449: Warning: Data truncated for column 'site' at row 1 (countryconfig.get('lang'), page.title(True), params[0])) Sleeping for 5.0 seconds, 2019-08-18 04:17:49 Sleeping for 5.0 seconds, 2019-08-18 07:03:12 WARNING: API error badtoken: Invalid CSRF token. WARNING: API error badtoken: Invalid CSRF token. No job 'categorize_images' is currently queued or running 2019-08-18_13:16:41 Update monuments_all table... 2019-08-18_13:22:09 Make statistics... WARNING: /data/project/heritage/heritage/erfgoedbot/database_statistics.py:28: Warning: Truncated incorrect DOUBLE value: '' cursor.execute(query) 2019-08-18_13:22:56 Make more detailed statistics... PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /mnt/nfs/labstore-secondary-tools-project/heritage/heritage/api/includes/Database.php:150 Stack trace: #0 /mnt/nfs/labstore-secondary-tools-project/heritage/heritage/maintenance/_buildStats.php(25): Database::define('tools-db', 's51138__heritag...', 'XXXXXX', 'XXXXX') #1 {main} thrown in /mnt/nfs/labstore-secondary-tools-project/heritage/heritage/api/includes/Database.php on line 150 Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /mnt/nfs/labstore-secondary-tools-project/heritage/heritage/api/includes/Database.php on line 150 Error: Call to undefined function mysql_connect() in /mnt/nfs/labstore-secondary-tools-project/heritage/heritage/api/includes/Database.php on line 150 Call Stack: 0.0073 393904 1. {main}() /mnt/nfs/labstore-secondary-tools-project/heritage/heritage/maintenance/_buildStats.php:0 0.0233 430128 2. Database::define() /mnt/nfs/labstore-secondary-tools-project/heritage/heritage/maintenance/_buildStats.php:25 2019-08-18_13:22:56 Update unused images list... 2019-08-18_13:55:03 Make a list of missing commonscat links... 2019-08-18_14:01:01 Make a list of images without id... Traceback (most recent call last): File "/data/project/heritage/heritage/erfgoedbot/images_of_monuments_without_id.py", line 419, in main() File "/data/project/heritage/heritage/erfgoedbot/images_of_monuments_without_id.py", line 411, in main countryconfig, add_template, conn, cursor, conn2, cursor2)) File "/data/project/heritage/heritage/erfgoedbot/images_of_monuments_without_id.py", line 62, in processCountry countryconfig.get('country'), countryconfig.get('lang'), conn, cursor) File "/data/project/heritage/heritage/erfgoedbot/images_of_monuments_without_id.py", line 193, in getMonumentsWithPhoto cursor.execute(query, (countrycode, lang)) File "/data/project/heritage/.venv/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute self.errorhandler(self, exc, value) File "/data/project/heritage/.venv/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler raise errorclass, errorvalue _mysql_exceptions.OperationalError: (2006, 'MySQL server has gone away') CRITICAL: Closing network session. 2019-08-18_14:33:04 Dump database... 2019-08-18_14:38:21 Replace the sql file atomically... 2019-08-18_14:38:21 Refill prox_search table... PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /mnt/nfs/labstore-secondary-tools-project/heritage/heritage/api/includes/Database.php:150 Stack trace: #0 /mnt/nfs/labstore-secondary-tools-project/heritage/heritage/api/common.php(76): Database::define('tools-db', 's51138__heritag...', 'XXXXX', 'XXXXX') #1 /mnt/nfs/labstore-secondary-tools-project/heritage/heritage/prox_search/fill_table_prox_search.php(7): require_once('/mnt/nfs/labsto...') #2 {main} thrown in /mnt/nfs/labstore-secondary-tools-project/heritage/heritage/api/includes/Database.php on line 150
( ! ) Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /mnt/nfs/labstore-secondary-tools-project/heritage/heritage/api/includes/Database.php on line 150
( ! ) Error: Call to undefined function mysql_connect() in /mnt/nfs/labstore-secondary-tools-project/heritage/heritage/api/includes/Database.php on line 150
Call Stack
#TimeMemoryFunctionLocation
10.0018400312{main}( ).../fill_table_prox_search.php:0
20.1182584728require_once( '/mnt/nfs/labstore-secondary-tools-project/heritage/heritage/api/common.php' ).../fill_table_prox_search.php:7
30.48251256280Database::define( ).../common.php:76
2019-08-18_14:38:22 Update admin structure tree... Deleting previous data... Rebuilding table... Querying data... Inserting data... Inserted 142732 admin zones in 117.81044912338 seconds. 2019-08-18_14:40:20 Done with the update!