How to update local server

51 views
Skip to first unread message

Martin Mai

unread,
Apr 3, 2024, 8:21:20 AM4/3/24
to Open Roberta
Hello,
on our school we are running a quite old openroberta lab server on a Raspberry Pi. 
Is there any hint how to update the server to a newer version without loosing all the programs?

Beate Jost

unread,
Apr 4, 2024, 2:55:12 AM4/4/24
to Open Roberta
Hi, it is possible to only update the the lab server files on your raspberry pi installation or you can create a new SD-card with the OpenRobertaLab and try to copy your old database. Both will work if your version is not too old, so do you know your installed version?

Martin Mai

unread,
Apr 6, 2024, 11:14:56 AM4/6/24
to Open Roberta
Hi, 

thanks a lot! At school we are running version 3.8.1
Our IT guy currently sets up a new Raspberry Pi with the 5.1.2 image.
Is it possible to just copy the database from the old to the new server?

Beate Jost

unread,
Apr 9, 2024, 9:23:52 AM4/9/24
to Open Roberta
Hi, it seems to be easy ;-) Please do the following:
- Start the Open Roberta Lab server once with the new image on the Raspberry Pi. During the first start there will be an empty data base created. The folder's name is 'db-embedded'. It is located in '/home/pi/OpenRoberta/'. It should contain the following files:
-- openroberta-db.data
-- openroberta-db.properties
-- openroberta-db.script
- Navigate to the data base folder and remove the files inside.
- Now copy all files (and folders) from your old installation within the db-embedded folder to the new db-embedded folder:
-- openroberta-db.tmp
-- openroberta-db.data
-- openroberta-db.lck
-- openroberta-db.log
-- openroberta-db.properties
-- openroberta-db.script
- Restart the Open Roberta Lab (or the Raspberr Pi) and check if the old data is available, e.g. try to log into an account.
- If everything is fine, you are done, please let me know :-)
- If not, please let me know what's the problem, I try to help you.
Troubleshouting: If the server does not start, please try to delete 'openroberta-db.lck' and try it again.

Good luck!

Martin Mai

unread,
Jun 1, 2024, 8:31:42 AM6/1/24
to Open Roberta
It worked, thanks a lot!
Reply all
Reply to author
Forward
0 new messages