relay user info wiped by migration in stable 1.0 -> 1.1 #1324

Closed
opened 2019-10-17 20:51:21 +00:00 by mightypork · 2 comments
Member

rin has details, something about a postgres version. I use 10.10

info column became nil

pleroma       | 20:21:14.400 request_id=Fc6Ivxys3Ldi5pkAAK2S [info] POST /api/v1/statuses
pleroma       | 20:21:14.449 [info] Publishing https://piggo.space/activities/c5c4ad9c-3a73-4d8a-828f-59b3af0dc8fb using Pleroma.Web.ActivityPub.Publisher
pleroma       | 20:21:14.449 [info] Relaying https://piggo.space/activities/c5c4ad9c-3a73-4d8a-828f-59b3af0dc8fb out
pleroma       | 20:21:14.454 request_id=Fc6Ivxys3Ldi5pkAAK2S [info] Sent 200 in 54ms
pleroma       | 20:21:14.465 [error] Task #PID<0.29800.0> started from PleromaJobQueue.Worker terminating
pleroma       | ** (UndefinedFunctionError) function nil.deactivated/0 is undefined (module nil is not available)
pleroma       |     nil.deactivated()
pleroma       |     (pleroma) lib/pleroma/web/activity_pub/activity_pub.ex:70: Pleroma.Web.ActivityPub.ActivityPub.check_actor_is_active/1
pleroma       |     (pleroma) lib/pleroma/web/activity_pub/activity_pub.ex:128: Pleroma.Web.ActivityPub.ActivityPub.insert/4
pleroma       |     (pleroma) lib/pleroma/web/activity_pub/activity_pub.ex:332: Pleroma.Web.ActivityPub.ActivityPub.announce/5
pleroma       |     (pleroma) lib/pleroma/web/activity_pub/publisher.ex:204: Pleroma.Web.ActivityPub.Publisher.publish/2
pleroma       |     (elixir) lib/enum.ex:769: Enum."-each/2-lists^foreach/1-0-"/2
pleroma       |     (elixir) lib/enum.ex:769: Enum.each/2
pleroma       |     (pleroma) lib/pleroma/web/federator/publisher.ex:60: Pleroma.Web.Federator.Publisher.publish/2
pleroma       | Function: #Function<3.40483383/0 in PleromaJobQueue.Worker.maybe_start_job/4>
pleroma       |     Args: []

fix is delete from users where ap_id = 'https://piggo.space/relay'; and flip the server. Hopefully the relay user is the only one it happens to. I don't know

rin has details, something about a postgres version. I use 10.10 info column became nil ``` pleroma | 20:21:14.400 request_id=Fc6Ivxys3Ldi5pkAAK2S [info] POST /api/v1/statuses pleroma | 20:21:14.449 [info] Publishing https://piggo.space/activities/c5c4ad9c-3a73-4d8a-828f-59b3af0dc8fb using Pleroma.Web.ActivityPub.Publisher pleroma | 20:21:14.449 [info] Relaying https://piggo.space/activities/c5c4ad9c-3a73-4d8a-828f-59b3af0dc8fb out pleroma | 20:21:14.454 request_id=Fc6Ivxys3Ldi5pkAAK2S [info] Sent 200 in 54ms pleroma | 20:21:14.465 [error] Task #PID<0.29800.0> started from PleromaJobQueue.Worker terminating pleroma | ** (UndefinedFunctionError) function nil.deactivated/0 is undefined (module nil is not available) pleroma | nil.deactivated() pleroma | (pleroma) lib/pleroma/web/activity_pub/activity_pub.ex:70: Pleroma.Web.ActivityPub.ActivityPub.check_actor_is_active/1 pleroma | (pleroma) lib/pleroma/web/activity_pub/activity_pub.ex:128: Pleroma.Web.ActivityPub.ActivityPub.insert/4 pleroma | (pleroma) lib/pleroma/web/activity_pub/activity_pub.ex:332: Pleroma.Web.ActivityPub.ActivityPub.announce/5 pleroma | (pleroma) lib/pleroma/web/activity_pub/publisher.ex:204: Pleroma.Web.ActivityPub.Publisher.publish/2 pleroma | (elixir) lib/enum.ex:769: Enum."-each/2-lists^foreach/1-0-"/2 pleroma | (elixir) lib/enum.ex:769: Enum.each/2 pleroma | (pleroma) lib/pleroma/web/federator/publisher.ex:60: Pleroma.Web.Federator.Publisher.publish/2 pleroma | Function: #Function<3.40483383/0 in PleromaJobQueue.Worker.maybe_start_job/4> pleroma | Args: [] ``` fix is `delete from users where ap_id = 'https://piggo.space/relay';` and flip the server. Hopefully the relay user is the only one it happens to. I don't know

Thanks, it worked.

Thanks, it worked.
Member

fixed in #5235

fixed in #5235
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma#1324
No description provided.