Search Criteria
Package Details: onedev 11.0.9-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.000344 |
First Submitted: | 2023-04-27 21:01 (UTC) |
Last Updated: | 2024-09-02 09:42 (UTC) |
Dependencies (4)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- git (git-gitAUR, git-glAUR)
- java-runtime-headless (jre10AUR, jre12AUR, server-jreAUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdg-headlessAUR, jre16-openjdk-headlessAUR, jre14-openjdk-headlessAUR, amazon-corretto-18AUR, 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, amazon-corretto-20-binAUR, zulu-15-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, jdk8AUR, jre8AUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk8-openj9-binAUR, jre-ltsAUR, jre17AUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, jdk17-openj9-binAUR, liberica-nik-24-full-binAUR, zulu-jre-fx-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, amazon-corretto-22-binAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk-temurinAUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, zulu-21-binAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, liberica-jdk-8-full-binAUR, liberica-jdk-21-full-binAUR, zulu-17-fx-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk8-perfAUR, jreAUR, jdkAUR, jre19-openjdk-headlessAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, zing-21-binAUR, zing-8-binAUR, jdk21-jetbrains-binAUR, jre-jetbrainsAUR, jre-openjdk-wakefield-headlessAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, java-openjdk-binAUR, liberica-jdk-full-binAUR, java-openjdk-ea-binAUR, jdk21-openj9-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
)