Project Zomboid

Project Zomboid

"error subscribing to workshop item" issue
I've run into an issue where i cant rejoin our Zomboid server, no matter what i do, reinstall, validate, re-subscribe, or manually install every other mod i cant update past a 0 mb unnamed file. Its nothing wrong with the server new players have joined and loaded in no problem, and no file exists in that slot in any other players load order. Anyone got a solution for this?
< >
Showing 1-13 of 13 comments
Klaxon Feb 1, 2022 @ 1:44am 
Someones mod was deleted and the developer was banned due to a DMCA.

The one that got my server was the car repair mod. Check to see if you have it installed in your server still and delete it before restarting.
tommyrayray Feb 1, 2022 @ 1:55am 
why am i the only one getting the issue then? I'm not a host and when trying to fix the issue we had someone who hadn't been on our server before join and he had no issues at all.
Klaxon Feb 1, 2022 @ 2:27am 
The problem is that some people don't restart steam or their libraries don't update.

Steam automatically removes bad mods when they're removed, and updates them when they get an update. If the server hasn't been updated, the server can have an old mod or a bad version of the mod that YOUR steam updated or removed locally.
Klaxon Feb 1, 2022 @ 2:28am 
Gimme a like if this works for you. If you need more help I don't mind walking you through the process.
tommyrayray Feb 1, 2022 @ 2:32am 
We have restarted and refreshed the server multiple times, and ive done everything i can to refresh my own files, what else can i do?
"Hard Tack" Tom Jul 16, 2023 @ 7:20pm 
Bit of a Necro but i figured i post the solution cause ive had this same issue a half dozen times as of 7/16/2023 and im getting very good (and very annoyed) after fixing this over and over.

Why the error occurs:
This "0MB unnamed mod" error happens when a mod that the server used to run gets removed from the zomboid workshop by the author. I ran into this problem when the OG author of the very popular lifestyle mod decided to wipe his entire digital presence off the internet, from his steam account to all his workshop mods so ill use his mod as an example.

Every zomboid server has a config file where it keeps track of mod ID's and workshop ID's.
For example:
Workshop ID: 2997342681
Mod ID: Lifestyle

And when a mod gets deleted off the workshop, this info is gone - but the server still has in it's config file that it needs to tell any joining player to go download the mod with those two ID's. And of course your computer cant find that mod since since it doesnt exist any more and you get the error

How to fix it:
The only way to fix this error is to find which mod got deleted from the workshop, and manually remove both the workshop ID and the Mod ID from the server's "servertest.ini" config file.

How I personally go about fixing it: (there's many different ways)
My server has 100+ mods and i dont have the time or patience to check the workshop for each mod manually. But fortunately your personal zomboid workshop folder on your :C drive DOES automatically update and remove the deleted mod from your files. The server is the one that does not.

So I go into my PC's workshop folder located in "C:\Program Files (x86)\Steam\steamapps\workshop\content\108600" and copy the mod ID's onto an excel spreadsheet. I then go to my server's "servertest.ini" config file (the location of this changed depending on which server host you're using) and I get the and copy those mod ID's into the excel sheet and then I compare the two columns for differences

