Closed d4ve10 closed 1 year ago
What is the updated command to look for on this? Since the table got renamed to activity_logs and it's no longer "user", and that I see multiple values defaulting to NULL, I'm not confident in which one in particular it is. I don't see anything marked NULL in actor_id
, actor_typr
, in fact anything from activity_logs AND activity_log_subjects that would cause this issue
Is there an alternative fix to this?
This fix "DELETE FROM activities WHERE user IS NULL;" and reset processing state to '0' not working.
All cron tasks stuck in processing state.
You are mixing up something. You are referring to the database of the pterodactyl panel where all activities are stored. I'm referring to the sqlite database of the wings server where the activities are temporary stored and then send to the panel. And if the user field in the database of the wings server is NULL, then it will throw this exception. That command that I provided only works if you use it on the database of the wings server.
You are mixing up something. You are referring to the database of the pterodactyl panel where all activities are stored. I'm referring to the sqlite database of the wings server where the activities are temporary stored and then send to the panel. And if the user field in the database of the wings server is NULL, then it will throw this exception. That command that I provided only works if you use it on the database of the wings server.
I did it on Wings. It is true that there is no error in Wings but still cron jobs stuck in processing state. That's why I don't consider it a solution.
ah, okay, i mainly meant vijaypondini with my comment. Where did you find that you have cron jobs stuck in processing state? Are these cron jobs related to the wings server or the panel?
Appear in the panel in status This happens with all schedules, no matter what command is set to execute. Every time he falls into the loop "processing" state, I asked on discord and I was sent here that this issue causes it.
Then unfortunately, my fix won't help you because it has nothing to do with the schedules of the panel. Try to get some logs and post it on the discord server or create an issue if you don't find an answer.
In my case, it simply helped to completely delete the wings.db file instead of editing its contents. All actions (Schedules etc) work fine.
In my case, it simply helped to completely delete the wings.db file instead of editing its contents. All actions (Schedules etc) work fine.
Yes, It works.
I am also having this issue, it usually happens whenever there is a scheduled backup running.
Logs included below just in case it helps you guys.
Still getting this with wings 1.11.0:
activity process failed to execute cron=activity error=cron: failed to send activity events to Panel:
Error response from Panel: ValidationException: The data.0.ip must be a valid IP address. (HTTP/422)
Still getting this with wings 1.11.0:
activity process failed to execute cron=activity error=cron: failed to send activity events to Panel: Error response from Panel: ValidationException: The data.0.ip must be a valid IP address. (HTTP/422)
Me too
Current Behavior
When starting wings after the new update, the exception
ValidationException: validation.uuid (HTTP/422)
occurs. It also happens every minute. But the panel and wings are otherwise working completely fine.Expected Behavior
No exception
Steps to Reproduce
For me, it happend suddenly after i updated the panel from 1.9.2 to 1.10.1 and wings from 1.6.4 to 1.7.0. I also saw, that some people in Discord had the same problem that couldn't be resolved. The exception occurred because of the new cron job that is sending activities from wings to the panel. After i digged deeper, I found out that wings send following activity data to
<panel url>/api/remote/activity
:In the image below is the database where the data is from. In my case, the
user
field is somehownull
and that is why this exception occured. To fix it temporarly, I just connected to the database (sqlite3 /var/lib/pterodactyl/wings.db
) and removed the rows where the user field is null (DELETE FROM activities WHERE user IS NULL;
). I hope that is enough information for others to fix this errors and for the maintainers to stop it from happening again :)Panel Version
1.10.1
Wings Version
1.7.0
Games and/or Eggs Affected
No response
Docker Image
No response
Error Logs
Is there an existing issue for this?