Open pplonski opened 1 year ago
I'm having the same issue so you can assign this to me and I'll give it a try.
I am facing the same issue with the Docker version.Clean media and uploads-temp are not working, even after rebuilding, removing, and restarting, none of these actions seem to resolve the problem. How can I fix it?
You need to clean database - are you using Postgres or Sqlite? The mercury run clear
is working only with local databases. You might try mercury delete path/to/notebook.ipynb
. Please check available commands https://runmercury.com/docs/commands/
Second solution, you might try with logging into Admin Panel, and removing notebooks there. Here is docs about Admin Panel https://runmercury.com/docs/authentication/
Dear @pplonski : Second solution is helpful for me, it succecced solve the problem, thanks for your help. this is my recipe to occur this issue:
mv old.ipynb new.ipynb
commandrm media/* -rf
rm uploads-temp/* -rf
commanddocker-compose build --no-cache
and docker-compose up -d
(useless)
I'm running Mercury locally. I had
eda.ipynb
file in the directory. It was served fine in the Mercury. I renamed the notebook file. Now, in the Mercury I had two notebooks, with old and new name. The notebook with old name was not working in the Mercury. The new one is working fine.There should be some check if notebook is still available when starting Mercury locally.