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.19.2_0.11.0_0.14.9-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: | 3 |
Popularity: | 0.71 |
First Submitted: | 2020-08-24 08:01 (UTC) |
Last Updated: | 2022-08-08 15:38 (UTC) |
Dependencies (8)
- awk (gawk-git, gawk)
- bash (bash-devel-git, bash-devel-static-git, bash-git, bash-xdg)
- java-runtime-headless (jre10, jdk6, jdk12-openj9-bin, zulu-12-bin, jre6, jre12, server-jre, jdk13-openj9-bin, jdk9-openj9-bin, jdk10, jdk11-openjdk-dcevm, jdk10-openj9-bin, jdk14-openj9-bin, jdk7, jre7, zulu-14-bin, amazon-corretto-15, jdk11-openjdk-dcevm-conflicts-fixed, zulu-embedded-jdk8, sapmachine-jdk-bin, amazon-corretto-16, jre8-openjdk-shenandoah-headless, zulu-16-bin, jdk16-adoptopenjdk, jdk11-openj9-bin, zulu-jdk-fx-bin, jdk11-microsoft-openjdk, jdk16-microsoft-openjdk, jre-openj9-headless, jdk11-msopenjdk-bin, jdk18-beta-temurin, jdk8-arm, liberica-jdk-11-bin, liberica-jdk-11-lite-bin, liberica-jre-11-bin, jre11-jetbrains-imfix, java-openjdk-loom-ea-bin, jdk8-dragonwell-bin, jdk17-dragonwell-bin, jdk8-openj9-bin, zulu-jre-fx-bin, hmcl-zulu-bin, jdk7-j9-bin, jdk7r1-j9-bin, jdk8-j9-bin, jdk11-j9-bin, jdk-jetbrains, jre11-jbr-xdg-headless, jre-jbr-xdg-headless, jre11, jdk18-openj9-bin, jre12-openjdk-headless, jre15-openjdk-headless, jre16-openjdk-headless, jre13-openjdk-headless, jre14-openjdk-headless, zulu-embedded-jdk11, jre-bcl, jdk-bcl, jre-openjdk-headless-xdg, liberica-jre-8-full-bin, amazon-corretto-18, zulu-18-bin, zulu-17-bin, zulu-11-bin, zulu-8-bin, zulu-15-bin, zulu-13-bin, jre-lts, jre, liberica-jdk-full-bin, jdk11-temurin, jdk-temurin, jdk17-temurin, amazon-corretto-8, jre15, jre14, jre13, jre16, jre17, java-openjdk-bin, bishengjdk-17, bishengjre-17, jre8-adoptopenjdk-headless, jdk11-dragonwell-bin, jdk-arm, jdk-microsoft-openjdk, jre8, jdk8, liberica-jdk-8-full-bin, jdk-openj9-bin, java-openjdk-ea-bin, jre-jetbrains, amazon-corretto-11, amazon-corretto-17, liberica-jdk-11-full-bin, liberica-jdk-17-full-bin, liberica-jre-11-full-bin, jre-openjdk-headless, jre11-openjdk-headless, jre17-openjdk-headless, jre8-openjdk-headless)
- sed (sed-git)
- sudo (nosudo, opendoas-sudo, fake-sudo, sudo-hg, polkit-fakesudo, sudo-git, sudo-selinux)
- tmux (tmux-tcl-git, tmux-fullwidth-backspace, tmux-ver-28, tmux-git, tmux-xdg-git, sixel-tmux-git)
- netcat (nmap-netcat, libressl-netcat, gnu-netcat, openbsd-netcat) (optional) – required in order to suspend an idle server
- tar (tar-libarchive, tar-git, tar-parallel) (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.