Mass Changing Directory not working

Post any problems / bugs / issues that are Mylar-related in here.
Post Reply
dardack
Posts: 23
Joined: Thu Feb 13, 2014 10:28 pm

Mass Changing Directory not working

Post by dardack »

config.ini has:
locmove = 1
newcom_dir = d:\gdrive\comics

It resets locmove to 0, but every comic still has y:\gdrive\comics\<comic folder>. Any advice?
dardack
Posts: 23
Joined: Thu Feb 13, 2014 10:28 pm

Re: Mass Changing Directory not working

Post by dardack »

Logs:
2017-06-08 10:21:07 INFO Sucessfully ordered 120 series in your watchlist.
2017-06-08 10:21:07 INFO Remapping the sorting to allow for new additions.
2017-06-08 10:21:07 INFO Updated 121 series to a new Comic Location as specified in the config.ini
2017-06-08 10:20:57 INFO FFTONEWCOM_DIR is not enabled. I will keep existing subdirectory paths, and will only change the actual Comic Location in the path.
2017-06-08 10:20:57 INFO [DIRECTORY-CHECK] Found comic directory: d:\GDrive\comics
2017-06-08 10:20:57 INFO Performing a one-time mass update to Comic Location

But when I go to a series:
Publication Date: July 2015 - February 2015
Publisher: Marvel
Status: Active
Edition: Print
Last Updated: 2017-06-05 23:37:53
Issues in Series: 5 issues
Directory:
y:\GDrive\comics\<directory>
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Mass Changing Directory not working

Post by evilhero »

It sounds like you might have updated the destination_dir to point to the new location before enabling the locmove option.

Make sure your destination_dir in the config.ini (or ComicLocation in the GUI) hasn't been changed to the new updated location. In your case, if you're updating the locations within the db, you need to ensure (with mylar shutdown before editing the config.ini) that :

Code: Select all

locmove = 1
destination_dir = y:\gdrive\comics
newcom_dir = d:\gdrive\comics
Once you start it up and can confirm that the locations have been updated, then you can change the ComicLocation path in the GUI to the new location (this is for any new additions, and refreshes). Then save the config, restart Mylar and you should be good to go.
dardack
Posts: 23
Joined: Thu Feb 13, 2014 10:28 pm

Re: Mass Changing Directory not working

Post by dardack »

Oh yeah I did change it before doing move. Ok let me try.
dardack
Posts: 23
Joined: Thu Feb 13, 2014 10:28 pm

Re: Mass Changing Directory not working

Post by dardack »

OK that semi worked. Only CONTINUING comics were moved. All ENDED comics still show y:\

Publication Date: January 2016 - Present
Publisher: DC Comics
Status: Active
Edition: Print
Last Updated: 2017-06-05 23:05:33
Issues in Series: 10 issues
Directory:
d:\GDrive\comics\

Publication Date: February 2013 - March 2014
Publisher: Marvel
Status: Active
Edition: Print
Last Updated: 2017-06-06 00:07:31
Issues in Series: 19 issues
Directory:
y:\Gdrive\comics

OK not all Ended, but more then half. All continuing seemed to have been updated.
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Mass Changing Directory not working

Post by evilhero »

Not sure if it's an editing mistake on your part or not, but the one of the paths for Directory has a trailing slash and the other does not. It might be having problems due to the inclusion of the trailing slash, although it should be accounting for that. It could also be due to one of your previous runs at the locmove that completed, but didn't update the paths properly.

As far as the ended or not status, when Mylar does the update to the db it takes all the series on your watchlist - it doesn't care if it's ended/active or not, it's only looking at the directory path and updating just that.

Do any of your series have unicode characters in the foldernames that didn't get updated? That might be causing an issue where it can't convert it and then it's dying at that point (so it does X many, then hits the one series with the special character it can't handle, and just stops processing the request).
dardack
Posts: 23
Joined: Thu Feb 13, 2014 10:28 pm

Re: Mass Changing Directory not working

Post by dardack »

That was just a copy and paste error, there was no trailing \ in the ini.

Publication Date: March 2013 - March 2014
Publisher: Marvel
Status: Active
Edition: Print
Last Updated: 2017-06-06 00:08:06
Issues in Series: 15 issues
Directory:
y:\Gdrive\comics\Young Avengers (2013)

No special characters there. So unsure.
Post Reply