Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 30 Next »

[11:28:31 CDT(-0500)] <b-rock> Greetings uPortal devs: I"m doing a data export from 3.2.5-patches and run into an issue where the export stops because there are too many open files. Does someone here know how to work around that?

[11:29:07 CDT(-0500)] <b-rock> I guess maybe just export a sub section.

[11:39:08 CDT(-0500)] <EricDalquist> or have your os admin up the file descriptor limit

[11:45:48 CDT(-0500)] <EricDalquist> athena1 figured out how to do the classloader switching I was talking about

[11:45:57 CDT(-0500)] <EricDalquist> aspectj is a wonderful thing

[11:52:15 CDT(-0500)] <athena1> ooh yay (smile)

[11:52:18 CDT(-0500)] <athena1> sounds encouraging

[11:52:53 CDT(-0500)] <EricDalquist> yeah so now as far as I know any time pluto calls back into uPortal the aspect switches the thread's context classloader back to the portal's classloader

[11:53:08 CDT(-0500)] <athena1> nice

[11:53:31 CDT(-0500)] <EricDalquist> all the interest & help on the up lists as of late has been really nice

[11:53:45 CDT(-0500)] <EricDalquist> been fixing a few bugs a week based on testing/feedback/help from folks there

[11:53:47 CDT(-0500)] <EricDalquist> makes me happy

[13:01:45 CDT(-0500)] <b-rock> Hello uPortal devs: I'm attempting an import of data to the 4.0.1 release and ran into this trace preventing the import http://pastebin.com/iWQCs8k8.

[13:03:21 CDT(-0500)] <b-rock> looks like maybe I'm missing something in the environment for groovy

[13:03:40 CDT(-0500)] <EricDalquist> no, the problem is you can't import entity types from previous versions

[13:03:53 CDT(-0500)] <EricDalquist> let me find some notes ...

[13:03:53 CDT(-0500)] <b-rock> ok. I'll remove those.

[13:03:54 CDT(-0500)] <b-rock> thanks.

[13:04:23 CDT(-0500)] <b-rock> maybe I can edit the data-import page to note this. http://pastebin.com/iWQCs8k8 ?

[13:04:29 CDT(-0500)] <b-rock> or ask Laura

[13:05:03 CDT(-0500)] <b-rock> wrong patse. https://wiki.jasig.org/display/UPM40/Import+Export+Data+Migration+Tools

[13:05:33 CDT(-0500)] <EricDalquist> I'm working on a new wiki page right now

[13:05:41 CDT(-0500)] <EricDalquist> I meant to post these notes a while ago

[13:05:42 CDT(-0500)] <EricDalquist> and just forgot

[13:05:46 CDT(-0500)] <b-rock> dough. I just realized I can log in.

[13:06:04 CDT(-0500)] <b-rock> np. is that the only type that cant be imported?

[13:06:08 CDT(-0500)] <EricDalquist> https://wiki.jasig.org/display/UPM40/Upgrade+Data+Import

[13:06:15 CDT(-0500)] <EricDalquist> give me about 15-20 minutes to clean that up

[13:06:20 CDT(-0500)] <EricDalquist> but that is a paste of my rough notes

[13:06:35 CDT(-0500)] <b-rock> no worries. let me know if I can help some how.

[13:10:37 CDT(-0500)] <b-rock> so from the export in 3.2.5. I'm left with fragment-layout, group_membership, permission, permission_set and user as candidates for being imported. does that seem right or should I dump fragment-layout as well?

[13:10:48 CDT(-0500)] <EricDalquist> that's right

[13:10:58 CDT(-0500)] <b-rock> cool. trying now...

[13:11:00 CDT(-0500)] <EricDalquist> but don't try until I'm done updating this page

[13:11:04 CDT(-0500)] <EricDalquist> there are more bits that are missing

[13:11:06 CDT(-0500)] <EricDalquist> (smile)

[13:11:10 CDT(-0500)] <b-rock> ok.

[13:11:48 CDT(-0500)] <b-rock> I assume this will make the error I reported in on yesterday go away after there is some data in the system for my user.

[13:12:31 CDT(-0500)] <EricDalquist> perhaps

[13:12:40 CDT(-0500)] <EricDalquist> though that error you reported is a valid bug that needs to be fixed

[13:12:47 CDT(-0500)] <EricDalquist> the portal needs to be able to render for a user with no tabs

[13:13:03 CDT(-0500)] <b-rock> ok. I did comment out the exception and rebuit. the page rendered but there wasn't anything there

[13:13:29 CDT(-0500)] <b-rock> but I"m sure commenting out the checked exception is not the way to fix that.

[13:27:52 CDT(-0500)] <EricDalquist> ok b-rock: https://wiki.jasig.org/display/UPM40/Upgrade+Data+Import

[13:28:50 CDT(-0500)] <b-rock> ok thanks EricDalquist. I'll read through the doc, try the import. and report back if something bad happens

[13:34:36 CDT(-0500)] <b-rock> ok EricDalquist. does the "ant initdb" take care of importing all of the default and required data?

