Forum OpenACS Development: Re: OpenACS 5.2 beta work and bug bash this weekend

Collapse
Posted by Nima Mazloumi on
<h3>Upgrade oacs-5-1 to oacs-5-2</h3>

  1. Checkout oacs-5-1 from cvs
  2. Checkout oacs-5-2 from cvs
  3. Install OpenACS from oacs-5-1
  4. Backup oacs-5-1/packages to packages.bak
  5. Copy oacs-5-2/packages to oacs-5-1
  6. Restarting the server
  7. Upgrade via Control-Panel--> Install Software --> Upgrade from Local
  8. Upgrading
    • Kernel 5.2.0a1
    • API Browser 5.2.0a1
    • Service Contracts 5.2.0a1
    • Bootstrap Installer 5.2.0a1
    • Search 5.2.0a1
    • Tcl Library 5.2.0a1
    • Templating 5.2.0a1
    • ACS Reference Data 5.2.0a1
    • Automated Testing 5.2.0a1
    • Authentication 5.2.0a1
    • Content Repository 5.2.0a4
    • Developer Support 5.2.0d1
    • Site-Wide Administration 5.2.0a1
    • Mail 5.2.0a1
    • Reference Data - Timezone 5.2.0a1
    • Messaging 5.2.0a1
    • Documentation 5.2.0a1
    • Subsite 5.2.0a2
    • Localization 5.2.0a1
    Worked without any problems.
<h3>Upgrade dotlrn 2.1.3b from oacs-5-1 to oacs-5-2</h3>
1. to 7. like above

8. On the same box with several identical installations some were able
to upgrade via Control-Panel--> Install Software --> Upgrade from Local
others weren't. A messages was displayed that the installation was finished
successfully though in realitiy nothing happened.

I therefore tried the installation via Package Manager --> Install Packages

In the first case everything installs but file-storage and notifications

In the second case APM offers upgrade scripts for

  • Events 0.5d3
  • Kernel 5.2.0a1
  • Search 5.2.0a1
  • FAQ 5.2.0d4
  • Forums 1.2.0d2
  • Content Repository 5.2.0a4
  • Reference Data - Timezone 5.2.0a1
  • Mail 5.2.0a1

I didn't choose file-storage and notifications for the first round.

For some reason it tries to install events before acs-kernel, acs-admin

Events fails to install:

  • upgrade-0.5d1-0.5d2.sql ok
  • upgrade-0.5d2-0.5d3.sql ok

But:

   Transaction aborted: Database operation "dml" failed (exception ERROR, "ERROR:  relation "apm_package_version_attr" does not exist")
   ERROR:  relation "apm_package_version_attr" does not exist
   SQL:
               delete from apm_package_version_attr
               where version_id = '2249'

So I take a new fresh dump and install acs-admin and acs-kernel first:

both install ok.

Now I install the rest without file-storage, notifications and mail (requires tcllib):



  • API Browser 5.2.0a1
  • Automated Testing 5.2.0a1
  • Bootstrap Installer 5.2.0a1
  • Developer Support 5.2.0d1
  • Events 0.5d3
  • Mail Services Lite 1.0b2
  • ACS Reference Data 5.2.0a1
  • Service Contracts 5.2.0a1
  • Templating 5.2.0a1
  • Categories 1.1d4
  • FAQ 5.2.0d4
  • Forums 1.2.0d2
  • webDAV Support 1.1b1
  • Authentication 5.2.0a1
  • Tcl Library 5.2.0a1
  • Reference Data - Timezone 5.2.0a1
  • Documentation 5.2.0a1
  • Localization 5.2.0a1
  • Search 5.2.0a1
  • Content Repository 5.2.0a4
  • Messaging 5.2.0a1
  • Subsite 5.2.0a2
  • News 5.2.0d3

Upgrade Scripts are provided for:

  • Events 0.5d3
  • Categories 1.1d4
  • FAQ 5.2.0d4
  • Forums 1.2.0d2
  • Search 5.2.0a1
  • Content Repository 5.2.0a4
  • Reference Data - Timezone 5.2.0a1
  • News 5.2.0d3

Worked.

Finally I upgrade file-storage, notifications, acs-mail-lite.

Only acs-mail-lite contains an upgrade script.

All installs alright.

Final note: Installing from Package Manager --> Install packages gets messed up. It seems that it does not
install in the correct order or doesn't source the new installed packages correctly.

Also note: YOU NEED tcllib INSTALLED otherways acs-mail-lite will bomb