• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Opera Mail - Database corruption

    Opera for Windows
    3
    4
    1261
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • th00ht
      th00ht last edited by

      Hi
      During the deletion of an account Opera Mail crashed.
      I ended up with a Opera that shows the account in E-mail list but not in the accounts mgmt list.
      I removed the folder that contains the e-mail body but the headers of the emails are still shown.
      If I rightclick on the e-mail account Opera crashes.

      How do I remove all listed e-mail headers

      Reply Quote 0
        1 Reply Last reply
      • zalex108
        zalex108 last edited by

        If I'm not wrong you will need to edit Accounts.ini in OMail folder or re-Add the right eMails again.

        I suppose @BurnOut426 or @SGunHouse will guide u rightly.

        "You cannot know the meaning of your life until you are connected to the power that created you". · Shri Mataji Nirmala Devi

        Reply Quote 0
          1 Reply Last reply
        • burnout426
          burnout426 Volunteer last edited by

          Close down Opera and edit accounts.ini in the mail folder. See if the account is still listed there. If so, remove its section, make sure Account1= is set to the number for the first valid account, and make sure the Next available id is set to 1 after the last account number.

          Then, edit index.ini. You're going to need to look for a Index N (where N is a number) that has a name=Inbox. There will be more than one, so you're going to try and have to figure out which one is for the account that you removed. If it's a POP account, there's probably just 2 of them: one Name=Sent and one Name=Inbox. They should both have the same Parent id and most likely will have ids that are right next to each other or close. Take note of their parent id and remove the category up top that has that id. Then, remove those 2 indexes. Then, subtract the index count at the top by 2 (or how many indexes you deleted. Save changes.

          Then, in the sessions folder in the preferences folder, delete autosave.win so that the account isn't automatically selected when you start Opera Mail up.

          Then, check the database, which might fix some things.

          If you still see messages for the account in other views like All Messages/Received though, you're going to have to create a new mail folder, add all your accounts back in and do a generic mbox import from the old mail folder back into the corresponding accounts to get messages that are no longer and the server back. But, let's wait for that.

          An alternative you can try first if you want is to add the section for the account back to accounts.ini and try to delete the account again. Maybe it'll work this time without crashing and properly remove everything in the database, indexer and index.ini.

          Reply Quote 0
            1 Reply Last reply
          • zalex108
            zalex108 last edited by

            O.O I hope Th00ht will read the BurnOut426 post til the end, latest paragraph could be the first thing to test before :norris: !! :lol:

            The post also should be pinned!

            "You cannot know the meaning of your life until you are connected to the power that created you". · Shri Mataji Nirmala Devi

            Reply Quote 0
              1 Reply Last reply
            • First post
              Last post

            Computer browsers

            • Opera for Windows
            • Opera for Mac
            • Opera for Linux
            • Opera beta version
            • Opera USB

            Mobile browsers

            • Opera for Android
            • Opera Mini
            • Opera Touch
            • Opera for basic phones

            • Add-ons
            • Opera account
            • Wallpapers
            • Opera Ads

            • Help & support
            • Opera blogs
            • Opera forums
            • Dev.Opera

            • Security
            • Privacy
            • Cookies Policy
            • EULA
            • Terms of Service

            • About Opera
            • Press info
            • Jobs
            • Investors
            • Become a partner
            • Contact us

            Follow Opera

            • Opera - Facebook
            • Opera - Twitter
            • Opera - YouTube
            • Opera - LinkedIn
            • Opera - Instagram

            © Opera Software 1995-