Page 1 of 1
Upgrade from 1.2.9 to 2.0.0
Posted: 18 Oct 2021, 20:18
by imerledragon
Hello,
I have two Core modules, both new, and did an update and upgrade of the system. One is showing version 2.0.0 and the other stays in 1.2.9.
Both have Linux RevPi49942 4.19.95-rt38-v7 #1 SMP PREEMPT RT Tue, 22 Jun 2021 14:13:31 +0000 armv7l
Tried to reinstall pictory with apt and --reinstall did not change anything.
Reboot or apt upgrade (0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.) did not change anything.
I am not sure what next to check to upgrade the web application to v 2.0.0?
Any help would be appreciated,
Thanks
Torpi
Re: Upgrade from 1.2.9 to 2.0.0
Posted: 18 Oct 2021, 23:13
by imerledragon
OK, it sounds like one RevPi came with Jessie and the other with Buster.
I updated both /etc/apt/sources.list and /etc/apt/sources.list.d/revpi.list to buster and then did a full-upgrade.
Now the version is 2.0.0 with 2 little difference. First, on the one I upgraded I have Revpi7 service installed and not on the other one. Not sure why.
Second, and more problematic, I can access the WebUI with the ip and specifying the port 41080 but there is no redirect if I do not specify the port.
The redirect work on the RevPi that came with buster out of the box but not with the RevPi I updated from Jessie to Buster.
I tried to reinstall sudo apt-get install --reinstall revpi-webstatus pictory but this has no effect.
I guess there is a configuration in apache but /etc/apache2/sites-available/revpi-site.conf look the same on both. I do not see any redirect.
This post
viewtopic.php?t=2839 sais that http requests on port 80 are now forwarded to 41080 but this is not the case.
Any help would be appreciated,
Thanks
Torpi
Re: Upgrade from 1.2.9 to 2.0.0
Posted: 18 Oct 2021, 23:31
by imerledragon
OK, while I got "Migration of PiCtory and Webstatus successfully finished." and still no luck, I figured out I would try with another browser and it worked (with the other browser it did redirect to the old UI with version 1.x).
Clearing all cache and history of the browser solved the problem. What's funny is after clearing the cache the redirect worked and I got a message to told me to clear the cache to make it work.
Torpi
Re: Upgrade from 1.2.9 to 2.0.0
Posted: 19 Oct 2021, 10:27
by nicolaiB
Hi imerledragon
Jessie was the major release two versions before our current Buster image. Therefore I'd highly suggest to upgrade the whole image instead of just updating the packages. You will find the detailed instructions in our tutorial:
https://revolutionpi.com/tutorials/imag ... ll-jessie/
The images are located at our dowload section:
https://revolutionpi.de/tutorials/downl ... evpiimages
Nicolai
Re: Upgrade from 1.2.9 to 2.0.0
Posted: 20 Oct 2021, 22:56
by imerledragon
Thank you, I will give a try when I can access physically the device!
Torpi