[13:34:47 CDT(-0500)] <EricDalquist> yes but it also imports the quickstart data

[13:34:56 CDT(-0500)] <EricDalquist> which is why that wiki page doesn't list it

[13:34:56 CDT(-0500)] <b-rock> thats ok I think

[13:34:58 CDT(-0500)] <EricDalquist> no

[13:35:05 CDT(-0500)] <EricDalquist> you probably want to avoid that

[13:35:10 CDT(-0500)] <EricDalquist> if you're upgrading

[13:35:23 CDT(-0500)] <EricDalquist> I don't think it will cause problems

[13:35:25 CDT(-0500)] <b-rock> if I already imported it with initdb. is there a way to undo that?

[13:35:41 CDT(-0500)] <EricDalquist> running the commands on that page will nuke your existing DB

[13:35:50 CDT(-0500)] <EricDalquist> "ant db" drops all tables and recreates them

[13:35:53 CDT(-0500)] <b-rock> ok. I'll do those verbatim then

[13:36:30 CDT(-0500)] <EricDalquist> yeah, I'd prefer that just for the testing aspect of this

[13:36:37 CDT(-0500)] <EricDalquist> you're one of the first people other than me to try this out

[13:36:47 CDT(-0500)] <EricDalquist> so better to make sure our listed instructions work

[13:36:47 CDT(-0500)] <b-rock> also, I changed the org.jasig.portal.io.forceDefaultStructure to true. do I need to rebuild before running the commands.

[13:36:56 CDT(-0500)] <EricDalquist> no it will rebuild automatically

[13:37:02 CDT(-0500)] <b-rock> oh ok.

[13:37:07 CDT(-0500)] <b-rock> here we go...

[13:50:01 CDT(-0500)] <b-rock_> ok EricDalquist. looks like the imort got choked up on a fragment-layout http://pastebin.com/NbNsMiBL

[13:50:43 CDT(-0500)] <EricDalquist> [java] Caused by: java.lang.IllegalArgumentException: No published channel for fname=header referenced by layout for developer-lo

[13:50:54 CDT(-0500)] <EricDalquist> there is no header or footer portlet in 4.0

[13:51:01 CDT(-0500)] <EricDalquist> you'll need to remove those entries from your layout files

[13:51:58 CDT(-0500)] <b-rock_> ok

[13:54:08 CDT(-0500)] <b-rock_> looking at the fragment-layout folder, they look like fragments that we do not maintian but were in the portal before we customized it. I think I can probably get rid of them here.

[13:54:58 CDT(-0500)] <EricDalquist> yup

[13:55:41 CDT(-0500)] <b-rock_> ok. EricDalquist. should I redo the " ant db db-import-required db-import-default" before trying the data import again?

[13:56:03 CDT(-0500)] <EricDalquist> you should be able to just re-run the data-import step

[13:56:07 CDT(-0500)] <EricDalquist> fixing problems as you go

[13:56:18 CDT(-0500)] <b-rock_> ok

[13:56:19 CDT(-0500)] <EricDalquist> until it completes succcessfully

[13:56:38 CDT(-0500)] <b-rock_> running...

[13:56:43 CDT(-0500)] <b-rock_> rather re-running...

[13:58:59 CDT(-0500)] <b-rock_> ok. it ran to completion this time. the 3.2.5 exported folders that I imported were group-membership, permission, permission_set and user. I'm gonna retest the front end now after restarting...

[13:59:59 CDT(-0500)] <EricDalquist> you didn't import fragment layouts, layouts or channels?

[14:00:25 CDT(-0500)] <EricDalquist> meeting time

[14:00:27 CDT(-0500)] <EricDalquist> back in an hour or so

[14:00:54 CDT(-0500)] <b-rock_> ok. no I didn't import those.,

[14:09:11 CDT(-0500)] <b-rock_> ok EricDalquist. found an interesting issue that happens after attempting login. http://pastebin.com/2RihdHgL some kind of stack overflow.

[14:26:41 CDT(-0500)] <b-rock_> ok. after restarting the server the guest user is getting the same rendering issue that I reported on yesterday http://pastebin.com/P0EESYwH which is the same in the issue https://issues.jasig.org/browse/UP-3194

[14:39:13 CDT(-0500)] <EricDalquist> right

[14:39:20 CDT(-0500)] <EricDalquist> since you didn't import any content

[14:39:21 CDT(-0500)] <EricDalquist> no layouts

[14:39:23 CDT(-0500)] <EricDalquist> no portlets

[14:39:49 CDT(-0500)] <EricDalquist> without the fragment layouts you have no content on the page

[14:40:17 CDT(-0500)] <EricDalquist> and we know from UP-3194 that if you have no tabs the url handling code fails

[14:45:27 CDT(-0500)] <b-rock_> ok. so I guess I need to try to at least import the guest-lo fragment-layout.

[14:46:12 CDT(-0500)] <EricDalquist> you should try and import all of your fragment layouts

  • No labels