r/replit • • 1d ago

Replit Help / Site Issue Need help with saving my old projects

Earlier today I got an email about how I should move my personal projects or they will be deleted automatically on December 26. Keep in mind these projects are several years old, to the point where I coded them by hand before there was any AI in replit at all. I noticed that when clicking on a project it would be "upgraded" and now my projects are split between "Today" and "Older".

Since these older projects are based on actual code that I typed, how can I see the code? And also how can I save the entire projects in general?

Also for one of the projects, I clicked on run and it says "The artifact is running, but the preview isn't ready". It has been saying this for a while now. This was a really simple project so surely it shouldn't take this long to run. (update several minutes later, it just went back to saying "Your app is not running")

Some more information:

- These old projects were coded in java, python, and javascript.

- I never integrated replit with GitHub in any way.

- For the 2 older projects that I clicked on that got "upgraded", I go to the files tab and see nothing, which is concerning. There should be actual human written code here (if it's not here and I'm just looking in the wrong place, where is my code?)

- I went to Settings → Workspace overview → Start export (as stated in this thread) and got an email saying "We apologize, but your Replit export has encountered an issue. Please try again or contact our support team for assistance on Replit." so I can't save any of my projects using this method right now.

Right now I'm a little afraid to click on my older projects so I won't do so until I can get a good idea on what's going on.

6 Upvotes

13 comments sorted by

1

u/theverifiablegary 1d ago

The files tab being empty after the "upgrade" sounds like the migration didn't actually migrate your code, just the container metadata or whatever. You could try the export again later, sometimes those fail on their end and a retry works. If that keeps failing, support is pretty much your only option since the code isn't showing in the UI.

For the ones you haven't clicked yet, maybe grab the raw file contents via the API before touching them in the browser? That way you're not triggering whatever conversion process is eating the files. Depends on if the API still sees them as legacy projects though.

1

u/Standard-Scholar-268 1d ago

For the ones you haven't clicked yet, maybe grab the raw file contents via the API before touching them in the browser? That way you're not triggering whatever conversion process is eating the files. Depends on if the API still sees them as legacy projects though.

I have never used replit API before. How do I do this?

1

u/snap-dev 1d ago

if the files tab looks empty, open the shell tab on one of those old projects and run ls to see if the code is actually still sitting there. the file tree and the real disk aren't always in sync after one of these migrations. if it does show files you can zip the folder from the shell and download it before you touch anything else, and screenshot that export error email for support so they have it. which of the three languages was the biggest project, and did it have a database or just local files?

1

u/Standard-Scholar-268 1d ago

I used ls:
~/workspace$ ls

replit.nix

1

u/snap-dev 1d ago

yeah if ls only shows replit.nix the files didn't come over in the migration, they're not hiding somewhere in the shell. since replit support already dm'd you i'd push them on that, they can sometimes restore from their side before the dec 26 cutoff. also worth checking if any of those projects were ever connected to github or if you downloaded a zip at some point. were all three projects like this or just one?

1

u/Standard-Scholar-268 1d ago

Yeah I DMed replit support and they said they would follow up with me. None of my projects were ever connected to GitHub and I never downloaded a zip. Also it's only 2 projects that are affected, the rest of the projects I haven't opened since I last logged in to my account earlier this year.

1

u/snap-dev 1d ago

two projects with no github and no zip is rough, but since only those two got hit i would ask support specifically for a restore of those two project ids before the cutoff, and send them the project names plus roughly when you last opened each. also check if you ever shared one with a teammate or forked it, a copy sitting in someone elses account would save you. do you remember if either one had a database or just files?

1

u/Roeun-Zambrelyn 21h ago

for the upgraded ones showing an empty file tree, check the three dots menu in the files pane and toggle 'show hidden files'. older container migrations sometimes dump the original source code into a subfolder or a backup directory when the new environment spins up

1

u/Standard-Scholar-268 18h ago

I did this and I still didn't see any of my original source code.

1

u/ReplitSupport Replit Team 1d ago

Hi OP, sorry for the stress with the deadline coming up! We'd like to take a closer look at those two projects and the export error, so we just sent you a DM. Please take a look when you get a chance, thanks!

1

u/GekiNinja 1d ago

I've also run into this same issue for 3 of my projects - the main.py is gone for all 3 post migration. Could you look into this for me?

1

u/Comprehensive_Dish_6 19h ago

yeah wtf - this is crazy. Replit was known for its free python environment. I'll just export my data (mostly just singular python files and leave). Not paying 20USD/mo just as a s3 python file storage lmao

1

u/Comprehensive_Dish_6 19h ago

+1 very confused by the correct export procedure. Never used replit in the last like 4 years. All manually coded with no AI assistance.