As far as I could remember the scenario, I originally have a few blogs aggregated in root space and sub-spaces. Then I deleted a few blogs in the Blogs::Management page. Going back to Spaces::Settings::Blog Settings I got all aggregated blog lists messed up including in the sub-coms. They don't show! I couldn't even add new Aggregated blogs. The action status says "Blog added successfully", but are not seen in the aggregated list. Browsing through the related tables in the db, the blog IDs are there. The jive.debug.log shows:
2007.08.23 19:09:35 Blog 1011 could not be loaded from the database.
com.jivesoftware.community.BlogNotFoundException: Blog 1011 could not be loaded from the database.
at com.jivesoftware.community.impl.DbBlog.loadFromDb(DbBlog.java:1473)
at com.jivesoftware.community.impl.DbBlog.<init>(DbBlog.java:142)
at com.jivesoftware.community.impl.DbBlogManager.getBlog(DbBlogManager.java:380)
at com.jivesoftware.community.impl.DatabaseObjectLoader$10.loadObject(DatabaseObjectLoader.java:214)
I stopped tomcat and manually deleted references of the deleted blog id from jiveCommunityBlog, then restarted tomcat. The log stopped showing the error but still the aggregated list won't show up in the admin console. Now I really need some help fixing the problem.
And more... Jumping between spaces in Blog Settings always show "Blog added successfuly".
hi aznidin,
I was able to create a blog, add it to a space, delete the blog and then go back and view the list of blogs aggregated by the space without any problems. What version of Clearspace are you using? Can you run this query against your database:
SELECT blogID FROM jiveCommunityBlog WHERE blogID NOT IN (SELECT blogID FROM jiveBlog)
If you get any results from that query, that's what the problem is.
Cheers,
AJ
Aaron,
It seems like I'm getting nowhere. Can I safely delete all records from jiveCommunityBlog?
I've deleted all the records anyway and restart.
When I tried to add an existing blog to a space in Blog Setting page it showed Blog added successfully, but the blog didn't show in the aggregated blog list. However, the blog id was saved in jiveCommunityBlog ![]()
hi aznidin,
The only thing I can think of that would cause this would be that you somehow have locked down view access to the blog that you're trying to add to a permission that the current user doesn't have. Have you set any specific permissions on that blog? Do you see any errors in your log files?
Cheers,
AJ
Yes, I think I've discovered a few things towards what you're saying while waiting for your response. It indeed relates to blog access permission. I could understand about limited access to view blogs when you specifically block the access from users. However, it doesn't make sense when I login as admin (with full admin previlege) into the admin console that I couldn't see the blocked blog in the blog aggregation list in Space::Settings::Blog Settings.
Apologies that it was (kind of) hard to describe how to reproduce the error because I was moving and clicking here and there in the admin console when wierd things suddenly happened, not knowing when they actually did. FYI, basically I have an open access at the root space and a fair number of private and restricted sub-spaces and blogs. I also have multiple groups and users permission settings.
I've come up with a way to reproduce the error, and I hope it will reproduce at your end:
Login as full admin into the admin console.
If you haven't, make read access to spaces for anonymous and registered user.
Create a new blog from the Blog::Create Group Blog page, say "test" blog, and add "admin" as the author.
Go to the blog permission edit page for "test" and make sure that "Anyone" and "Registered Users" have read access.
Jump to Spaces::Settings::Blog Settings and you'll see that "test" is automatically added in the root's aggregated blog list.
Go back to blog permission edit page for "test" and explicitly block read access to "Anyone" and "Registered Users".
Jump back to Spaces::Settings::Blog Settings page for root. Now the "test" is no longer listed in the aggregated list. Wierdly, if you look at the database, the id for "test" is there. This is where things start to become confusing.
Assuming you're like me last time, thinking that this should not happen... Enter "test" in the "Aggregate new blog" and hit the "Add Blog" button.
Now you'll see that
Blog added successfully. However, you can't see it in the aggregated list. How would I ever delete the "test" blog later if I couldn't see it in the list? Ok, for now, lets move on...
From this space page, click on the (change space) link and jump to any other spaces. Do you see that the
Blog added successfully icon is always there when you didn't actually aggregate more blogs in the other spaces?
What made it more confusing is that there is nothing informative in the jive.error.log and jive.debug.log that might give a clue.
If you don't see the error (...argh!!!) please try to spend some time playing with the permissions and blog aggregation by adding users and groups with conflicting group member permission, and changing their blog access permissions.
The admin console doesn't give the full view of my clearspace setup, but the database do. Funny eh? User access to Clearspace is as laid out in the database, luckily.
Now that I know that it might just be an admin console display-related problem, I've established some workaround. To get back to the invisible "test" blog in the Spaces::Settings::Blog Settings, I have to temporarily allow open access to the blog in the edit permission page, then jump back to Spaces::Settings::Blog Settings, and do what ever I want with the blog and spaces. Finally, I have to remember to reset the blog permission to its original setting. This workaround is by no means perfect because during the time, I will have to allow the side effect of exposing sensitive information.
I really hope that the given steps above will help you reproduce the error in your system. Please let me know if you still can't get it, so that worse comes to worst, I might need to reluctantly force myself to do a fresh reinstallation, thinking that I may have accidentally tempered some of the files and database tables
.
Jive combines the most powerful features of collaboration software, community software,
social networking software & social media monitoring into the leading SBS solution.
© Copyright 2000–2010 Jive Software. All rights reserved.
915 SW Stark St., Suite 400, Portland, OR 97205
Sales: 877-495-3700 | General: 503-295-3700
Privacy Policy | Sitemap | Jobs | Contact Us