Package Details: fabric-server 1.21.3_1.0.1_0.16.7-1

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: fabric minecraft minecraft-server modded
Licenses: Apache
Provides: fabric-server
Submitter: ndoskrnl
Maintainer: jSQrD
Last Packager: jSQrD
Votes: 6
Popularity: 0.52
First Submitted: 2020-08-24 08:01 (UTC)
Last Updated: 2024-10-24 18:26 (UTC)

Dependencies (8)

Sources (2)

Pinned Comments

jSQrD commented on 2024-10-24 18:31 (UTC) (edited on 2024-10-24 18:32 (UTC) by jSQrD)

As of Minecraft Version 1.20.6, Minecraft requires Java 21. This package will receive updates whenever the Minecraft updates or Fabric updates.

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.

Latest Comments

« First ‹ Previous 1 2

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