Nikola - database error
Once in a blue moon, Nikola throws a database error when I do build and deploy.
It looks like this:
(nikola) tingo@kg-core2:~/personal/projects/nikola % nikola build && nikola deploy Scanning posts........done! . render_posts:timeline_changes . render_posts:cache/pages/home_automation/tuya_wifi_temp_and_hum_sensor_th06.html . render_posts:cache/pages/home_automation/index.html . render_sources:output/home_automation/tuya_wifi_temp_and_hum_sensor_th06/index.md . render_sources:output/home_automation/index.md . render_pages:output/home_automation/tuya_wifi_temp_and_hum_sensor_th06/index.html . render_pages:output/home_automation/index.html . sitemap:output/sitemap.xml HASH: Out of overflow pages. Increase page size Traceback (most recent call last): File "/usr/home/tingo/.venv/nikola/lib/python3.11/site-packages/doit/doit_cmd.py", line 294, in run return command.parse_execute(args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/home/tingo/.venv/nikola/lib/python3.11/site-packages/doit/cmd_base.py", line 150, in parse_execute return self.execute(params, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/home/tingo/.venv/nikola/lib/python3.11/site-packages/doit/cmd_base.py", line 570, in execute return self._execute(**exec_params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/home/tingo/.venv/nikola/lib/python3.11/site-packages/doit/cmd_run.py", line 265, in _execute return runner.run_all(self.control.task_dispatcher()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/home/tingo/.venv/nikola/lib/python3.11/site-packages/doit/runner.py", line 259, in run_all self.finish() File "/usr/home/tingo/.venv/nikola/lib/python3.11/site-packages/doit/runner.py", line 238, in finish self.dep_manager.close() File "/usr/home/tingo/.venv/nikola/lib/python3.11/site-packages/doit/dependency.py", line 521, in close self.backend.dump() File "/usr/home/tingo/.venv/nikola/lib/python3.11/site-packages/doit/dependency.py", line 178, in dump self._dbm[task_id] = self.codec.encode(self._db[task_id]) ~~~~~~~~~^^^^^^^^^ _dbm.error: cannot add item to database
have no fear, simply re-run the build and deploy command, everything will be fine.