Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 6.24.3 is not working, because gitea-1.8-linux-arm-7 is not available #2959

Closed
maschiw opened this issue Jul 4, 2019 · 6 comments
Labels
ARMv7 External bug 🐞 For bugs which are not caused by DietPi. Workaround available 🆗 Workaround is available/has been implemented, but a definite solution should be found when possible.
Milestone

Comments

@maschiw
Copy link

maschiw commented Jul 4, 2019

ADMIN EDIT

Workaround: sed -i 's/arm-7/arm-6/' /DietPi/dietpi/dietpi-software


Details:

  • Date | Thu 4 Jul 11:50:44 BST 2019
  • Bug report | N/A
  • DietPi version | v6.24.3 (MichaIng/master)
  • Img creator | DietPi Core Team
  • Pre-image | Meveric
  • SBC device | Odroid XU3/XU4/HC1/HC2 (armv7l) (index=11)
  • Kernel version | #1 SMP PREEMPT Thu Aug 23 05:59:33 UTC 2018
  • Distro | stretch (index=4)
  • Command | Connection test: https://dl.gitea.io/gitea/1.8/gitea-1.8-linux-arm-7
  • Exit code | 8
  • Software title | DietPi-Software

Steps to reproduce:

I just called dietpi-update

Expected behaviour:

Update the system

Actual behaviour:

The check if https://dl.gitea.io/gitea/1.8/gitea-1.8-linux-arm-7 exists is failing,
because it is not there
The file gitea-1.8-linux-arm-7 is not listed at https://dl.gitea.io/gitea/1.8/

Additional logs:

Log file contents:
Spider mode enabled. Check if remote file exists.
--2019-07-04 11:50:18--  https://dl.gitea.io/gitea/1.8/gitea-1.8-linux-arm-7
Resolving dl.gitea.io (dl.gitea.io)... 104.27.142.155, 104.27.143.155, 2606:4700:30::681b:8f9b, ...
Connecting to dl.gitea.io (dl.gitea.io)|104.27.142.155|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
Remote file does not exist -- broken link!!!
@MichaIng MichaIng added ARMv7 External bug 🐞 For bugs which are not caused by DietPi. labels Jul 4, 2019
@MichaIng
Copy link
Owner

MichaIng commented Jul 4, 2019

@maschiw
Many thanks for your report.

You are right, somehow the ARMv7 binary is missing in all v1.8 version, ARMv5/6/64 i386/x64_64 are all there. No idea what happened there, if it's a temporary upload/sync issue or wanted: https://dl.gitea.io/gitea/
v1.7 and below releases have the ARMv7 binaries as expected.

Will check release notes and opened issues/reports about this.

@MichaIng
Copy link
Owner

MichaIng commented Jul 4, 2019

Found: go-gitea/gitea#7222

MichaIng added a commit that referenced this issue Jul 4, 2019
+ CHANGELOG | Init v6.26 entries
+ CHANGELOG | Gitea: Install failure on ARMv7: #2959
@MichaIng
Copy link
Owner

MichaIng commented Jul 4, 2019

Workaround:

sed -i 's/arm-7/arm-6/' /DietPi/dietpi/dietpi-software

@MichaIng MichaIng added this to the v6.26 milestone Jul 4, 2019
@MichaIng MichaIng added Workaround available 🆗 Workaround is available/has been implemented, but a definite solution should be found when possible. and removed Investigating 🤔 labels Jul 4, 2019
@maschiw
Copy link
Author

maschiw commented Jul 5, 2019

Thanks for your workaround. I implemented it and started dietpi-update again.
I expected a new update run. But dietpi-update said "No update required" and "Current version: v6.25.3".
Have I to use a special dietpi-update parameter like "dietpi-update -1"?
Or is it good to have a backup?

@maschiw maschiw closed this as completed Jul 5, 2019
@MichaIng
Copy link
Owner

MichaIng commented Jul 5, 2019

@maschiw
dietpi-update -1 will rerun the whole update. Since only the Gitea reinstall failed, reinstalling it is sufficient: dietpi-software reinstall 165

  • Could you report back if this really works as expected? All related issues on Gitea site state that it does, but just for verification before I add this fix into the patch file to prevent others from running into the same update error.

Gitea is a very simple install, so for this a backup IMO is not required, but doesn't hurt as well.

@MichaIng
Copy link
Owner

MichaIng commented Jul 6, 2019

Okay I merged the hotfix into the v6.25 patch file. Just verified that it is official aim/recommendation to use the ARMv6 binaries on ARMv7 from v1.8 on.

I mark this as closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMv7 External bug 🐞 For bugs which are not caused by DietPi. Workaround available 🆗 Workaround is available/has been implemented, but a definite solution should be found when possible.
Projects
None yet
Development

No branches or pull requests

2 participants