[PR #1056] [MERGED] Allow migrating installations with no local avatars #15737

Closed
opened 2025-11-02 11:53:27 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1056
Author: @strk
Created: 2/25/2017
Status: Merged
Merged: 2/26/2017
Merged by: @lunny

Base: masterHead: missing-avatar-dir


📝 Commits (1)

  • c4773c9 Allow migrating installations with no local avatars

📊 Changes

2 files changed (+5 additions, -1 deletions)

View changed files

📝 models/migrations/migrations.go (+1 -1)
📝 models/migrations/v20.go (+4 -0)

📄 Description

Fixes this error:

[...itea/routers/init.go:54 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: open /var/www/git/data/avatars: no such file or directory


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1056 **Author:** [@strk](https://github.com/strk) **Created:** 2/25/2017 **Status:** ✅ Merged **Merged:** 2/26/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `missing-avatar-dir` --- ### 📝 Commits (1) - [`c4773c9`](https://github.com/go-gitea/gitea/commit/c4773c9756deeabb32bb2eef1e9ef47e88e8c340) Allow migrating installations with no local avatars ### 📊 Changes **2 files changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `models/migrations/migrations.go` (+1 -1) 📝 `models/migrations/v20.go` (+4 -0) </details> ### 📄 Description Fixes this error: [...itea/routers/init.go:54 GlobalInit()] [E] Failed to initialize ORM engine: migrate: do migrate: open /var/www/git/data/avatars: no such file or directory --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 11:53:27 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15737