Package Details: spigot 1.21.4+b188-1

Git Clone URL: https://aur.archlinux.org/spigot.git (read-only, click to copy)
Package Base: spigot
Description: High performance Minecraft server implementation
Upstream URL: https://www.spigotmc.org/
Keywords: craftbukkit games minecraft minecraft-server
Licenses: LGPL
Conflicts: bukkit, craftbukkit, spigot-patcher
Provides: bukkit, craftbukkit, minecraft-server
Submitter: Schala
Maintainer: edh
Last Packager: edh
Votes: 30
Popularity: 0.31
First Submitted: 2013-10-09 23:27 (UTC)
Last Updated: 2024-12-20 23:42 (UTC)

Dependencies (11)

Required by (5)

Sources (2)

Latest Comments

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 14 Next › Last »

edh commented on 2017-05-24 17:50 (UTC)

@fennectech If there is no data to be saved but you trigger a backup nevertheless, then the server will simply backup empty folders. This is expected behaviour and nothing to worry about. Simply start you server, accept the EULA and start it again to populate the world. In a nutshell: create data which makes sense to backup.

fennectech commented on 2017-05-24 05:08 (UTC)

backing my server up with spigot backup yealds [fennectech@manjaro ~]$ spigot backup Starting backup... tar: world: Cannot stat: No such file or directory tar: world_nether: Cannot stat: No such file or directory tar: world_the_end: Cannot stat: No such file or directory Total bytes written: 10240 (10KiB, 40MiB/s) tar: Exiting with failure status due to previous errors backup completed Only keeping the last 10 backups and removing the other ones... done (no backups pruned) and an empty tarball

edh commented on 2017-03-29 08:33 (UTC)

@wyre Since this discussion starts to clutter the comments section, please direct further replies directly to my E-Mail address. Validate that you have the required dependencies installed on your system and that the idle server is properly started and running using the 'status' command. If you have changed the value recently a complete shutdown and subsequent start is required (respectively a restart). If everything from the above yields the expected results, start investigating the idle_server by attaching to its GNU screen session using 'sudo -u craftbukkit screen -S idle_server_spigot -xR'. The so called idle_server shuts the server down if no player has been on it for IDLE_IF_TIME (defaults to 20 minutes). It then listens on the usual minecraft port for incoming connections and starts the server if someone tries to connect, thereby discarding the first connection. After waiting a few seconds for the server to properly start everything should be back to normal and the process repeats itself. Bookmarked servers are immediately checked whether they are available thereby initiating a server start without you connecting to it.

jfernandz commented on 2017-03-29 02:15 (UTC) (edited on 2017-03-29 02:16 (UTC) by jfernandz)

@edh I cannot start the server when I setup IDLE_SERVER=true in /etc/conf.d/spigot What is this mode supposed to do? Stops the server when there are no players, but then what is the state reported to minecraft bookmarks servers? and it will be enabled again if a player try to connect?

edh commented on 2017-03-27 15:09 (UTC)

@wyre The idle server works fine for me. However I can't guarantee the same for your setup. In general I would consider it stable. Whether you want to enable it depends on you being fine with an increased connection time after resuming. The file permissions should be independent from spigot and are most likely dictated by the user's umask. Adapting it to grant the group read and write access to newly created files should do the job.

jfernandz commented on 2017-03-27 14:24 (UTC)

@edh Last few things: - The idle function works fine with this server? Can I enable it? it is recommended? - How could I make spigot generates files with 775 permissions to get an easier managing? (I've included my usual user into craftbukkit group)

edh commented on 2017-03-25 10:39 (UTC)

@wyre Glad to hear that everything works as expected. The backup process works like this: Disable automatic rewriting of savestats (in theory preventing file-changes while backing up); Instruct the server to save all remaining files; Syncing files to disk; Actually create the backup using tar; Turn automatic savestats back on. However this approach is not fail-safe as you have seen with your backup. In some weird way files can get changed nevertheless. The server is not suspended at any point therefore allowing full player interaction while taking a backup. Either way to be sure to get a proper backup, I would consider shutting down the server for the time being. This often is not a viable option for most admins, hence I would not broadly recommend it.

jfernandz commented on 2017-03-25 03:52 (UTC)

@edh Yes, you are right, I must have looked into an old backup or something like that, because it had only world folder. But last backup has three folders. Also... the script suspend the server to do the backup? I mean, I've scheduled the timer to 8am to ensure there is few users inside server but the server should not be stopped in order to get better performance in the backup? Otherwise I get messages from tar like "region file has changed while compression"

edh commented on 2017-03-24 22:04 (UTC)

@wyre You need to change the configuration of the control script which resides in /etc/conf.d/spigot to include those folders. However by now this should be the default, meaning if you have a pacnew file, merge it first. Should the problem persist be sure to contact me directly via mail with as much detail as possible since the script is working perfectly fine with my setup.

jfernandz commented on 2017-03-24 19:38 (UTC)

The spigot.sh script is only doing world backup, doesn't make backups of world_nether and world_the_end.