Mail profile is busted, any way to reset it?
so I've been testing the Mail Client since the first version for it dropped and apart from some missing features (and I know this is an early version so it's not part of this topic), I have had various issues with it so far.
The first issue I had was that after a restart my Mail panel would be stuck in this:
And no, it's not just loading, it is stuck like this for hours and there is no way to access it.
The first time this happened was after I restarted Vivaldi and the Panel landed in a separate window while the actual Mail tab was still in the old one (since the Mail panel swaps windows to whatever window opens first - not happy with that behaviour but I could live with that). That was the first time I saw this, but I am not sure if it is really related.
Anyway though, one way to "fix" this over the last weeks has been removing the account in the settings, restarting Vivaldi, then re-adding the account. This just worked because filters and stuff seem to be stored independently of the account information. Not very convenient in the first place, but now that doesn't work anymore either.
It does still add the account and it shows under "All Accounts" (only the mail address though, no mailboxes under that, i.e. no Inbox, Spam, Deleted, custom folders etc), but I cannot open any mail. Clicking on the aforementioned mail address opens the Mail tab, but it doesn't show any messages ("No messages in selected view"). Clicking on any Mailing List or e.g. the Unread category results in an error message like this:
Error: Source filter not found 2877 at chrome-extension://mpognobbkildjkofajifpdfhcoklimli/background-common-bundle.js:1:449884 at Array.forEach (<anonymous>) at t.a (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/background-common-bundle.js:1:449835) at J.render (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/bundle.js:1:2775819) at Oi (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:373:62954) at wi (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:373:62749) at _i (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:373:66587) at Bo (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:373:90412) at Io (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:373:90796) at Ss (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:373:97824)
The number in the first line always changes, but it is basically the same every time.
I wanted to report this as a bug, but as a sanity check I moved my
~/.config/vivaldi-snapshot/directory to get a clean start, and the Mail client actually worked fine on first sight (didn't test for long obviously).
This leads me to believe that my "normal" profile is busted somehow, but I don't know how to fix it since I don't know how to completely reset the Mail component. I tried deactivating the Mail component in
vivaldi:experiments, deleting the account including message files (which by the way does nothing at all, the mails stay in
~/.config/vivaldi-snapshot/Default/Mail), deleting the Mail directory in config manually, but no luck with any of those, the settings stay when re-adding the account and the issues remain.
So TLDR is there a way to completely reset the Mail component, get rid of all the settings and related stuff?
I know I could make a new profile and start from scratch, but I'd like to avoid that for obvious reasons.
I have found the same things this morning. All the email address accounts that were set up have disappeared.
I also had trouble with the browser auto-update and had to do it manually. It seems that I have not received any email since then (these are not busy addresses anyway). Perhaps the update had some effect?
I deleted my mail account including all local data and added the account again.
That solved a minor glitch in my case.
As always, when using beta software do so at your own risk.
As always, when using beta software do so at your own risk.
Well since those are IMAP Mail accounts it is fine unless Vivaldi decides to send a NUKE ALL E-MAILS command to the server
It seems that I have not received any email since then
That is actually the funny part about it that I forgot to mention in my original post because it was like 5am but... I still get emails and notifications for them from Vivaldi, and when clicking on the notification it even opens the mail (well last time I tried anyway), so it doesn't seem completely broken.
Mine was completely gone.
I exited Vivaldi and went to the profile folder, (C:\Users\myData\AppData\Local\Vivaldi\User Data\Default) made a backup of the "Mail" folder by renaming it , then relaunched V.
All was fine after that.
Hope this helps
Unfortunately, that did not help, but an interesting idea. The Mail folder with the email messages are still on the computer. And the email addresses are listed in the Vivaldi settings under which address to set as default, but they do not exist on the list of accounts.
Any attempt to add a new account just ends in the sound of crickets. Just a blank compose screen like the one @mihawk90 posted.
For those who need to know, I had setup POP3 email accounts from a private domain (which could take some abuse from a Beta ).
@greybeard As I mentioned that was one of the first things I tried, but apparently the /Mail directory only stores the actual emails, not all the setting regarding Mail. So moving that did not help unfortunately.
And the email addresses are listed in the Vivaldi settings under which address to set as default, but they do not exist on the list of accounts.
Well for me it is technically in the list of accounts (you mean in the Mail panel, right?), but I can't interact with it (i.e. I can click on it, but no mails are listed and it doesn't have any of the custom folders on the server, not even the default Inbox).
Yeah, I'm not able to interact with much either. From the bottom of the browser:
The addresses are listed and claim to be connected, but they can't be clicked on and no messages are coming up (and I've sent some test emails).
In the settings:
You can see the addresses are missing and I am being prompted to put in my "first" address. However, they are listed below so some part of the code knows they exist somewhere.
Adding a new email address (plus sign) walks me through all the steps, but the final add account button doesn't complete the process.
You are right that the message files are stored in Mail folder under the profile. The server and login info are stored via chromium storage api. The location you are missing is the database that stores all the header and folder info that links it all togther. If you are brave and you have a backup of your profile you can try to remove both the server/login info and the database and then set the account up again an thereby rebuilding the database via the imap server sync. You would not have to touch you message files in the Mail directory. They would get re-used in the new index.
So the steps would be like this:
- Start vivaldi and go to mail settings and remove all mail accounts.
- Shut down vivaldi.
- Go to profile directory and find folder "Default/Storage/ext/mpognobbkildjkofajifpdfhcoklimli/def/IndexedDB" and delete it .
- Start vivaldi and set the mail accounts up again.
This way you you can salvage your browser profile while clearing all the mail setup.
Note that you will lose all drafts and outbox messages that you may have been working on.
@ltgorm Thank you a lot for this!
I was expecting it to be somewhere in the extension settings (since I noticed that Mail is essentially a Chrome extension), but I didn't know where to look for the settings files (or if it would have been enough for that matter).
I'll try this later on and see what happens. Thanks again!
@mihawk90 Thank you much more for helping out The main concern for us now is to figure out how things went wrong for you in the first place. So please let us know of this happens again.
@ltgorm Sure will
One theory I have is what I posted above, is that it got corrupted when the Mail view (i.e. the Tab) was still open in one window, but I opened the Mail panel in the other window (after a Vivaldi restart, since I save tabs on exit). I'm not sure if it is actually related, but that was the first time it happened and it sort of makes sense (Panel and Tab accessing the same file, hence corrupting it - maybe).
I read in another thread that the Tab is supposed to be moved to the other Window as well, but that also seems not an optimal solution since it will mess with people's organization of tabs across windows. Would be nice to be able to "pin" the Mail panel to one specific window somehow, doesn't sound easy though
@mihawk90 Sorry to hear that. It's about the only thing I know.
I suppose there must be Database which stores the info you need. It may be corrupted . If so, that's more there than I can help with.
Be careful, there be quicksand there.
My profile also somehow got busted - it just would not fetch all e-mails from Gmail, ti was stuck at 14 % (I set it to prefetch) I removed the extension data and the mail database just to make sure and now it is downloading them again, I hope it reaches 100 %.
Not sure what I did - I remember I was shutting down Vivaldi while it was doing the initial download quite freely, so maybe something there got wrong.
Hi Thanks for the good info on the location of the mail client config .Would like to configure a non encrypted IMAP server on port 143. Any idea how this can be done?
The main concern for us now is to figure out how things went wrong for you in the first place. So please let us know of this happens again.
So I may or may not have just reproduced the issue on accident...
It is not completely/consistently broken this time, but it is reproducible with a very similar error message (although I cannot say if it is the exact same issue).
It seems to be related to what I was doing here:
For a TLDR: I have 2 mail addresses that access the same mail account (for purpose of having 2 sender addresses.
When I remove the second mail address from the Vivaldi Mail setttings panel the status bar is telling me that it is removing data for that second address and updating the indices. When it is finished, the mail tab crashes with an error message very similar to the one in my original post:
Error: Source filter not found 1829 at chrome-extension://mpognobbkildjkofajifpdfhcoklimli/background-common-bundle.js:1:442841 at Array.forEach (<anonymous>) at t.a (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/background-common-bundle.js:1:442792) at F.render (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/bundle.js:1:2668114) at wi (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:373:62954) at Oi (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:373:62749) at _i (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:373:66587) at Bo (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:373:90412) at Io (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:373:90796) at Ss (chrome-extension://mpognobbkildjkofajifpdfhcoklimli/vendor-bundle.js:373:97824)
I realise the line numbers and symbols are not the same, but I assume that could just be due to updates in the mean time. Although it should be noted that the line numbers stay the same every time I reproduce the issue, only the source filter ID(?) in Line 1 is changing.
A restart fixes the issue, but I think what might have happened in my original issue is that I deleted the second account while it was still indexing the mails after adding it (i.e., I deleted it before the index was finished) and so the database was write-locked? It's really just a poke in the dark, but yeah...
Thought it's something to look out for
edit: tried removing the account while it was still indexing, and that didn't break it either
@mihawk90 I am currently working on a bug that causes this error saying "Source filter not found". It is happening when a folder is removed from mail panel. E.g. when deleting an account, deleting a feed, or unsubscribing from a folder. The error is that data for that folder remains in memory/cache and is being used onwards. Hence it gets back into shape by restarting the client. I doubt that this is connected to the busted profile that you had.
@ltgorm It helped me, just removed indexedDB folder and restarted vivaldi. then all 3 accounts revived and mail sync worked fine again
my laptop ran out of disk space while it was refreshing email, so it seems the db got corrupted.
When I tried removing the account from the settings - it got stuck in the "deleting" phase:
I tried removing the mail folder and the IndexedDB, but it did not help, after startup it's still in the same "Deleting" state.
It does not let me create a new account with the same email address either.
Any help would be appreciated...