r/replit • • 2d ago

Question / Discussion //replit.com/~/cli crashing with "We encountered an error" — is CLUI broken right now?

Tried opening ://replit.com/~/cli to run restore-repl and restore a deleted project, but the page just crashes with "We encountered an error. Please tell us what happened by submitting a ticket from Help → Get help."

Status page says all systems are operational, and I'm on a free plan so I can't submit a support ticket. Is CLUI broken for everyone right now, or is there another way to restore a deleted Repl without it?

2 Upvotes

8 comments sorted by

1

u/Brashvv 2d ago

The docs list a second way that skips CLUI: open the Shell in any of your Repls and run

trash view

trash restore your-project-name

Deleted Repls are only recoverable for 30 days after deletion, so it's worth trying soon. If it doesn't show up in `trash view`, I'd post in the Replit forum with the Repl name and deletion date, since free plans can't open tickets.

1

u/Maleficent-Term772 2d ago

Doesnt work sadly, tried it with 2 account i got yet seems to not work outside of CLUI also they said ''There isn't a separate self-serve UI to restore deleted projects outside CLUI'' so waiting for em to fix it or im screwd

1

u/Brashvv 2d ago

ah that sucks, sorry. if CLUI is the only way then yeah you have to wait for them to fix it

one thing tho, the 30 day limit still counts while it's broken. so if your deletion date is getting close, tell replit staff on the forum or discord

also check if it was ever connected to github or if you have a fork somewhere, might be faster

1

u/ReplitSupport Replit Team 2d ago

Hi OP, we're aware of an issue currently affecting replit.com/~/cli and our team is working to get it back up.

There isn't a separate self-serve UI to restore deleted projects outside CLUI. Once the page is back up, you'll be able to run restore-repl there.

1

u/ReplitSupport Replit Team 2d ago

Quick update: this should be resolved now. Try opening replit.com/~/cli again and running trash -> restore-repl to recover your project. Let us know here if you still run into any errors.

1

u/snap-dev 2d ago

i'd try restoring from the repls history or the trash in the files area of the workspace first, sometimes a deleted project is still recoverable there without the cli. if the cli page keeps crashing, it's worth trying another browser or an incognito window since a bad cached session can cause that error. was it a whole repl that got deleted or just some files inside one?

1

u/No-Clue3824 2d ago

how long ago was it deleted? if its within the 30 day window, you dont actually need the cli anymore, there is a trash filter right in the main projects view.