-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
Cannot create memo with image attachment in 1.6 / memos 22.2 #186
Comments
With the same problem, I used Android beta and Memos22.2 |
With the same problem, I used IOS and Memos22.2 |
I'm unable to reproduce this issue, could you provide the server log when you upload the image and save the memo? And I'd like to know whether the attachment is successfully uploaded (in Resources page). |
I performed the following operations: Meanwhile, the images were actually all successfully uploaded in 'Resources'. I checked the database table 'resource', and the value of the 'memo_id' column for these data entries are all NULL. Below are the log entries from the memo server:
|
This is weird. The API request to CreateResource shouldn't contain the Can you see any logs about |
I repeated the above operations, and after uploading the image, I deleted it. every time I click to save, there is only a
|
Thanks for the information. Please try the latest build on TestFlight (1.6.1) and check whether the issue is fixed: https://testflight.apple.com/join/YVHheZ50 |
Extremely sorry for not responding earlier. I somehow managed to get all my git notification mails moved to spam. The server doesn't log much, I'm afraid:
This is all that happens from the moment I create a new memo, write some random text, attach an image, and try to post it. |
On a sidenote, I'm using
|
I've submit another build to support some proxy server configuration. |
Right, I’m using nginx as a reverse proxy. Haven’t touched the config in a long time, though and with the current iOS version and memos 0.20.1 no issues whatsoever. I’ll try the new build asap and report back! Thanks for the quick response! |
The new version doesn't really do anything different for me, but good catch, it is the proxy. When connecting directly (over http) to the instance, password login and image attachments work. Otherwise the following is logged in the
Also there are a lot of these in the
I guess these could explain why I have to manually reload the memos overview with the new MoeMemos version to see any recent memos. Also maybe why tags do not show up properly. The following would be my
|
Thanks for the information. So it is the PATCH request causing this and it should be the same reason with mudkipme/MoeMemosAndroid#187 (comment). This will be fixed by usememos/memos#3600 when it got merged. For the login error, I guess it's a separate issue (related to |
Awesome, thanks a lot! 🤩 |
The fix is merged, please try upgrading the server to |
Can confirm this works flawlessly for attaching images! Thanks so much for the quick fix! FYI, login appears to still not work with username/password and tags aren't listed initially. Only when I manually enter them (existing ones), in a new memo do they appear in the list. But that's a minor problem, at least in my case. |
Hi,
first off, thank you so much for the great work you are doing with this app!
I just tried the latest version of MoeMemos (1.6 iOS) in conjunction with Memos 22.2. During testing, I found that if I create a memo with an image attachment and press the send button at the top, a grey banner flashes up briefly in the center of the screen, showing something with "unexpected" and then vanishes. A memo is then created, but without the attachment and the editor doesn't close, so I only noticed afterwards that I created like 8 memos without image.
On the memos side, everything looks good. The image resource is created, no errors whatsoever.
The text was updated successfully, but these errors were encountered: