After the upgrade, almost all of our uploaded documents (Word, Excel, etc.) are gone. After the description of each document, you only see the following:
#()
The 'Download' link takes you to /clearspace/docs/. We are missing about 300 uploaded files and need to have this resolved as soon as possible. We recently upgraded Clearspace from 2.0.4 to 2.5.4 on 11/28/2008.
Hi David,
Do you have a backup of all of your data from before the upgrade? Did you try running this on a testing server first before upgrading in production? Are you running MySQL as your database?
-Todd
Yes, we have a backup but our users have created new documents since the upgrade, last Friday. During our tests, we did not notice the bad uploaded documents. We are using MSSQL 2005.
Would you please provide me with a few rows from each of the following tables (preferably a working and non-working row):
jiveDocument
jiveDocumentBody
Thanks.
-Todd
jiveDocument:
Bad
| 2334 | 2006 | DOC-2334 | 1 | 1 | 1224773835810 | 218345270400000 | 0 | 0 | -1 | 2 | 1 | NULL | 1 | 14 | 2076 |
| 2335 | 2006 | DOC-2335 | 1 | 1 | 1224774545612 | 218345270400000 | 0 | 0 | -1 | 2 | 1 | NULL | 1 | 14 | 2076 |
| 2336 | 2006 | DOC-2336 | 1 | 1 | 1224774764295 | 218345270400000 | 0 | 0 | -1 | 2 | 1 | NULL | 1 | 14 | 2076 |
| 2337 | 2006 | DOC-2337 | 1 | 1 | 1224774883723 | 218345270400000 | 0 | 0 | -1 | 2 | 1 | NULL | 1 | 14 | 2076 |
Good
| 2494 | 2167 | DOC-2494 | 1 | 1 | 1228237595446 | 218345270400000 | 0 | 0 | -1 | 2 | 1 | NULL | 1 | 14 | 2226 |
| 2495 | 2167 | DOC-2495 | 1 | 3 | 1228241472298 | 218345270400000 | 0 | 0 | -1 | 2 | 1 | NULL | 1 | 14 | 2226 |
| 2496 | 2024 | DOC-2496 | 1 | 1 | 1228246897884 | 218345270400000 | 0 | 0 | -1 | 2 | 1 | NULL | 1 | 14 | 2226 |
| 2497 | 2024 | DOC-2497 | 1 | 1 | 1228248309875 | 218345270400000 | 0 | 0 | -1 | 2 | 1 | NULL | 1 | 14 | 2226 |
Todd, I have no idea how to determine what the bodyids are for the bad docs.
Hi David,
Here is how you can get the results from the jivedocumentbody table:
Take these ids:
2334
2335
2336
2337
SELECT bodyid FROM jivedocbodyversion WHERE internaldocid = idsListedAbove
Then you can use these body id's to get data from the jivedocumentbody table. In this case I will not need the results of the bodyText or bodyData column (they are very large), I just need to know if they are empty or not. Thanks.
-Todd
Example of docid: 2334
| 4781 | NULL | YourTipSheetforOffice 2007.pdf | 376339 | application/pdf | <Binary data> | 1224774457498 |
If you try to download that binary data directly from the table and save it as that file type can you view it? I know many gui tools will allow you to download binary columns directly to a file so you can test this out. If all of the data is there then that is a good sign.
-Todd
What gui tools do you recommend?
Hi David,
I do not use MSSQL personally so I don't really have any gui tools to recommend, MS SQL Maestro is pretty good from what I hear but I don't have any experience with it. It should be possible to view the BLOB column that contains this data using this tool. Please let me know if this works. Thanks.
-Todd
Okay. I ran the MS SQL Maestro utility and was able to view the binary data in hex, text, image, and html. I was even successful in saving the hex as the original file type (MS Word) and the file opened with format and data in tact. Now what?
Hi David,
How large is this database? Would it be possible to get a copy so that I can test this locally? It is a good sign that all of the data is there but I am really confused as to why it would not be showing the file name, size, etc at all. Do you have any customizations on this instance? Themes, code changes, etc?
Also, would you please attach a copy of your logs from the <jiveHome>/logs/ directory? If the system is having trouble loading the documents this should give some better information. Thanks.
-Todd
My backup (Clearspace.bak) is 651 MB. How should I forward it to you? I've compressed all of the log files in a [logs.zip] zipped file and attached to this message. We have no custom themes enabled and have not made any changes to the Clearspace code.
Hi David,
None of the logs you sent me have been updated since Nov 28th. Do you have the clearspace.log file from your new 2.5 instance? This is the log file that I would need to see here. Also, I will private message you details for getting me your database dump since this case is marked public. Thanks.
-Todd
Sorry about that. Here are the log files.
Todd,
I'm getting the following error:
Could not retrieve directory listing
Permission denied.
Hey David,
I think I have figured out the problem here (thanks for the logs by the way). You need to remove this system property from your installation:
jive.storage.databaseModeEnabled = false
You likely have this set to false and the system is trying to get document bodies from the file system without even looking in the database. If you remove this it will revert back to the default mode (database mode). I believe filesystem mode was a legacy setting that really shouldn't be used anymore. Please let me know if this works for you. You will probably need to restart for this to take affect. Thanks.
-Todd
Oh, very nice! Very very nice!
One last question. My (System Admin) account for Clearspace authenticates (Active Directory) properly and no one else has commented about authentication. I have no problems accessing anything in the Admin Console. However, when I'm logged into the site, I am unable to access the following:
Connections
Profile
Projects
Groups
Blog Posts
Documents
Discussions
Tasks *(the weird thing here is that it lists the # of tasks that are overdue)
I have no problem browsing content or creating new content, though. If I click on my profile avatar, my display name, or any of the previous mentioned menu options (under 'My Stuff'), I get the following error:
Hi David,
That is odd, I would need to see the stack trace that gets generated when that error gets thrown to know exactly what is going on. Has this been happening before? Would this be in the log files you sent me? If not, could you send me updated logs? Thanks.
-Todd
This should be in the log files that I sent you. It started after the upgrade. The weird thing is that I have no problems logging in with proper access to content. I tried resyncing user data with no success.
-David
((this message was composed using a Windows Mobile devices -please excuse typos))
Hi David,
I didn't find anything in the logs that would indicate what is going on here but I have something for you to check. Would you please check your jiveUser table and check for any users that have a 'status' column set to 0.
-Todd
Hi David,
Did you happen to get a chance to check the jiveUser table as listed above? Thanks.
-Todd
Todd,
Actually my account DOES have a '0' in the status column. I appear to be the only one with a '0' status too. So, what should I do now?
Hey,
Would you please try changing this status to 6 in the database and then restart the application. This should resolve the issue for you, please let me know. Thanks!
-Todd
Thanks, Todd. Changing the status number resolved the problem. Any idea why the status was changed to '0' after the upgrade?
Hi David,
I am not sure why this is happening, but I believe a few other guys around here have seen this as well so we will have to do some more testing to determine a root cause. Thanks!
-Todd
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