Stirling-PDF icon indicating copy to clipboard operation
Stirling-PDF copied to clipboard

Stirling-PDF as a service and enableLogin Help

Open bert3ch opened this issue 1 year ago • 7 comments

Hello, I have made a local installation, also enable the Stirling-PDF as a service it was working but suddenly it stopped working even the systemctl status is active, when I run manually with ./gradlew bootRun, it works Also enableLogin is set to true but I can not login.

any suggestions? Thanks

bert3ch avatar Jul 24 '24 10:07 bert3ch

Can you describe "I can not login" in more detail? there are errors in the log file?

Ludy87 avatar Jul 27 '24 07:07 Ludy87

Hi, Login issue is , in the settings.yml file, initialLoginn username and password are set. However it does not accept the credentials , just default credentials (admin-stirling) working. (also same problem for the docker compose) as I mentioned earlier, the systemctl status stirlingpdf.service is active but I am not able to open the Stirling page thorugh browser. I have to manually start it through /gradlew bootRun. How can I fix it? Please find attached screenshot of the log file.

bert3ch avatar Aug 01 '24 08:08 bert3ch

Hi, in your screenshot you can see that you have used or set the user berto. So it must work with that too.

Regarding your second problem, I can only speculate and say that you may be using the wrong IP address and/or the wrong port when accessing it.

Ludy87 avatar Aug 01 '24 11:08 Ludy87

Hi again, if I run it with /gradlew bootRun. ,I am able to access. but if the server restarts and and even status of Stirling service is active it does not come up. I have to run it manually. the username is berto, you are right but it does not allow me to log in. It says wrong username or password

bert3ch avatar Aug 01 '24 14:08 bert3ch

For logs can you provide a full txt file, will greatly help in debugging

Frooodle avatar Aug 03 '24 15:08 Frooodle

Hello,Thank you for your reply. It will be a silly question [ as I m not pro:) ] but, when the program runs as a service, it uses the /opt/Stirling-PDF/configs/custom_settings.yml + settings.yml file. Is it correct? I think answer is yes, this was why I couldn't access app through web, because ports are different in /opt/Stirling-PDF/configs/custom_settings.yml and .git/Stirling-PDF/configs/custom_setting.yml. However, still I am not able to login with initial username and password. it does not accept Which log file would you like me to send?

bert3ch avatar Aug 05 '24 09:08 bert3ch

This issue has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 05 '24 00:09 github-actions[bot]

This issue has been automatically closed because it has had no recent activity after being marked as stale. Please reopen if you need further assistance.

github-actions[bot] avatar Sep 12 '24 00:09 github-actions[bot]

Hello, I am still facing the same issue.

bert3ch avatar Sep 18 '24 10:09 bert3ch