error upgrading to 8.2 : Error opening file for writing #2707

issue goldbit89 opened this issue on May 29, 2013
  1. goldbit89 commented at 9:57 PM on May 29, 2013: none

    just downloaded the new 8.2 while upgrading 8.1 and twice i got this error: error opening file for writing: c:\program files (x86)\bitcoin\bitcoin-qt.exe click abort to stop,retry to try again ignore to skip what do i need to do now?

  2. Diapolo commented at 10:24 AM on May 30, 2013: none

    Ensure bitcoin-qt.exe is shutdown, perhaps just reboot your machine to ensure that process is not running. Did the installer ask for admin rights via UAC?

  3. goldbit89 commented at 3:36 PM on May 30, 2013: none

    done from a fresh restart as well as a fresh start up boot up. same result. also redownloaded the 8.2 and tried it and still same result. I am the admin so no problems there.what i did notice but shouldnt be a concern is that client is 32 and im running 64 but i believe 8.1 is same way and it worked fine for the time i have had it. What do i do now please? Thanks.

  4. goldbit89 commented at 3:45 PM on May 30, 2013: none

    another thing i just noticed is 8.1 has bitcoin-qt.exe properties at 21 mb date 1/29/2011 6:00 pm product name bitcoin-qt (OSS GUI client for bitcoin) 8.2.2 has bitcoin-0.8.2-win32-setup.exe properties 11.1 mb date 5/29/2013 4:28 pm [product name is bitcoin

  5. laanwj commented at 3:54 PM on May 30, 2013: member

    AFAIK on windows if you are admin, this can only happen if the .exe is already running. Have you set it to automatically start at boot?

    If you can't see it running, maybe try to find and kill bitcoin-qt.exe in the task manager (this is not recommended, though...). But that exe must be open somehow for it to give the error.

  6. goldbit89 commented at 4:10 PM on May 30, 2013: none

    i have removed it from boot start up and get the same error, what i am seeing tho is there is a read only lock on the 8.1 client that when i try and reset as admin will not allow me to reset it. It is also not running in task manager in processes or services or applications.

  7. goldbit89 commented at 4:14 PM on May 30, 2013: none

    should i try and restore bitcoin to 5/21/2013 or just uninstall it and install 8.22--in doing that tho will i lose the block and database information and wallet for that matter?

  8. goldbit89 commented at 4:18 PM on May 30, 2013: none

    well i just now found the lock file and for whatever reason it was placed on the date and time i installed bitcoin 8.1.0 for first time and that was on 5/13/2013

  9. goldbit89 commented at 5:22 AM on May 31, 2013: none

    1)does anyone know why there is a lock on the bitcoin folders/ files and subfolders/subfiles?

    2)and also will uninstalling 8.1 delete the wallet and database?

  10. laanwj commented at 5:27 AM on May 31, 2013: member
    1. No, this hasn't happened before. Also in normal cases locks are released when the system is restarted. This may be some file system corruption issue.

    2. Probably not, but it might! Backup the wallet.dat first, before you do any experimentation like this!

  11. goldbit89 commented at 5:50 AM on May 31, 2013: none

    Could this be my issue at play?

    i copied and pasted this:

    mcdee opened this pull request a month ago Resolve path to allow for Bitcoin directory to be a symlink No milestone No one is assigned

    At current if your .bitcoin directory is a symlink (which is becoming more likely as the size of the blockchain increases) then bitcoind will fail to start. This is because fs::create_directory() fails if it is called on a symlink.

  12. laanwj commented at 6:31 AM on May 31, 2013: member

    No, that has nothing to do with the installer at all.

  13. goldbit89 commented at 6:38 AM on May 31, 2013: none

    @laanwj

    the installer does not create bitcoin directories ?

  14. goldbit89 commented at 7:34 AM on May 31, 2013: none

    well i just tried a different 8.2 install using this time the zip install and not the exe install.

    Worked and no errors and everything appears to be ok and same as when i left 8.1 client. so i am closing this issue. Thanks to all who commented.

  15. goldbit89 closed this on May 31, 2013

  16. laanwj commented at 8:19 AM on May 31, 2013: member

    The installer creates the executable directory (in Programs), not the data directory (in Users and Settings)

  17. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me