Upgrading to Mylar3

Information and Tutorials on features in Mylar and how to use it
Post Reply
User avatar
DrSeussFreak
Posts: 122
Joined: Wed Jan 29, 2014 10:50 pm

Upgrading to Mylar3

Post by DrSeussFreak »

I cloned mylar3 to my ubuntu VM, and I copied the cache, config.ini and mylar.db from mylar2 to mylar3. Mylar3 started without issue, but I wanted to ensure no other steps are needed for successfully migrating to mylar3.

Can you please confirm?
"Adults are nothing but obsolete children, and the hell to them" - Theodor Seuss Geisel
barbequesauce
Posts: 95
Joined: Fri Feb 03, 2017 3:59 pm

Re: Upgrading to Mylar3

Post by barbequesauce »

Check your ini file and make sure things like logs etc are going to the new directory. Also - if you didn’t do it - execute “pip3 install -r requirements” from the root of the mylar3 directory.
senorsmartypants
Posts: 86
Joined: Sun Sep 02, 2018 10:00 pm

Re: Upgrading to Mylar3

Post by senorsmartypants »

My Mylar2 setup had a comictagger.ini setup mapped into the docker container.

/app/mylar/lib/comictaggerlib/ct_settings/settings.ini

That path doesn't exist in mylar3. Where is the comictagger ini file located?

I just noticed this in the logs

Code: Select all

mylar3           | 2020-03-03T21:28:23.206123195Z 03-Mar-2020 15:28:23 - INFO :: mylar.configure.1010 : MainThread : [COMICTAGGER] Version detected: 1.3.2
mylar3           | 2020-03-03T21:28:23.207854763Z 03-Mar-2020 15:28:23 - ERROR :: mylar.configure.1024 : MainThread : Unable to create .ComicTagger directory in /root. Setting up to default location of /config/app/.ComicTagger
/config/app/.ComicTagger exists, but nothing in it yet. No comics have been processed with mylar3 yet. Is this where settings.ini will live?
User avatar
evilhero
Site Admin
Posts: 2883
Joined: Sat Apr 20, 2013 3:43 pm
Contact:

Re: Upgrading to Mylar3

Post by evilhero »

There is no settings.ini file any longer, now it's just settings

You have 2 choices for location of the ComicTagger settings directory (and therein the settings file):

1) enter in a DIRECTORY path in the ct_settingspath field within the config.ini. CT will create files (settings, cache, etc) in this directory for it's use as required.

2) leave the ct_settings field blank:
  • If you run Mylar as a user that has no shell (ie. service account as it would seem with your install), it will create the directory as : DATA_DIR / .ComicTagger
  • If you run Mylar as user that has shell privileges, it will create the directory as: ~/.ComicTagger
jefftr66
Posts: 26
Joined: Sun Jan 13, 2019 8:38 pm

Re: Upgrading to Mylar3

Post by jefftr66 »

I am using DockSTARTer with Docker for Mylar currently. Is there documentation to upgrade to mylar3 or just what is already posted?
Post Reply