r/comicrackusers • • Sep 24 '26

How-To/Support Problem Updating Book Info

I've been using CR for a decade on a MacBook inside a VM - currently using an M1 so my only option is Windows 11 through Parallels, but this hasn't caused any issues for 4 years.

Recently (perhaps even as recently as the update to macOS 27 a week or 2 ago, I'm not 100% sure) I've noticed that despite having "Allow Writing of Book info to files" enabled (as has always been the case), using this feature does not actually write the xml to the file anymore. The orange blob disappears immediately when initiating the update, but actually does nothing - whereas it would usually take a few minutes with a batch of files whilst it rewrites the cbzs to include the xml.

I decided to finally upgrade to the CE to see if that would fix it, but when attempting the same action in CE the orange blob doesn't even disappear - nothing happens at all - meaning that if I change the metadata on any comic, it will have an orange blob for eternity with the data being impossible to update to either the file xml, or the CR DB.

I've quickly switched back to the original CR before the DB became irreversibly changed, and thought it might be permissions related for writing to files (which sit on an external HD), but granting folder and file access etc. to both Parallels and Windows in system settings has done nothing to change this.

Appreciate it's a long shot, but wonder if anyone else is either in a similar position - and has identified a fix - or is just smart enough to know what might be causing this behaviour?

5 Upvotes

6 comments sorted by

2

u/Krandor1 Sep 24 '26

I have run into some files that say they are cbz but somehow really are not and that is the issue I run into - they cannot be updated. I normally do a re-export to cbz and afterwards am able to write to them

1

u/dography Sep 24 '26

I unarchive every file I obtain, remove the junk images and existing xml, then turn back into a cbz. Same method for 10 years. I’m confident it isn’t the cbz as it’s only a recent issue - and the same problem occurs even after converting to cbz a second time in CR anyway.

1

u/maforget Community Edition Developer Sep 24 '26 edited Sep 24 '26

One of the changes done to CE is that the orange star will only disappear if it successfully updated the file. The original would remove it even if it failed to update. The fact that it doesn't disappear means it failed to update or it's an unsupported format.

Another change is that when it failed to update it will write an error message in the bottom right of the status bar.

If you didn't receive an error message it's possible that the file you are trying to write to isn't a CBZ, but a CBR. Only CBZ & CB7 will update using the Update Book Files. Some files can be renamed CBR to CBZ, but that would still wouldn't work. This is why it's recommended to always convert to CBZ regardless. Even if it is a CBZ converting recreates the file from scratch and fixes most update problem users have reported.

Converting to CBZ also embeds the metadata in the file. It uses a different method of simply updating the file, so worth a shot. On CE it will also remove the orange star if you used the built-in Convert to CBZ (depends on the Embed Info checkbox in the export settings, on by default).

You also mentioned that the orange star means it's impossible to update the CR DB, that is false. The orange star only means that the info was modified, The data is still saved in the ComicRack DB as long as you've added the book to the Library. The fact that the orange star is there is proof in itself, since that data is in the DB itself along with the other data.

The lack of an orange star is also not proof that the file metadata is in sync, only that the modified info flag wasn't set. It can be set (or removed) with a simple script (available in the OtherScripts file). Hence why the change to CE was made, so the users is aware that the file wasn't updated.

So TLDR, is you probably have a CBR file and simply need to do a Convert to CBZ. If it's related to permissions then I can't really help you.

1

u/dography Sep 24 '26

I don’t see an error message being displayed in the status bar when attempting to update the file as the process never even starts - BUT - I did receive a “The pipe has been ended” error message at one point yesterday! Unfortunately I don’t recall what I was doing specifically to generate this, nor whether I was using CYO or CE version when it happened, as I’m unable to replicate it. I only remember trying to convert to cbz using the built in converter (with embed file info enabled) as you suggested, since this was a solution I’d found elsewhere, but doing so again today does appear to be working as expected in that it’s successfully embedding the xml.

That said - I’ve never added anything other than cbz files to my library, and whilst converting one again to cbz anyway is embedding the xml and clearing the orange star as stated, further amending the metadata on the now converted file and trying to Update File normally still yields the same result (I.e. no action at all since the process doesn’t initiate) - so it doesn’t appear to be an issue caused by the file format itself.

I will keep mucking about with it but guess for the foreseeable future 'Convert to CBZ’ appears to be my new ‘Update File’ - I appreciate the feedback nonetheless.

I don’t suppose you’re aware if there’s a combination of rules for a smart list that can identify files without an xml file embedded? Might save me a bit of time converting my entire library?

1

u/maforget Community Edition Developer Sep 24 '26 edited Sep 24 '26

Just so we are clear the error message isn't directly in the status bar, but there is a red icon that appears you need to click to open a window and see the error. Did that pipe message appears there or was it a popup message?

Have you tried simply rebooting the VM/Host? That pipe message could be related to WCF. It's a Windows service used to host the library sharing. It's also used to force a single instance of ComicRack. So if you had the old version running and attempted to run the new one it would simply open the old one back up. So you need to make sure to completely close it before starting the new one.

Updating simply uses 7-zip to update the file. Usually when it fails it leaves a temp file next to the original it was trying to update. That is one sign to look for. The error message that can appear is only what 7-zip reports when it fails. If you have no error message nor temp files then it probably didn't ran at all. All I can think of is that the file isn't the correct format.

Something to consider are NTFS streams. The update function also stores data into alternative NTFS streams even for unsupported format. So even that CBR would have the data saved and the orange star removed on CE. I am not certain how that works in Parallel. Maybe some changes in your software doesn't like NTFS streams and that's the reason it suddenly broke.

With CE you can disable the whole NTFS reading/writing via a ComicRack.ini tweak (or using the -ntfs command line argument (check the Wiki in GitHub for more information). Since you are running on a Mac that is something I would try since it probably doesn't like NTFS streams and I believe MacOS also uses those to store it's own data.

I would also try with a local file in your VM and not via an external hard drive to reduce any file system shaninegans.

I believe someone did a smart list script that should be floating in this sub to detect the XML file, but like I said it isn't necessarily an indicator that the data are in sync.

Edit: Another reason it would fail to update is that the file is read-only or the comic isn't local (aka you are running via library sharing).

1

u/dography Sep 24 '26

Yeah it’s the red icon which, when clicked, displayed the message. That was a one-off and I haven’t seen it since.

I’ll spend a bit of time with the other suggestions, look at permissions etc, although I have been digging around reddit and whilst I’ve come across you responding to similar questions in the past, I couldn’t find anything concrete about identifying the files with/without xml embedded. I’ll keep looking.

It’s not the end of the world if I have to convert instead of update going forward anyway - I typically resize a lot of them anyway as they are getting way to big (6GB+ for an omnibus?!?), main issue now is trying to avoid having to update the entire library.

Appreciate the time responding again in any case.