Jump to content

Eli112358

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by Eli112358

  1. 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?
  2. I believe so, yes. It just needs to be ran before it tries to download workshop updates
  3. Running Project Zomboid with mods. Was having an issue when it tries to update mods: Workshop: onItemNotDownloaded itemID=<workshop_id> result=2. Workshop: item state DownloadPending -> Fail ID=<workshop_id>. After some research, I figured out I needed to delete the 'appmanifest' files in the 'steamapps' folder. Instead of manually doing this every time mods update, I decided to add some code to the 'start-server.sh' script (between setting the 'INSTDIR' variable and the if-else block that starts the server) to do it automatically before the server starts: # enable ** globbing in bash shopt -s globstar # did the last restart get borked on updates? borked=[ $(tail -1 $INSTDIR/Zomboid/server-console.txt) =~ 'Fail ID=' ] if [[ $borked ]]; then # remove/delete workshop manifest files to fix borked updates rm $INSTDIR/steamapps/**/appmanifest_*.acf fi Hope this helps someone with the same issue
×
×
  • Create New...