RackIt Posted December 8, 2023 Share Posted December 8, 2023 All the config data is being placed into appdata. I was able to re-map it. Maybe this helps someone else also. I have not gone beyond just getting this installed and the volumes remapped. I created a new share called "minecraft-crafty" In the extra parameters: -v "/mnt/user/minecraft-crafty/backups:/config/crafty/backups" -v "/mnt/user/minecraft-crafty/logs:/config/crafty/logs" -v "/mnt/user/minecraft-crafty/servers:/config/crafty/servers" -v "/mnt/user/minecraft-crafty/config:/config/crafty/app/config" -v "/mnt/user/minecraft-crafty/import:/config/crafty/import" 1 Quote Link to comment
dirkinthedark Posted December 10, 2023 Share Posted December 10, 2023 @binhex When I try to use a different port range it orphans the container. Also for some reason I can't get any minecraft servers to work from my Unraid server. I've tried different ports, networks (ips), etc. I must be missing something. Quote Link to comment
dirkinthedark Posted December 10, 2023 Share Posted December 10, 2023 I don't understand why I cant connect to my Minecraft servers on my unraid box. I am out of town VPN in via Tailscale and exit node with allow local traffic if that matters I run a port scanner and the ports are reading open to me from remote. Might have to wait until im home and not go through Tailscale. I have been playing on my other server over tailscale but its on a seperate machine. I have also tried putting the docker on the BR0 and Its own IP network but same results. Quote Link to comment
dirkinthedark Posted December 11, 2023 Share Posted December 11, 2023 11 hours ago, dirkinthedark said: I don't understand why I cant connect to my Minecraft servers on my unraid box. I am out of town VPN in via Tailscale and exit node with allow local traffic if that matters I run a port scanner and the ports are reading open to me from remote. Might have to wait until im home and not go through Tailscale. I have been playing on my other server over tailscale but its on a seperate machine. I have also tried putting the docker on the BR0 and Its own IP network but same results. Ok so its an issue with Tailscale. I vmed into another machine installed minecraft and was able to connect no sweat. I don't know why its an issue with Tailscale, this just means ill have to attack my server from outside in, not a big deal. Quote Link to comment
binhex Posted December 11, 2023 Author Share Posted December 11, 2023 14 hours ago, dirkinthedark said: When I try to use a different port range it orphans the container. this is incorrect, 25565-25576 cannot be mapped to 25565-25575 highlighted the incorrect port number range, do you see it? Quote Link to comment
dirkinthedark Posted December 13, 2023 Share Posted December 13, 2023 Yes I thought this is where I would specify what ports I want. I guess I have to delete the ports that come default and do my own mappings. Quote Link to comment
binhex Posted December 13, 2023 Author Share Posted December 13, 2023 8 hours ago, dirkinthedark said: Yes I thought this is where I would specify what ports I want. I guess I have to delete the ports that come default and do my own mappings. it is where you specify what ports you want, but you cannot have a larger range on the host side (left) compared with the container side (right), for example:- this would work:- -p 2005-2015:25565-25575 why does it work?, cos the number of ports (10) is equal on both sides, access to the range of ports would then be via port 2005-2015 this does NOT work:- -p 2005-2020:25565-25575 why does it NOT work?, cos the number of ports on the host side is 15, but the number of ports on the container side is 10, they must be equal now if the range is too large or too small on the container side, then yeah your only course of action is to completely delete the ports and create a brand new port, as you cannot change the container ports (right side) once defined. 1 Quote Link to comment
Eli112358 Posted December 27, 2023 Share Posted December 27, 2023 (edited) Been using binhex/arch-crafty-4 for a while with minor issues that I was able to solve, but now I have an issue I have not yet figured out how to solve. I don't think I changed anything, except maybe updating the container. I am no longer able to log in. I grabbed the hashed password from the /crafty/app/config/db/crafty.sqlite file and verified it using some python: from argon2 import PasswordHasher ph = PasswordHasher() h = "$argon2id$v=19$m=65536,t=3,p=4$LHoBFZzaAx2nigL1mE4OPg$VITBFjBRASzx9+FyYXv5WqWzZxNO3Xzb+ZOWQhqVZ30" ph.verify(h, "crafty") # True (tried with my actual password and hashed password, but not pasting that here obviously) However, on the login page, it always says "Incorrect username or password. Please try again.". Even renaming the config folder and starting the container again to start fresh (the login should return to defaults), but still same error message trying with default creds. Anyone know why login fails with correct password? In the DevTools, on the Network tab, it says settings.js and todolist.js are not found (404). Is this possibly the cause for the correct password not being accepted? Edited December 31, 2023 by Eli112358 Quote Link to comment
Oxxy Posted January 10 Share Posted January 10 I have the same problem, I tried searching the internet and these forums, I cant login. I have wiped and reinstalled multiple times now, username password wont work, default credentials wont work. I've removed the old images from /appdata. Nothing works, so for now the kids have both lost their previous work, but can't play together. Quote Link to comment
binhex Posted January 11 Author Share Posted January 11 14 hours ago, Oxxy said: I have the same problem, I tried searching the internet and these forums, I cant login. I have wiped and reinstalled multiple times now, username password wont work, default credentials wont work. I've removed the old images from /appdata. Nothing works, so for now the kids have both lost their previous work, but can't play together. you might be hitting a cookies related issue, try using a different browser or using 'incognito mode', just to confirm the defaults:- Web UI Credentials Username: admin Password: crafty Looks like Crafty Developers have now switched to using a dynamically generated password if a password is not set, this can be seen in the log at /config/supervisord.log:- HELP: No default password found. Using password created by Crafty. Find it in app/config/default-creds.txt so if you then look in /config/crafty/app/config/default-creds.txt you will see the credentials to login, i shall update the readme Quote Link to comment
Oxxy Posted January 13 Share Posted January 13 On 1/11/2024 at 9:55 PM, binhex said: you might be hitting a cookies related issue, try using a different browser or using 'incognito mode', just to confirm the defaults:- Web UI Credentials Username: admin Password: crafty Looks like Crafty Developers have now switched to using a dynamically generated password if a password is not set, this can be seen in the log at /config/supervisord.log:- HELP: No default password found. Using password created by Crafty. Find it in app/config/default-creds.txt so if you then look in /config/crafty/app/config/default-creds.txt you will see the credentials to login, i shall update the readme Thanks mate, i had literally just built another unraid server (for a new project), on new hardware, and the same happened so was going to update the post. Another hurdle seems to be the password cannot be changed, and throws an error. "INVALID_JSON_SCHEMA" in a popup. Thanks for your efforts too. Quote Link to comment
cwdean Posted January 15 Share Posted January 15 (edited) On 6/16/2022 at 7:33 AM, mattekure said: FYI, default username/pw are detailed in the getting started doc. https://wiki.craftycontrol.com/en/4/docs/Getting Started#logging-in Logging In Once you reach the Crafty webpage you will be greeted with a login screen. The default credentials in config.json are: Username: admin Password: crafty We highly recommend changing this immediately after logging in. I've tried the default username/password as specified but it says 'invalid username and password'. In the appdata folder I noticed that default.json had the .example suffix added so I renamed this file and restarted the service...but still cannot log into the webui. Any ideas why the default username/password (after a fresh install) is not be accepted? Thanks in advance for your help! -------- edited: nevermind I just noticed the post above indicating that a dynamic password is now generated and stored in default-creds.txt -- now that I know this I was able to view that file with the proper credentials and get logged in. Would be nice if the docs contained these updated details. Edited January 15 by cwdean Quote Link to comment
binhex Posted January 15 Author Share Posted January 15 I've tried the default username/password as specified but it says 'invalid username and password'. In the appdata folder I noticed that default.json had the .example suffix added so I renamed this file and restarted the service...but still cannot log into the webui. Any ideas why the default username/password (after a fresh install) is not be accepted? Thanks in advance for your help!See my previous postSent from my 22021211RG using Tapatalk Quote Link to comment
rutherford Posted February 21 Share Posted February 21 it seems like having so many open ports would be a security risk. I can't shut it down to 19132-19132, and 25568-25568. It fails and "orphans" the container, so I have to reinstall from Recently Installed Apps. Is it not a security problem to have loads of unused open ports? Quote Link to comment
NLS Posted February 21 Share Posted February 21 8 hours ago, rutherford said: it seems like having so many open ports would be a security risk. I can't shut it down to 19132-19132, and 25568-25568. It fails and "orphans" the container, so I have to reinstall from Recently Installed Apps. Is it not a security problem to have loads of unused open ports? Not really. It depends how the open ports are handled. Quote Link to comment
binhex Posted February 21 Author Share Posted February 21 1 minute ago, NLS said: Is it not a security problem to have loads of unused open ports? That depends, if you trust every device on your LAN (normal) AND you do not port forward all the ports then the risk is close to zero as nobody from the outside world (untrustworthy) can connect. that being said, if you want to change the port range then simply delete the existing port range (cannot change an existing port or range of ports) and then create a new port range to your liking. 1 Quote Link to comment
NLS Posted February 27 Share Posted February 27 On 2/21/2024 at 4:05 PM, binhex said: That depends, if you trust every device on your LAN (normal) AND you do not port forward all the ports then the risk is close to zero as nobody from the outside world (untrustworthy) can connect. that being said, if you want to change the port range then simply delete the existing port range (cannot change an existing port or range of ports) and then create a new port range to your liking. That was a bad misquote. I wasn't the one I said that it is a risk, I said the opposite. Quote Link to comment
binhex Posted February 27 Author Share Posted February 27 1 hour ago, NLS said: That was a bad misquote. I wasn't the one I said that it is a risk, I said the opposite. Sorry, yep i know you were saying the opposite, not sure how that got misquoted 🙂 1 Quote Link to comment
mmtaii Posted March 10 Share Posted March 10 I recently spun up a 1.20.4 vanilla server and had nothing but issues. Random disconnects are today's issue. Also had crashes. Crash logs are confusing and don't seem to show anything helpful. Server has plenty of memory and CPU available. Is there another option I should explore instead or is this just the name of the game running a Minecraft server on Unraid? Hate to pay for a service when I have a powerful unraid box sitting in my closet. Thanks Quote Link to comment
scloutier Posted March 21 Share Posted March 21 On 1/12/2024 at 10:43 PM, Oxxy said: Thanks mate, i had literally just built another unraid server (for a new project), on new hardware, and the same happened so was going to update the post. Another hurdle seems to be the password cannot be changed, and throws an error. "INVALID_JSON_SCHEMA" in a popup. Thanks for your efforts too. I got that error when trying to put a very short password (admin). put in something longer and it works... Quote Link to comment
wcg66 Posted March 22 Share Posted March 22 I recently moved to this version of the Crafty Controller container since the other version from the arcadiatechnology repository stopped working after the most recent update. I was able to import my server from the former installation so all is good now. I was wondering if anyone else ran into this issue? Quote Link to comment
rutherford Posted April 14 Share Posted April 14 I noticed some IP in China is slamming my ports. What's a good way to shut that down? Quote Link to comment
JonathanM Posted April 15 Share Posted April 15 22 hours ago, rutherford said: I noticed some IP in China is slamming my ports. What's a good way to shut that down? Block the entire 140.210.*.* network in your firewall. Quote Link to comment
Artiom97es Posted June 23 Share Posted June 23 most of time when i explore it just stop loading, and sometimes kick me out from the server, so its server fault, mine? i tried to change view distance from 5 to 10 to 20 to 50 to 100, and same problem aswell tried forge/fabrica/vanilla no idea what to do, cpu never go more than 30%, ram never go more than 3gb there is plenty of space, the hdd its just for this server and its almost not used at all could add more info if needed Quote Link to comment
guyola Posted July 25 Share Posted July 25 Hi I use cloudflare and nginx on unraid and I have a domain and subdomain - how do I define the nginx reverse proxy to work with crafty 4 to allow my friends from the internet to join my minecraft server? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.