Re: [Hypercontent-users] Moving Server/Portal
Brought to you by:
alexvigdor
From: Alex V. <av...@co...> - 2005-05-26 13:33:30
|
Hi Carl, All the groups and permissions are stored in the portal database, so you would either have to re-enter them or run some SQL queries to extract them from your test database and move them into production. In the UP_PERM table, all the HyperContent permissions have an OWNER that starts with "CMS_PROJECT::". It could get sticky moving the groups over, since you need the group keys to match the PRINCIPAL fields in the permissions table, but if those groups do not already exist in production, those keys may already be taken (they are generated by a simple number sequence). This is changing in 2.0, where groups and permissions will be stored in XML files in your project repository, making portability much easier. Unfortunately, there's no automated conversion routine for groups and permissions from 1.x to 2.0 - for now we're anticipating a manual conversion. 2.0 also adds an "approve" permission which is required to set the current edition of a file. Alex On May 26, 2005, at 4:01 AM, Carl Barrow wrote: > Hi Alex > > Glad to hear you've had a good break! > > Thanks, it was just FileSystemConfig.xml that I had missed when moving > over. All seems to be working now. What hasn't been transfered is > the user access security on each site, is there a file that I've > missed here or will I need to set up access for everyone again? > > Thanks > Carl > > > Alex Vigdor wrote: > >> Hi Carl (and everybody), >> I'm back . . . tanner than I've been in a decade and feeling relaxed, >> though it is cold and rainy here in New York. >> >> It sounds to me like the file >> "WEB-INF/classes/properties/FileSystemConfig.xml" is missing under >> the uPortal webapp. You should also make sure you've copied over the >> files in "WEB-INF/classes/properties/hypercontent". >> >> -Alex >> >> On May 25, 2005, at 6:30 AM, Carl Barrow wrote: >> >> Hi >> >> I've moved everything over to the live server and added the >> HyperContent channel which goes in fine. I just get 'You are not >> authorized to view any configured projects' in the channel. The >> repositories are in the correct place so I can't figure out why >> this is happening. I get the following error in the log file. >> >> May/25 09:56:46 - Could not load project listings >> ERROR [tcpConnection-6502-1] root.[] May/25 09:56:46 - EXCEPTION: >> edu.columbia.filesystem.FileSystemException: A configuration error >> made it impossible to fulfil this request; InputStream cannot be >> null >> A configuration error made it impossible to fulfil this request >> Recorded Exception: >> java.lang.IllegalArgumentException: InputStream cannot be null >> at >> javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:72) >> at >> >> edu.columbia.filesystem.FileSystemFactory.init(FileSystemFactory.java: >> 53) >> >> at >> >> edu.columbia.filesystem.FileSystemFactory.instance(FileSystemFactory.j >> ava:115) >> >> at >> >> edu.columbia.filesystem.FileSystemFactory.getFileSystemType(FileSystem >> Factory.java:168) >> >> at >> >> edu.columbia.filesystem.FileSystemFactory.getFileSystem(FileSystemFact >> ory.java:83) >> >> at >> >> edu.columbia.hypercontent.Project.getFileSystemFromElement(Project.jav >> a:225) >> >> at >> >> edu.columbia.hypercontent.Project.initFileSystems(Project.java:215) >> at edu.columbia.hypercontent.Project.<init>(Project.java:183) >> at >> >> edu.columbia.hypercontent.ProjectFactory.load(ProjectFactory.java:52) >> at >> >> edu.columbia.hypercontent.ProjectFactory.<init>(ProjectFactory.java: >> 47) >> >> at >> >> edu.columbia.hypercontent.ProjectFactory.instance(ProjectFactory.java: >> 64) >> >> at >> >> edu.columbia.hypercontent.ProjectFactory.getProjectKeys(ProjectFactory >> .java:72) >> >> at >> >> edu.columbia.hypercontent.contentmanager.CMModel.getProjectListings(CM >> Model.java:81) >> >> at >> >> edu.columbia.hypercontent.contentmanager.CContentManager.setStaticData >> (CContentManager.java:120) >> >> Has anyone go any idea what might be happening? >> >> Many thanks >> Carl >> >> >> Alex Vigdor wrote: >> >> Hi Carl, >> The two things to make doubly sure of when you're moving the >> files are paths and permissions; if the files will be moving >> to different directories on the production server, you may >> need to adjust the paths in your project definitions. If you >> can keep all the paths the same, that won't be an issue. With >> permissions, you need to be certain that the UID under which >> the portal runs will have full read/write access to the >> repository files, and that the process has the appropriate >> umask for creating new files with the right permissions. >> As I have mentioned before, it's worth considering hosting the >> repositories on a file server - if you have more than one >> portal server, this is an especially good idea, so each server >> has the same repository filesystem mounted. If you've just got >> one production portal server, you can get by with using its >> internal disk, just make sure you back it up regularly. >> Those caveats aside, tarring up the files and moving them over >> seems like a fine approach. Good luck! >> >> Alex >> >> On May 5, 2005, at 10:40 AM, Carl Barrow wrote: >> >> Hi Alex >> >> Sorry for all the questions...... >> >> Now breadcrumbs are working I need to move HyperContent >> over to the live portal ready for the full role out. I'm >> using it to manage twelve live sites and a number of >> others in testing. In your opinion what is the best >> procedure to move everything over from my test portal to >> the live University Portal on a different server. Should I >> just deploy HyperContent on the live portal and then tar >> up all the repositories on the test server and move them >> over? Do you foresee any difficulties with the move? >> >> Thanks >> Carl >> >> -- ************************************ >> >> Carl Barrow >> Web Developer >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: NEC IT Guy Games. >> Get your fingers limbered up and give it your best shot. 4 >> great events, 4 >> opportunities to win big! Highest score wins.NEC IT Guy >> Games. Play to >> win an NEC 61 plasma display. Visit >> http://www.necitguy.com/?r=20 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: NEC IT Guy Games. >> Get your fingers limbered up and give it your best shot. 4 >> great events, 4 >> opportunities to win big! Highest score wins.NEC IT Guy Games. >> Play to >> win an NEC 61 plasma display. Visit >> http://www.necitguy.com/?r=20 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> >> >> >> -- ************************************ >> >> Carl Barrow >> Web Developer >> e-Services >> The University of Hull >> Cottingham Road >> Hull >> HU6 7RX >> Ext. 6838 >> ************************************ >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by Yahoo. >> Introducing Yahoo! Search Developer Network - Create apps using >> Yahoo! >> Search APIs Find out how you can build Yahoo! directly into your >> own >> Applications - visit >> http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 >> _______________________________________________ >> Hypercontent-users mailing list >> Hyp...@li... >> https://lists.sourceforge.net/lists/listinfo/hypercontent-users >> > > -- > ************************************ > > Carl Barrow > Web Developer > e-Services > The University of Hull > Cottingham Road > Hull > HU6 7RX > Ext. 6838 > ************************************ > > > > ------------------------------------------------------- > SF.Net email is sponsored by: GoToMeeting - the easiest way to > collaborate > online with coworkers and clients while avoiding the high cost of > travel and > communications. There is no equipment to buy and you can meet as often > as > you want. Try it > free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click > _______________________________________________ > Hypercontent-users mailing list > Hyp...@li... > https://lists.sourceforge.net/lists/listinfo/hypercontent-users |