!BZVTUuEiNmRcbFeLeI:matrix.org

Lemmy

261 Members
Repo: https://github.com/dessalines/lemmy Dev chat: https://matrix.to/#/!tUnhsBRCsiePXfsIGe:matrix.org77 Servers

Load older messages


SenderMessageTime
2 Jul 2020
@asonix:asonix.dogAode (Lion) He/They what happens if you try echo '{"msg":"ok"}' | jq .msg 21:05:38
@jumbu:matrix.orgkuskus
In reply to @asonix:asonix.dog
what happens if you try echo '{"msg":"ok"}' | jq .msg
''ok''
21:06:22
@asonix:asonix.dogAode (Lion) He/Theyso curl works, and jq works, but curl | jq does not work21:06:46
@jumbu:matrix.orgkuskus
In reply to @asonix:asonix.dog
so curl works, and jq works, but curl | jq does not work
That is correct.
21:07:23
@asonix:asonix.dogAode (Lion) He/They can you try curl -s -F "images[]=/lemmy/volumes/pictshare/ihj0bv.jpg/ihj0bv.jpg" http://127.0.0.1:8537/import again? 21:07:37
@jumbu:matrix.orgkuskusJust runs, no error. 21:08:13
@testman42:matrix.orgtestman joined the room.21:08:19
@asonix:asonix.dogAode (Lion) He/Theydoes it print anything out?21:08:26
@jumbu:matrix.orgkuskusOr at least none is printed. 21:08:26
@jumbu:matrix.orgkuskus

Nothing is printed.

pwd

/lemmy

21:09:42
@asonix:asonix.dogAode (Lion) He/Theyhmm, if nothing printed then that seems like it didn't work21:09:52
@asonix:asonix.dogAode (Lion) He/They if you run that curl command, and then run echo $?, what prints? 21:10:24
@jumbu:matrix.orgkuskus
root@server:/lemmy# curl -s -F "images[]=/lemmy/volumes/pictshare/ihj0bv.jpg/ihj0bv.jpg" http://127.0.0.1:8537/import echo $?
<html>
<head><title>405 Not Allowed</title></head>
<body bgcolor="white">
<center><h1>405 Not Allowed</h1></center>
<hr><center>nginx/1.14.0 (Ubuntu)</center>
</body>
</html>
21:13:07
@jumbu:matrix.orgkuskusIs that the correct syntax?21:13:21
@nutomic:matrix.orgnutomicThe echo needs to be a separate command21:24:21
@nutomic:matrix.orgnutomicNot in the same line21:24:29
@nutomic:matrix.orgnutomicYou have pictrs running on that port right?21:25:00
@jumbu:matrix.orgkuskus021:25:05
@nutomic:matrix.orgnutomicYou can check the status and port of pictrs with `docker-compose stats` (I think)21:28:29
@jumbu:matrix.orgkuskus docker ps:
... 127.0.0.1:8537->8080/tcp lemmy_pictrs_1
21:33:52
@nutomic:matrix.orgnutomicAre you running this on some unusual platform?21:38:01
@nutomic:matrix.orgnutomicPictrs is the latest version and starts without errors?21:38:14
@nutomic:matrix.orgnutomicNot much more I can think about, maybe shut pictrs down, wipe the data and try again21:38:32
@jumbu:matrix.orgkuskusI will shut it down and try fixing again. I am running a VPS on Ubuntu 18.04. Standard as they come. 21:41:09
@asonix:asonix.dogAode (Lion) He/They could you try running that curl command without the -s 21:52:05
@4ch:converser.eu4ch joined the room.22:00:58
@jumbu:matrix.orgkuskus
In reply to @asonix:asonix.dog
could you try running that curl command without the -s
No error is printed.
22:11:56
@asonix:asonix.dogAode (Lion) He/Theyis anything printed?22:12:15
@jumbu:matrix.orgkuskusNothing. 22:13:39
@jumbu:matrix.orgkuskusThanks for your time. I think this is taking too much of your collective time. I will try again later with a clearer head. 22:14:20

There are no newer messages yet.


Back to Room List