=IF(A2<>B2,"No match",""

This gives me the mod i need to remove. it takes about 5-10 minutes but does require excel.
Last edited by "Hard Tack" Tom; Jul 16, 2023 @ 7:30pm
Spechter Nov 9, 2023 @ 2:05am 
2
Another solution:

Workshop list:
-Shift+Right click and select "Open PowerShell window here" in 108600 Workshop directory.
-In terminal:
gci | select name > ModNames.txt
(Get-Content .\ModNames.txt) -replace ' ','' | Set-Content .\ModNames.txt -Force

Server list:
-Open .ini file in server location and copy mod list IDs within after "WorkshopItems=". Create Mods.txt and paste. Put Mods.txt in 108600 folder with other text file.
-In terminal:
(Get-Content .\Mods.txt) -replace ';',"`r`n" | Out-File ModsAltered.txt

Get differences:
-In terminal:
Compare-Object (Get-Content .\ModNames.txt) (Get-Content .\ModsAltered.txt) | Out-File Diff.txt

The arrow(s) facing right in Diff.txt will be the number(s) to remove from the server .ini file.
Last edited by Spechter; Nov 9, 2023 @ 2:43am
Starlight Feb 6, 2024 @ 6:53pm 
Both of the above methods rely on a clean server mod folder that never had mods removed from the ini config manually. So I made a PowerShell script that can find the offending mod automatically, all you have to do is provide the server ini path.

The Powershell works by parsing the mods in your server config file, then checking the workshop for each one to see if it is still there, reporting back if it finds a missing mod.

# Define the base URL $baseURL = "https://steamcommunity.com/sharedfiles/filedetails/?id=" $serverConfigIni = "C:\Users\<user>\Zomboid\Server\Serverconfig.ini" # Read the INI file and find the WorkshopItems line $workshopItemsLine = Get-Content $serverConfigIni | Where-Object { $_ -match "^WorkshopItems=" } # Split the line on the equals sign and the semicolon to get the IDs $ids = $workshopItemsLine.Split("=")[1].Split(";") Write-Host "IDs: $ids" # Define the content phrase to search for $phrase = 'There was a problem accessing the item' # Loop through each ID foreach ($id in $ids) { # Construct the URL $url = $baseURL + $id # Send a GET request to the URL $response = Invoke-WebRequest -Uri $url -UseBasicParsing # Check if the response content contains the specified phrase if ($response.Content -like "*$phrase*") { Write-Output "Missing Workshop Item Found $id : $url" } }
Ruin Walker Apr 23, 2024 @ 8:04pm 
When <<hosting a server/game>>, it should show you a list of mods not subscribed, there wont be a name attached. Could mean a few things, owner removed it, or got banned, or it got taken down. I will try my best to walk you through what I did. I am a super goober and struggle to know computer stuff, so this is the method I used step by step! I know it is over complicated, but my brain was happy with it. HERE WE GO

- click host your game and wait

- Tells you to install mods, you do and then it gives you the error "error subscribing to workshop item"

- look at the list and TAKE A PHOTO of the mods that show "not Subscribed" in a blue highlighted box, the mod should have no name (didn't for me, so could be the same for you)

- back out and close project zomboid

- Open steam workshop and go to your project zomboid workshop. on the right hand side, click the drop down "your files" then click "subscribed items" then on the right it should have a drop down "date Subscribed" change that to "alphabetically"

- From there you can look at the photos you took a picture of, which should line up alphabetically and roughly pin point where the bad mod is. When clicking on the bad mod, it will usually display a "sorry" page when you click on that mod. Congrats, you found it.

- Unsubscribe and take a photo of those bad mods again on steam workshop YOU WILL NEED THESE NAMES LATER.

- Open project zomboid again.

- Host game

- Manage settings

- Edit selected settings

- Go to mods, refer to those new pictures you took of those bad mods, and find the matching name in the list of mods. Then remove them. BE SLOW - DONT ACCIDENTALLY REMOVE A GOOD MOD.... I did that by accident.

- Then right above mods tab, it would have a tab for 'steam workshop." click that and you can scroll through the same way you did the others, The mods name wont be there, instead, just a bunch of random numbers that line up where the bad mods would be. Remove those.

- SAVE

- Back out of the settings and start up your game.

- Bada bing bada boom! you're ready to play!

Again, over complicated I know, but I found this process to be super straight forward!
Mythical Jul 6, 2024 @ 8:46am 
For me, It's weird, because [I'm the host] I don't have the mod, but my mate has the 0mb unnamed mod which I don't know how to fix, and I have over 200 mods enabled.
Solence Aug 21, 2024 @ 2:18am 
Originally posted by "Hard Tack" Tom:
Bit of a Necro but i figured i post the solution cause ive had this same issue a half dozen times as of 7/16/2023 and im getting very good (and very annoyed) after fixing this over and over.

...

How to fix it:
The only way to fix this error is to find which mod got deleted from the workshop, and manually remove both the workshop ID and the Mod ID from the server's "servertest.ini" config file.

How I personally go about fixing it: (there's many different ways)
My server has 100+ mods and i dont have the time or patience to check the workshop for each mod manually. But fortunately your personal zomboid workshop folder on your :C drive DOES automatically update and remove the deleted mod from your files. The server is the one that does not.

So I go into my PC's workshop folder located in "C:\Program Files (x86)\Steam\steamapps\workshop\content\108600" and copy the mod ID's onto an excel spreadsheet. I then go to my server's "servertest.ini" config file (the location of this changed depending on which server host you're using) and I get the and copy those mod ID's into the excel sheet and then I compare the two columns for differences

=IF(A2<>B2,"No match",""

This gives me the mod i need to remove. it takes about 5-10 minutes but does require excel.


I used this method (was experiencing the 0MB with no name issue) and it worked well. I want to help some folks in the future who use Windows 10 and have some knowledge of computer-ing. ALL steps will have to be re-done every time this issue occurs:

Tools Used
Windows 10
Notepad++
Google Spreadsheets
Windows Command Prompt (CMD) (NOT Powershell!)

Grabbing Workshop Mod List
Your workshop mods will be wherever your Steam Library is. Typically found in the path above. For me, I have mine on drive F: .

  • Open Windows CMD.
  • Navigate to steamapps\workshop\content\108600 .
  • Type in: dir /b > ModList.txt (Note: Can be anything.txt .)
  • Open newly generated .txt in 10860 folder, probably gonna be at the end of the list.
  • Copy all in ModList.txt .
  • Open Google Spreadsheets.
  • Paste into column A.

You can close CMD and delete ModList.txt . We won't be returning to it later. It also doesn't matter that ModList.txt is included at the end of the mod IDs in the text file.

Grabbing Server Mod List
My server files were found in C:\Users\[USER HERE]\Zomboid\Server . Find your server's "servertest.ini". For me, it was the same name as my server. servertest.ini is just the 'default' name.

  • Open "servertest.ini" in Notepad++.
  • Find WorkshopItems= . You should see a block of numbers such as: 38292425;45236231;62234636; ect.
  • Copy this block.
  • Open new Notepad++ tab.
  • Paste block.
  • Hit Ctrl + F
  • Go to the Replace tab.
  • In the Find what: field, put in: ;
  • In the Replace with: field, put in: \r \n
  • Make sure Wrap around checkbox is enabled.
  • At the bottom left under Search Mode, choose Regular expression.
  • Click Replace All.
  • Copy formatted list into column B in Google Spreadsheets.
  • Keep "servertest.ini" open, we'll be returning later.

Google Spreadsheets: Highlight Duplicates
By now, you should have two columns of mod IDs in Google Spreadsheets. Column A should be your workshop IDs and column B should be the server. It doesn't matter if one column is larger than the other one, nor does order. It just makes things 'simpler' for the sake of this quick tutorial.

  • Click cell A1.
  • At the top, click menu option Format.
  • Click Conditional Formatting. Menu on far right of screen opens.
  • Under Apply to range, type in A1:B1000. If you somehow over 1000 rows, increase this value.
  • Under Format rules, change drop down to Custom formula is.
  • Type in or copy: =COUNTIF($A$1:$B$1000,A1)>1

All duplicate entries should now be highlighted. We're interested in column B, which is your server mod list. Find all of the ones that aren't highlighted, as these are your problem mods.

The Purge
We're almost done, now is just a matter of swapping between Notepad++ and Google Spreadsheets. Whatever isn't highlighted in column B, copy that ID and locate it in "servertest.ini" with Notepad++. Remove that ID and be sure to keep the ; separating those IDs. Save the .ini . Test.

Hopefully this will help the next poor soul.
Last edited by Solence; Aug 21, 2024 @ 2:19am
アンジェル Aug 21, 2024 @ 2:39am 
Originally posted by Solence:
Originally posted by "Hard Tack" Tom:
Bit of a Necro but i figured i post the solution cause ive had this same issue a half dozen times as of 7/16/2023 and im getting very good (and very annoyed) after fixing this over and over.

...

How to fix it:
The only way to fix this error is to find which mod got deleted from the workshop, and manually remove both the workshop ID and the Mod ID from the server's "servertest.ini" config file.

How I personally go about fixing it: (there's many different ways)
My server has 100+ mods and i dont have the time or patience to check the workshop for each mod manually. But fortunately your personal zomboid workshop folder on your :C drive DOES automatically update and remove the deleted mod from your files. The server is the one that does not.

So I go into my PC's workshop folder located in "C:\Program Files (x86)\Steam\steamapps\workshop\content\108600" and copy the mod ID's onto an excel spreadsheet. I then go to my server's "servertest.ini" config file (the location of this changed depending on which server host you're using) and I get the and copy those mod ID's into the excel sheet and then I compare the two columns for differences

=IF(A2<>B2,"No match",""

This gives me the mod i need to remove. it takes about 5-10 minutes but does require excel.


I used this method (was experiencing the 0MB with no name issue) and it worked well. I want to help some folks in the future who use Windows 10 and have some knowledge of computer-ing. ALL steps will have to be re-done every time this issue occurs:

Tools Used
Windows 10
Notepad++
Google Spreadsheets
Windows Command Prompt (CMD) (NOT Powershell!)

Grabbing Workshop Mod List
Your workshop mods will be wherever your Steam Library is. Typically found in the path above. For me, I have mine on drive F: .

  • Open Windows CMD.
  • Navigate to steamapps\workshop\content\108600 .
  • Type in: dir /b > ModList.txt (Note: Can be anything.txt .)
  • Open newly generated .txt in 10860 folder, probably gonna be at the end of the list.
  • Copy all in ModList.txt .
  • Open Google Spreadsheets.
  • Paste into column A.

You can close CMD and delete ModList.txt . We won't be returning to it later. It also doesn't matter that ModList.txt is included at the end of the mod IDs in the text file.

Grabbing Server Mod List
My server files were found in C:\Users\[USER HERE]\Zomboid\Server . Find your server's "servertest.ini". For me, it was the same name as my server. servertest.ini is just the 'default' name.

  • Open "servertest.ini" in Notepad++.
  • Find WorkshopItems= . You should see a block of numbers such as: 38292425;45236231;62234636; ect.
  • Copy this block.
  • Open new Notepad++ tab.
  • Paste block.
  • Hit Ctrl + F
  • Go to the Replace tab.
  • In the Find what: field, put in: ;
  • In the Replace with: field, put in: \r \n
  • Make sure Wrap around checkbox is enabled.
  • At the bottom left under Search Mode, choose Regular expression.
  • Click Replace All.
  • Copy formatted list into column B in Google Spreadsheets.
  • Keep "servertest.ini" open, we'll be returning later.

Google Spreadsheets: Highlight Duplicates
By now, you should have two columns of mod IDs in Google Spreadsheets. Column A should be your workshop IDs and column B should be the server. It doesn't matter if one column is larger than the other one, nor does order. It just makes things 'simpler' for the sake of this quick tutorial.

  • Click cell A1.
  • At the top, click menu option Format.
  • Click Conditional Formatting. Menu on far right of screen opens.
  • Under Apply to range, type in A1:B1000. If you somehow over 1000 rows, increase this value.
  • Under Format rules, change drop down to Custom formula is.
  • Type in or copy: =COUNTIF($A$1:$B$1000,A1)>1

All duplicate entries should now be highlighted. We're interested in column B, which is your server mod list. Find all of the ones that aren't highlighted, as these are your problem mods.

The Purge
We're almost done, now is just a matter of swapping between Notepad++ and Google Spreadsheets. Whatever isn't highlighted in column B, copy that ID and locate it in "servertest.ini" with Notepad++. Remove that ID and be sure to keep the ; separating those IDs. Save the .ini . Test.

Hopefully this will help the next poor soul.

Convuluted, weird place to share considering the very old thread, but sure - whatever works. There are easier ways to deal with it, though. Like utilising a Steam item collection for Steam users, or use the alternative to the Steam Workshop folder. :spacehamster:
Originally posted by Maggie:
When <<hosting a server/game>>, it should show you a list of mods not subscribed, there wont be a name attached. Could mean a few things, owner removed it, or got banned, or it got taken down. I will try my best to walk you through what I did. I am a super goober and struggle to know computer stuff, so this is the method I used step by step! I know it is over complicated, but my brain was happy with it. HERE WE GO

- click host your game and wait

- Tells you to install mods, you do and then it gives you the error "error subscribing to workshop item"

- look at the list and TAKE A PHOTO of the mods that show "not Subscribed" in a blue highlighted box, the mod should have no name (didn't for me, so could be the same for you)

- back out and close project zomboid

- Open steam workshop and go to your project zomboid workshop. on the right hand side, click the drop down "your files" then click "subscribed items" then on the right it should have a drop down "date Subscribed" change that to "alphabetically"

- From there you can look at the photos you took a picture of, which should line up alphabetically and roughly pin point where the bad mod is. When clicking on the bad mod, it will usually display a "sorry" page when you click on that mod. Congrats, you found it.

- Unsubscribe and take a photo of those bad mods again on steam workshop YOU WILL NEED THESE NAMES LATER.

- Open project zomboid again.

- Host game

- Manage settings

- Edit selected settings

- Go to mods, refer to those new pictures you took of those bad mods, and find the matching name in the list of mods. Then remove them. BE SLOW - DONT ACCIDENTALLY REMOVE A GOOD MOD.... I did that by accident.

- Then right above mods tab, it would have a tab for 'steam workshop." click that and you can scroll through the same way you did the others, The mods name wont be there, instead, just a bunch of random numbers that line up where the bad mods would be. Remove those.

- SAVE

- Back out of the settings and start up your game.

- Bada bing bada boom! you're ready to play!

Again, over complicated I know, but I found this process to be super straight forward!

Thanks a lot!
< >
Showing 1-13 of 13 comments
Per page: 1530 50

Date Posted: Feb 1, 2022 @ 1:36am
Posts: 13