Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

View file
namerevpi_buster_fix_pictory.sh

Solution

...

  1. Upload the script to your RevolutionPi device i.e. like so: RevolutionPi Copy Files

  2. Execute the script after upgrading from Stretch to Buster

...

  1. :

Code Block
sudo chmod u+x
sudo /usr/sbin/revpi_buster_fix_pictory.sh. 
Info

After successful execution your application should work again and PiCtory should show your last configuration

...

What does the script do:

  1. it creates the directory migration in “/home/pi” and saves the directories “/var/www/pictory/projects”, “/var/www/pictory/export”, “/var/www/data” and “/etc/apache2”.

  2. then the package apache2-bin and all dependent packages are uninstalled.

  3. then the directories /var/www/data data” and /var/www/pictory pictory” are deleted

  4. then the packages apache2, apache2-bin, libapache2-mod-php, pictory and revpi-webstatus are reinstalled. This will install the standard apache2 modules as well as php7. If a customer has you have more special modules still installed he has you have to reinstall them, because they might have been removed automatically during the uninstallation.

  5. the contents of the directories /home/pi/migration/projects projects” are copied to /var/www/revpi/pictory/projectsprojects”.

  6. the contents of the directory /home/pi/migration/export export” are copied to /var/www/revpi/pictory/exportexport”

  7. the contents of the /home/pi/migration/data data” directory are copied to /var/www/revpi/datadata”.

  8. Apache2 is restarted and piControl is reinitialized via piTest “piTest -xx”.

Verwandte Artikel

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@968
sortmodified
showSpacefalse
reversetrue
typepage
cqllabel = "kb-troubleshooting-article" and type = "page" and space = "KS"
labelskb-troubleshooting-article

...