Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lotw synchronization issue #3029

Closed
vitalijsl opened this issue Mar 25, 2024 · 3 comments
Closed

Lotw synchronization issue #3029

vitalijsl opened this issue Mar 25, 2024 · 3 comments
Labels
Not a bug Issue is localised one with users setup

Comments

@vitalijsl
Copy link

vitalijsl commented Mar 25, 2024

I have set up Lotw connection in Cloudlog and no errors are shown either in "Logbook of the Worl" page or in Cloudlog's "Debug information" page:
Screenshot of "Logbook of the World" section in Cloudlog

When pressing "Manual Sync", nothing happens. Even no error or info message.

After enabling logging, I see the following output whenever manual sync is initialized:
ERROR - 2024-03-25 17:49:20 --> Severity: Error --> Maximum execution time of 30 seconds exceeded /var/www/html/application/controllers/Lotw.php 965

I must mention that I have uploaded into Cloudlog quite a big ADIF file of >6000 entries. May it be the reason why the process times out?
If so, how to resolve?

@magicbug
Copy link
Owner

You will need to increase the maximum execution time so that its more than 30seconds

This is the max_execution_time in the php.ini settings on the server.

Repository owner deleted a comment from github-actions bot Mar 25, 2024
@magicbug magicbug added the Not a bug Issue is localised one with users setup label Mar 25, 2024
@vitalijsl
Copy link
Author

@magicbug Thank you for advice, I will try that.
It's not a bug, but you must agree that it could have shown something. At least that the process times out.

@f4cib
Copy link

f4cib commented Mar 26, 2024

Same issue there after recovering whole LoTW QSO from ADIF. Most QSO are not flag as LoTW sent so I assume the script needs a looong time to execute. (>40k QSO)
After modifying php.ini execution to 300, and even larger looks like it still takes into account the 30s.
Was able to get a verbose by typing whole adress on my explorer
i.e. : https://my_cloudlog_adress.com/index.php/lotw/lotw_upload
Fatal error/var/www/html/my_cloudlog_adress.com/public_html/application/controllers/Lotw.php960
A PHP Error was encountered
Severity: Error

Message: Maximum execution time of 30 seconds exceeded
Filename: controllers/Lotw.php
Line Number: 960

Edit: I had several php.ini in my config and the first one i've edited was the one pointed out by a php -i | grep php.ini
After having edited the one in my apache2 folder i was able to execute the script.
However, it did not worked by clicking on the Manual sync button, I had to type the above script adress to execute it
And finally was able to get back a:
F4CIB (Home QTH) No QSOs to Upload (but on Dashboard it displays 38291 QSO sent today !)
Ouf ! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Not a bug Issue is localised one with users setup
Projects
None yet
Development

No branches or pull requests

3 participants