Skip to content

All Jupyter Notebook Files Disappeared Automatically #7580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nikhilranaanana opened this issue Feb 5, 2025 · 6 comments
Closed

All Jupyter Notebook Files Disappeared Automatically #7580

nikhilranaanana opened this issue Feb 5, 2025 · 6 comments
Labels
bug status:Needs Triage Applied to issues that need triage

Comments

@nikhilranaanana
Copy link

Hello,
I am facing a serious issue where all my Jupyter Notebook files have disappeared automatically from my laptop. I did not delete them manually, and I am unsure what caused this problem. Here are some details:

I was using Jupyter Notebook normally, but after restarting my laptop, all the .ipynb files were gone.
The files were stored in the default Jupyter directory.
I checked the recycle bin, but the files are not there.
I also searched my entire system for .ipynb files, but none were found.
There was no system crash or update before this happened.
I would appreciate any guidance on how to recover my lost files and prevent this issue in the future.

Thank you.

@nikhilranaanana nikhilranaanana added bug status:Needs Triage Applied to issues that need triage labels Feb 5, 2025
@krassowski
Copy link
Member

The files were stored in the default Jupyter directory.

There is no default Jupyter directory really. It stores file in the directory it is launched from.

How did you install Jupter Notebook? Did you use pip/anaconda? What version?

@nikhilranaanana
Copy link
Author

I have used anaconda

@nikhilranaanana
Copy link
Author

???????? please response

@krassowski
Copy link
Member

Please answer the question about version and in general fill in the issue template https://github.com/jupyter/notebook/issues/new?template=bug_report.md

What you describe is somewhat akin to what some novice users report when using a jupyterlite from try.jupyter.org without realising that they have not actually installed anything and were just running an online version that stores files in the browser (so when they change browsers the data is not there).

Otherwise, if you did use anaconda, it might be a bug in Anaconda's distribution of Notebook (which is not officially maintained by Project Jupyter which maintains conda-forge and PyPI distribution channels)

@krassowski
Copy link
Member

It looks like you posted in a new issue, I am copying the contents here:

Hi,

I was working on Jupyter Notebook, and after restarting my system, all my files disappeared automatically. I did not delete them manually, and I don’t know what caused this issue.

I tried accessing one of my files through my browser history, but when I opened it, I received this error: "File Load Error for My_code_file.ipynb - Invalid response: 404 Not Found"

I need help in recovering my lost files. Is there any way to restore them? Also, I would like to understand why this happened so that I can prevent it in the future.

I’m using: Jupyter Notebook version: (7.0.8) Operating System: (Windows) How I launched Jupyter: (Anaconda) What happened before files got deleted: Restarted my system, and after booting up, all Jupyter Notebook files were gone.

Please let me know

Image

if there is any way to get my files back. Thank you!

@krassowski
Copy link
Member

  • Jupyter Notebook 7.0.8 is pretty old (1 year old) we are currently at 7.3.x
  • It looks like you are opening a path on OneDrive. I would suspect that this is an issue with OneDrive, not with Jupyter Notebook

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status:Needs Triage Applied to issues that need triage
Projects
None yet
Development

No branches or pull requests

2 participants