Upgrade from windows 386 to amd64 #1898

Closed
opened 2025-11-02 04:17:12 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @T100D on GitHub (Jun 8, 2018).

  • Gitea version (or commit ref): 1.4.2
  • Git version: 2.17.1.windows.2
  • Operating system: Windows 10
  • Database:
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes

Description

Wen we replace the gitea-1.4.2-windows-4.0-386.exe file with the gitea-1.4.2-windows-4.0-amd64.exe file to from 32bit to 64 bit, the repository is empty and a new administration account is deployed.

The old data is not present anymore.

When we go back to the 32bit version of gitea, the repository and accounts are back again.

Is ther a way to upgrade to the 64 bit version without losing data?

Originally created by @T100D on GitHub (Jun 8, 2018). - Gitea version (or commit ref): 1.4.2 - Git version: 2.17.1.windows.2 - Operating system: Windows 10 - Database: - [X] SQLite - Can you reproduce the bug at https://try.gitea.io: - [X] Yes ## Description Wen we replace the gitea-1.4.2-windows-4.0-386.exe file with the gitea-1.4.2-windows-4.0-amd64.exe file to from 32bit to 64 bit, the repository is empty and a new administration account is deployed. The old data is not present anymore. When we go back to the 32bit version of gitea, the repository and accounts are back again. Is ther a way to upgrade to the 64 bit version without losing data?
GiteaMirror added the type/question label 2025-11-02 04:17:12 -06:00
Author
Owner

@lafriks commented on GitHub (Jun 8, 2018):

check that your data is not saved in system32 folder (32-bit vs 64-bit will have different (System32 vs SysWOW64). You need to reconfigure gitea to use other folders not system ones.

@lafriks commented on GitHub (Jun 8, 2018): check that your data is not saved in system32 folder (32-bit vs 64-bit will have different (System32 vs SysWOW64). You need to reconfigure gitea to use other folders not system ones.
Author
Owner

@T100D commented on GitHub (Jun 8, 2018):

Thank you @lafriks.
Thit solved the problem. Now the db is in c:\gitea\data, and we changed this in the config file.

@T100D commented on GitHub (Jun 8, 2018): Thank you @lafriks. Thit solved the problem. Now the db is in c:\gitea\data\, and we changed this in the config file.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1898