I just tried to move my OCS-Installation from one Server to another. My strategy was: 1. move all the files as they are, 2. reconfigure config-file and 3. export and import Database to the new Server.
Now what I get, every time I try to load the side on the new Server ist "DB Error: Duplicate entry 'someverylongstringmumbojumbo' for key 'sessions_pkey'".
I already found out, that there is a file called commons.xml where is said, that this should be unique. I'm not sure if I should hotfix this by just commenting that out. Does anyone have an idea what the technical reason for this error is and how I can fix it? Can i just empty the table "sessions"? I tried deleting the entry where "seesion_id" is 'someverylongstringmumbojumbo', which makes the site visible for one time. After that, the error is back and it seems like the session_id used this time is exactly the same as before.
Hope someone can help me. If you need any more clues, I will deliver. But at the moment I don't know exactly what would be useful.