Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.08 KB

TROUBLESHOOTING.md

File metadata and controls

23 lines (15 loc) · 1.08 KB

Checking and troubleshooting

The browser shows a pop-up with an error when loading the page

This can have several causes. One is an outdated browser cache. Delete this if necessary.

Furthermore, an invalid character can also lead to an incorrect JSON being generated by the backend. Since JSONs must correspond to a specific schema and many parts in Pi.Alert exchange data in JSON format, this can lead to errors. The "Test Main JSON Calls" function is available for this purpose under Maintenance -> Settings -> Advanced. If you report an issue in this regard, please include the output of this function.

Repairing an installation after a failed update

  1. rename the still existing "pialert" directory e.g. to "pialert-old"
  2. reinstall Pi.Alert
  3. copy the database from "pialert-old/db" to "pialert/db/" and overwrite the existing database there
  4. copy "pialert.conf" from "pialert-old/config" to "pialert/config"
  5. execute the command "./pialert-cli set_permissions" in the "pialert/back" directory
  6. now everything should work again

Back