jamiegau / cinema-catcher-app

23 stars 0 forks source link

Accessing #3

Closed MonziTech closed 1 year ago

MonziTech commented 1 year ago

Hi, when I try to access to D-Cine via browser I see the right page, but login take me to a double error

Cinema-catcher error01

Thank you for your time...

jamiegau commented 1 year ago

Umm... The software is crashing out in the background. To give me a idea of what's happening.

Got to the /opt/cinema-catcher-app directory After making the error happen again type the command sudo docker compose logs > error.log, to dump the logs to a file. error.log Post the file here so I can have a look.

MonziTech commented 1 year ago

Today I repeated (for the n-th time) the steps after the docker compose pull command and this time I was able to log in by browser (I had also requested and received the Activation code). Now my question is: the command sequence after the download image are "permanent" or I have to repeat them at every system reboot?

(Sorry if I ask dumby questions, I'm not used to play with linux...)

jamiegau commented 1 year ago

Those commands are needed for the INITIAL setup, specifically the migrate command as it does the initial database setup. The catcher_setup command makes sure template data (Like the admin login user) has been created etc. Plus it does consistency checks on the database.

The update.sh command actually runs them again as it applies any database upgrades, and setup applies any new consistency checks and data upgrades/modifications needed due to the upgrade. You can run them multiple times without issue.

But as I mentioned they have to run by hand initially on installation before the application will start.