Search Criteria
Package Details: onedev 11.6.4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/onedev.git (read-only, click to copy) |
---|---|
Package Base: | onedev |
Description: | A self-hosted Git server with CI/CD and Kanban |
Upstream URL: | https://code.onedev.io/onedev/server |
Licenses: | MIT, custom:OneDev License |
Submitter: | bengcooper |
Maintainer: | bengcooper |
Last Packager: | bengcooper |
Votes: | 1 |
Popularity: | 0.000074 |
First Submitted: | 2023-04-27 21:01 (UTC) |
Last Updated: | 2024-12-10 10:27 (UTC) |
Dependencies (4)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- git (git-gitAUR, git-glAUR)
- java-runtime-headless (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdg-headlessAUR, jre16-openjdk-headlessAUR, jre14-openjdk-headlessAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdk-headlessAUR, amazon-corretto-19-binAUR, liberica-jre-11-full-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jre-openj9-headlessAUR, jre12-openjdk-headlessAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jre11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jre13-openjdk-headlessAUR, jre15-openjdk-headlessAUR, jdk8-openj9-binAUR, jre-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jre19-openjdk-headlessAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre17AUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jre8AUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefield-headlessAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jreAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk17-openj9-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre-openjdk-headless, jre11-openjdk, jre11-openjdk-headless, jre17-openjdk, jre17-openjdk-headless, jre21-openjdk, jre21-openjdk-headless, jre8-openjdk-headless)
- ttf-dejavu (ttf-dejavu-ibAUR, ttf-dejavu-emojilessAUR)
Latest Comments
snogard commented on 2024-02-01 16:22 (UTC)
sha256 of onedev-10.0.0.tar.gz is invalid
bengcooper commented on 2023-11-05 20:13 (UTC)
OneDev uses a slightly unconventional process to update itself which is documented here: https://docs.onedev.io/upgrade-guide/bare-metal
The installation in
/opt/onedev-base
is used as the seed/new version for the installation/upgrade. To create the 'real' installation or to update an existing installation you should run/opt/onedev-base/bin/upgrade.sh /opt/onedev
as theonedev
user. The systemd service etc will then work correctly.I've included a helper script
/usr/bin/onedev-upgrade
in the AUR package which should have run automatically after installation to automate this. Runningonedev-upgrade
as root should seed the installation and set permissions correctly, and everything should work from there.Apologies for any confusion - I haven't yet documented the above in the package or an ArchWiki page.
Thanks for the tip about the missing Java service config - I'm not an experienced Java dev so will look into it.
devqore commented on 2023-11-05 18:33 (UTC) (edited on 2023-11-05 18:35 (UTC) by devqore)
The package seems to be broken because:
systemd service
ExecStart
points to wrong path:ExecStart=/opt/onedev/bin/server.sh console
as a workaround, it can be created override file with the following content (
systemctl edit onedev
)directories seems to have wrong permissions and service cannot be started:
server.sh[122529]: Unable to write test file. Make sure current user owns everything under '/opt/onedev-base'
as a workaround it can be used as root:
java-runtime-headless=17
but it's not using this java in service configuration, and it uses java set as default (as a quick fix I've usedarchlinux-java set java-17-openjdk
)