Schema downgraded but galaxy won't launch

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Schema downgraded but galaxy won't launch

Kandalaft, Iyad

Hello everyone

 

I tried a galaxy update on my development instance of galaxy. It failed due to a schema change coupled with a mysql version change.  Don’t worry about why it failed – that has been resolved.

I have a backup copy of the database that I restored, which was based on schema 118.  I issued a “hg update *revision*” to revert back to a code base using the 118 schema.  I verified that the model folder now only contains up to 118_....py.  When I try to start galaxy, it tells me that the code requires schema 120 and that I should upgrade using db_manage.sh.  I tried running “db_manage.sh downgrade 118” but since the database is already v118, it just exists without any output. What am I doing wrong? 

 

Regards,

Iyad Kandalaft

 

Bioinformatics Application Developer

Agriculture and Agri-Food Canada | Agriculture et Agroalimentaire Canada

KW Neatby Bldg | éd. KW Neatby 

960 Carling Ave| 960, avenue Carling

Ottawa, ON | Ottawa (ON) K1A 0C6

E-mail Address / Adresse courriel: [hidden email]

Telephone | Téléphone 613- 759-1228

Facsimile | Télécopieur 613-759-1701

Government of Canada | Gouvernement du Canada

 


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/
Reply | Threaded
Open this post in threaded view
|

Re: Schema downgraded but galaxy won't launch

Dannon Baker-2
Hi Iyad,

`find <galaxy_directory> -name '*.pyc' -delete`

Should clean up compiled python files allowing you to run again.

-Dannon


On Tue, Jul 22, 2014 at 11:16 AM, Kandalaft, Iyad <[hidden email]> wrote:

Hello everyone

 

I tried a galaxy update on my development instance of galaxy. It failed due to a schema change coupled with a mysql version change.  Don’t worry about why it failed – that has been resolved.

I have a backup copy of the database that I restored, which was based on schema 118.  I issued a “hg update *revision*” to revert back to a code base using the 118 schema.  I verified that the model folder now only contains up to 118_....py.  When I try to start galaxy, it tells me that the code requires schema 120 and that I should upgrade using db_manage.sh.  I tried running “db_manage.sh downgrade 118” but since the database is already v118, it just exists without any output. What am I doing wrong? 

 

Regards,

Iyad Kandalaft

 

Bioinformatics Application Developer

Agriculture and Agri-Food Canada | Agriculture et Agroalimentaire Canada

KW Neatby Bldg | éd. KW Neatby 

960 Carling Ave| 960, avenue Carling

Ottawa, ON | Ottawa (ON) K1A 0C6

E-mail Address / Adresse courriel: [hidden email]

Telephone | Téléphone <a href="tel:613-%C2%A0759-1228" value="+16137591228" target="_blank">613- 759-1228

Facsimile | Télécopieur <a href="tel:613-759-1701" value="+16137591701" target="_blank">613-759-1701

Government of Canada | Gouvernement du Canada

 


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/
Reply | Threaded
Open this post in threaded view
|

Re: Schema downgraded but galaxy won't launch

Kandalaft, Iyad

Thank you very much!  I had a feeling about those 119_.pyc and 120_.pyc files but I thought it recompiled on every launch and it would ignore them.  I don’t know much python

 

Regards,

 

Iyad Kandalaft

Microbial Biodiversity Bioinformatics

Agriculture and Agri-Food Canada | Agriculture et Agroalimentaire Canada
960 Carling Ave.| 960 Ave. Carling

Ottawa, ON| Ottawa (ON) K1A 0C6

E-mail Address / Adresse courriel  [hidden email]
Telephone | Téléphone 613-759-1228
Facsimile | Télécopieur 613-759-1701
Teletypewriter | Téléimprimeur 613-773-2600
Government of Canada | Gouvernement du Canada

 

 

 

From: Dannon Baker [mailto:[hidden email]]
Sent: Tuesday, July 22, 2014 11:24 AM
To: Kandalaft, Iyad
Cc: [hidden email]
Subject: Re: [galaxy-dev] Schema downgraded but galaxy won't launch

 

Hi Iyad,

 

`find <galaxy_directory> -name '*.pyc' -delete`

 

Should clean up compiled python files allowing you to run again.

 

-Dannon

 

On Tue, Jul 22, 2014 at 11:16 AM, Kandalaft, Iyad <[hidden email]> wrote:

Hello everyone

 

I tried a galaxy update on my development instance of galaxy. It failed due to a schema change coupled with a mysql version change.  Don’t worry about why it failed – that has been resolved.

I have a backup copy of the database that I restored, which was based on schema 118.  I issued a “hg update *revision*” to revert back to a code base using the 118 schema.  I verified that the model folder now only contains up to 118_....py.  When I try to start galaxy, it tells me that the code requires schema 120 and that I should upgrade using db_manage.sh.  I tried running “db_manage.sh downgrade 118” but since the database is already v118, it just exists without any output. What am I doing wrong? 

 

Regards,

Iyad Kandalaft

 

Bioinformatics Application Developer

Agriculture and Agri-Food Canada | Agriculture et Agroalimentaire Canada

KW Neatby Bldg | éd. KW Neatby 

960 Carling Ave| 960, avenue Carling

Ottawa, ON | Ottawa (ON) K1A 0C6

E-mail Address / Adresse courriel: [hidden email]

Telephone | Téléphone <a href="tel:613-%C2%A0759-1228" target="_blank">613- 759-1228

Facsimile | Télécopieur <a href="tel:613-759-1701" target="_blank">613-759-1701

Government of Canada | Gouvernement du Canada

 


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/

 


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/