Skip to content
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

Min Browser Reset All My Custom Preferences. How Do I Restore? #2519

Open
DiscipleX opened this issue Nov 2, 2024 · 7 comments
Open

Min Browser Reset All My Custom Preferences. How Do I Restore? #2519

DiscipleX opened this issue Nov 2, 2024 · 7 comments

Comments

@DiscipleX
Copy link

I've been using Min Browser for years now, and it's been absolutely lovely.
Unfortunately, I've encountered a problem when I opened min browser like I usually do it starts, but ALL of my saved data, scripts, custom properties, tabs, and tasks are all gone.
I've been using the same set-up within min for over 2 years, and you can imagine how I felt seeing that all my custom preferences have disappeared.

Please assist me on how I can restore my Min Browser's settings back to it's previous state.

@PalmerAL
Copy link
Collaborator

PalmerAL commented Nov 2, 2024

Hi, sorry to hear that that happened.

It's rather strange that all of those things would be gone, particularly as they aren't all saved in the same place. Have you recently updated Min, or is there anything else you can think of that might be related?

Anyway, I would recommend:

  • Quit Min.

  • Find you user data folder. This is going to be:

    ~/Library/Application Support/Min/on macOS
    %AppData%\Min\on Windows (which opens C:\Users\username\AppData\Roaming)
    /home/username/.config/Min/on Linux.

  • Make sure the permissions on this folder are correct (ie your user account should be able to read/write to it).

  • Make a copy of this folder as a backup.

  • Userscripts should be in a userscripts folder inside of this. Are they there?

  • Open tabs are normally saved in sessionRestore.json. If Min detects corruption in this during startup, it should create a sessionRestoreBackup file in this directory. Do you see a file starting with that name?

    • If so, try manually opening it in a text editor to get a list of URLs.
  • There's also a bookmarksBackup.html that might be useful - do your history and bookmarks still appear inside the application?

@DiscipleX
Copy link
Author

Hey there!

It's okay my friend I definitely understand things happen.

Thank you so very much for responding and taking the time to walk me through these steps to check.

I recently did, move some files on my computer to, a different hard drive on my computer, but I did not touch, Min's folder at all.

I'll do more research and keep this checklist in mind you sent, and will ensure that these files are in there correct location.
I definitely appreciate your response once again, I'll be in contact with you soon when I've gone through these steps!

Thank you for all the work you've put in, it's absolutely phenomenal!
Cheers/Blessings!

@DiscipleX
Copy link
Author

DiscipleX commented Nov 3, 2024

Hey there,

After reviewing the files in the folder you specified above:
%AppData%\Min\on Windows (which opens C:\Users\username\AppData\Roaming)

Btw thank you for listing that exact directory, this helped alot!

I actually do have the Userscripts in this folder as you stated.

For the Tabs:
I also have the sessionRestore.json file, including two sessionRestoreBackup files as well.

These two files are named:

  1. sessionRestoreBackup-1703030329335.json
  2. sessionRestoreBackup-1703030365083.json

Unfortunately it seems in the sessionRestore.json file it has recorded this as the last saved data when I opened Min, and it created this file. I did open min after this issue occurred and it seems that the previous with my original data in sessionRestore.json may have been overwritten/replaced. - I can only assume.

As far as the two sessionRestoreBackup files, I am not able to read them within a text document. It is unreadable.

I first opened one of them in a text document, and nothing is shown.
I then opened it in VS code, and still nothing shown but this error:

"The file is not displayed in the text editor because it is either binary or uses an unsupported text encoding."

I was able to choose a different file encoding withing VSCode, and was able to see the characters listed, though still unreadable.

It seems to be ASCII code unicode characters.

But no progress or files in this folder that show evidence my my data being saved or stored as a backup of my previous settings =(.

Thank you so much for your help!

@PalmerAL
Copy link
Collaborator

PalmerAL commented Nov 3, 2024

If the sessionRestoreBackup files are corrupt, then I unfortunately don't have any further suggestions for restoring open tabs.

You probably already know this, but if you click on the clock icon in the searchbar or go to view > history, you'll see a full list of recently visited URLs, which will likely include many of your open tabs. I know it's inconvenient though.

Unfortunately it seems in the sessionRestore.json file it has recorded this as the last saved data when I opened Min, and it created this file. I did open min after this issue occurred and it seems that the previous with my original data in sessionRestore.json may have been overwritten/replaced. - I can only assume.

When you open Min, if it can't parse the sessionRestore.json, it copies the whole file into sessionRestoreBackup-<time> and then makes a new empty tab set. However, it seems that perhaps the data was already completely corrupted at that point.

I actually do have the Userscripts in this folder as you stated.

If I'm understanding correctly, your settings (on the "settings" page) got reset as well? If the userscripts are in that folder, you should be able to go to settings > additional features and re-enable them.

@DiscipleX
Copy link
Author

You're amazing!
Even tho I'm still running into this issue, you're a rockstar for being so supportive and helping me assist this problem.
Apologies for the delayed response as well.

Yessir those settings got reset as well. Under "settings".

I do have my Userscripts, so those aren't loss. I just didn't have many to begin with. lol.

@PalmerAL
Copy link
Collaborator

PalmerAL commented Nov 6, 2024

Huh. Sorry I don't have more suggestions, that's super weird.

Do you have any antivirus software running? I'm wondering if it quarantined/moved the files somewhere.

@DiscipleX
Copy link
Author

Yea it's weird for sure. Hmm I do, but It's automatically runs and does its own thing lol 😂
I'm going to check out some preferences on it and see where it could've moved some files.

All in all its all good! I appreciate your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants