I noticed that the version in the PKGBUILD is "1.19_0.11.0_0.14.6-1" but in the aur it's "1.19.0_0.11.0_0.14.6-1". In one after 1.19 it has an underscore and in the other one a dot, so it keeps complaining that I have a newer version that the one in the aur.
Search Criteria
Package Details: fabric-server 1.20.2_0.11.2_0.14.22-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/fabric-server.git (read-only, click to copy) |
---|---|
Package Base: | fabric-server |
Description: | Minecraft Fabric server unit files, script and jar |
Upstream URL: | https://fabricmc.net |
Keywords: | minecraft minecraft-server |
Licenses: | Apache |
Provides: | fabric-server |
Submitter: | ndoskrnl |
Maintainer: | lgm |
Last Packager: | lgm |
Votes: | 5 |
Popularity: | 0.192093 |
First Submitted: | 2020-08-24 08:01 (UTC) |
Last Updated: | 2023-09-27 10:14 (UTC) |
Dependencies (8)
- awk (gawk-gitAUR, busybox-coreutilsAUR, gawk)
- bash (bash-devel-static-gitAUR, bash-gitAUR, bash-xdgAUR, bash-devel-gitAUR, busybox-coreutilsAUR)
- java-runtime-headless (jre10AUR, jre6AUR, jre12AUR, server-jreAUR, jdk9-openj9-binAUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, zulu-14-binAUR, amazon-corretto-15AUR, sapmachine-jdk-binAUR, amazon-corretto-16AUR, jdk16-adoptopenjdkAUR, jdk16-microsoft-openjdkAUR, jdk11-msopenjdk-binAUR, jdk8-armAUR, liberica-jre-11-binAUR, jre11-jetbrains-imfixAUR, java-openjdk-loom-ea-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-j9-binAUR, jdk11-j9-binAUR, jre11-jbr-xdg-headlessAUR, jre16-openjdk-headlessAUR, jre13-openjdk-headlessAUR, jre14-openjdk-headlessAUR, amazon-corretto-18AUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, bishengjdk-17AUR, bishengjre-17AUR, jdk-armAUR, jdk11-openj9-binAUR, jdk-openj9-binAUR, jre-jbr-xdg-headlessAUR, jre18-openjdk-headlessAUR, amazon-corretto-19-binAUR, liberica-jre-11-full-binAUR, jdk13-openjdk-binAUR, jre15-openjdk-headlessAUR, liberica-jre-8-full-binAUR, jre19-openjdk-headlessAUR, jdk11-microsoft-openjdkAUR, jre-openj9-headlessAUR, zulu-jre-fx-binAUR, jdk11-openjdk-dcevmAUR, jre12-openjdk-headlessAUR, jdk-jetbrainsAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk8-aarch64AUR, jre17AUR, jre8-adoptopenjdk-headlessAUR, amazon-corretto-20-binAUR, zulu-15-binAUR, jdk21-jetbrains-binAUR, jdk17-openj9-binAUR, jdk20-openj9-binAUR, jre-openjdk-headless-xdgAUR, jdk-microsoft-openjdkAUR, jdk17-microsoft-openjdkAUR, zulu-13-binAUR, java-openjdk-binAUR, zulu-jdk-fx-binAUR, amazon-corretto-11AUR, amazon-corretto-8AUR, zulu-11-binAUR, zulu-21-binAUR, amazon-corretto-21-binAUR, amazon-corretto-17AUR, zulu-8-binAUR, zulu-17-binAUR, liberica-jdk-8-full-binAUR, liberica-jdk-full-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jreAUR, jre-ltsAUR, jdk11-temurinAUR, jdk17-temurinAUR, jdk-temurinAUR, liberica-jdk-11-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-17-full-binAUR, jre-jetbrainsAUR, jre11AUR, jre8AUR, jdk8AUR, jdk8-openj9-binAUR, java-openjdk-ea-binAUR, jdk17-jetbrains-binAUR, jdk-openjdk, jre-openjdk, jre-openjdk-headless, jre11-openjdk-headless, jre17-openjdk-headless, jre8-openjdk-headless)
- sed (busybox-coreutilsAUR, sed-gitAUR)
- sudo (nosudoAUR, fake-sudoAUR, polkit-fakesudoAUR, sudo-gitAUR, doas-sudo-shimAUR, fudo-gitAUR, doas-sudo-shim-minimalAUR, sudo-hgAUR, sudo-selinuxAUR)
- tmux (tmux-tcl-gitAUR, tmux-fullwidth-backspaceAUR, tmux-ver-28AUR, tmux-xdg-gitAUR, sixel-tmux-gitAUR, tmux-gitAUR, tmux-sixel-gitAUR)
- netcat (nmap-netcatAUR, libressl-netcatAUR, openbsd-netcat-gitAUR, gnu-netcat-svnAUR, gnu-netcat, openbsd-netcat) (optional) – required in order to suspend an idle server
- tar (tar-gitAUR, busybox-coreutilsAUR) (optional) – required in order to create world backups
Required by (0)
Sources (2)
Latest Comments
Capricious-frog commented on 2022-06-29 00:17 (UTC)
lgm commented on 2022-01-18 18:00 (UTC)
thanks @flying, I have updated the package.
flying commented on 2022-01-16 05:19 (UTC)
Good day, I've given a shot at updating the PKGBUILD and .install file to be more in-line with minecraft-server. I think it's worth replacing the current package with this as an upgrade now that edh's server management files are installed as a modular group, instead of files that have to be included directly in the AUR.
I invite you to check it out and make revisions if needed. https://github.com/flying-0/aur-fabric-server-update
lgm commented on 2021-12-27 18:31 (UTC)
Thank you laegnur for pointing that out. The user is indeed not created until after the installation of the package, which is why it is impossible to chown a directory to it. I have removed that line
I am not sure what is causing your second problem I will have to see if I can reproduce that. Just as a guess from my side: Have you created the fabric
group, added your user to it and have you given group read/write permissions to srv/fabric
?
laegnur commented on 2021-12-23 10:23 (UTC) (edited on 2021-12-23 11:14 (UTC) by laegnur)
==> Starting package()...
chown: invalid user: ‘fabric:fabric’
==> ERROR: A failure occurred in package().
Aborting...
-> error making: fabric-server
The PKGBUILD never creates the required user...
Edit: If I create manually the user, the install finish correctly, but when try to launch the server:
fabricd start
Starting server...no server running on /tmp/tmux-970/fabric
lgm commented on 2021-11-19 18:22 (UTC)
I updated this package to match the latest version of minecraft-server package. THIS UPDATE REQUIRES MANUAL INTERVENTION:
The management script switched from GNU screen to tmux.
Manual intervention is needed to close the previous GNU screen sessions:
Use `sudo -u fabric screen -S fabric -rx` to attach to the fabric session and stop it.
Do the same for the `idle_server_fabric` session if one is running.
You can also stop the running fabric server before the update and then start again after the update.
Ringil commented on 2021-11-05 15:11 (UTC) (edited on 2021-11-05 15:11 (UTC) by Ringil)
I managed to edit the PKGBUILD file manually to update it to version 1.17.1:
_ver="1.17.1_0.8.0-1"
_minecraft_ver_latest="1.17.1"
...
depends=("java-runtime-headless>=16" "screen" "sudo" "bash" "awk" "sed")
...
sha512sums=('38642e2cbd218221a93996b86cdb1bf1b1d3c78a377ea22b32c597ce5e4a2e6cb2b4541179d9b4dff6e4c463e60f4bdee101538c58bf455aeb85c73838b6ed2c'
'755d3f532913f999c3abde1eae8a713f5bee8e758314fdeef0a70f81d4411b91b4c88d30824cdf5b0f8f5dae76ceffc10d2b1e5db6161a1daf02a50399b718d3'
'78e688805d448be6a0d05cc4aa7bf728c5b662a1f8c335e5a1bab3a5af42de186585761d2b52cf77c97b474780b410fd8f8539052532235285242f71d295abfc'
'acadfaf12238b5a25df4051dd87dc0b1856a6eaff9bd96263c2027b98df1a55e19d3a8c66b89b9b7ff885bd37bf00957304be9c21f5d918966f025e7e6c3f9c8'
'63179dc31b3460f57fab2ab8661c9257b3bd8f966224782e9940751f39998532efedc14129cfe536f18b5f2b4578894940ea32b68f4eb75c325e58a1ea04df77'
'4f33c9211460c454aec28242193cd39a7af6c20aa4b05ae59343e84eb1f5d2714abf32de7809bb735a6ab03ee0af435af64d24c7366724b8b2ddf7a03b43d224')
Inside the sha512sums section, only the last element has changed with the sha512 of fabric-installer-0.8.0.jar
(which can be downloaded and verified on fabric website).
With those edits, it should install the 1.17.1 version.
After that, the /etc/conf.d/fabric
file needs a fix:
SERVER_START_CMD="/usr/lib/jvm/default/bin/java -Xms512M -Xmx1536M -XX:ParallelGCThreads=1 -jar './${MAIN_EXECUTABLE}' nogui"
Here only the path to the java environment has changed. You should have installed at least version 16 of java, and set it on you environment with archlinux-java
command.
All of this worked for me. It was the first time I tried something like that, and it may well be that I did something against best practice or something like that, in that case I'm sorry and I hope to be corrected. I hope this will be of help nonetheless.
aphirst commented on 2021-08-23 22:54 (UTC) (edited on 2021-08-23 23:34 (UTC) by aphirst)
Any chance this can get updated to 1.17.1 ?
AntonioBiscuit commented on 2020-11-18 20:53 (UTC)
I there, this package needs to be updated for 1.16.4
Pinned Comments
lgm commented on 2021-11-19 18:22 (UTC)
I updated this package to match the latest version of minecraft-server package. THIS UPDATE REQUIRES MANUAL INTERVENTION:
You can also stop the running fabric server before the update and then start again after the update.