Skip to content

gitea-mirror - install broken, repo moved, needs updateΒ #5771

@SoTHISIsFitness

Description

@SoTHISIsFitness

βœ… Have you read and understood the above guidelines?

yes

πŸ“œ What is the name of the script you are using?

Gitea-Mirror

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/gitea-mirror.sh)"

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ“ Provide a clear and concise description of the issue.

Script fails and exits error code 1.

after a quick peek, it appears the github repo arunavo4/gitea-mirror moved to RayLabsHQ/gitea-mirror like 4 hours ago. So the script needs to be updated for:

replace:
https://api.github.com/repos/arunavo4/gitea-mirror/releases/latest

with:
https://api.github.com/repos/RayLabsHQ/gitea-mirror/releases/latest

and whatever other instances of the original repo url are in the script obv should also be replaced similarly. I'm not set up to do that right now (and honestly don't have the bandwidth at the moment) or I would just do it myself

πŸ”„ Steps to reproduce the issue.

Step 1: run Gitea-Mirror helper script on your proxmox host shell
Step 2: receive error code 1 because the script is looking for files in a repo that no longer hosts them πŸ˜…

❌ Paste the full error output (if available).

  βœ”οΈ   Installed Dependencies
######################################################################## 100.0%                   
bun was installed successfully to /opt/bun/bin/bun 

Added "/opt/bun/bin" to $PATH in "~/.bashrc" 

To get started, run: 

  source /root/.bashrc 
  bun --help 
  βœ”οΈ   Installed Bun
curl: (22) The requested URL returned error: 404
curl: (22) The requested URL returned error: 404
curl: (22) The requested URL returned error: 404
   βœ–οΈ   Failed to fetch release metadata from https://api.github.com/repos/arunavo4/gitea-mirror/releases/latest after 3 attempts

[ERROR] in line 31: exit code 0: while executing command return 1

[ERROR] in line 1249: exit code 0: while executing command lxc-attach -n "$CTID" -- bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/"$var_install".sh)" $?

πŸ–ΌοΈ Additional context (optional).

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions