Comments (7)
syntax for room id is !xxx123:matrixservername
you have to put that in single quotes, otherwise your shell might interpret the special character ! for something else.
weird error. what version of synadm? (well seems to be 0.34/latest) how installed?
and what synapse version?
from synadm.
also: launching synadm -vv .. might reveal helpful information
HTH
from synadm.
@jahway603 another hint coming up: Do synadm room list
and synadm room members ...
and room details ...
commands work? BTW: The regular delete command (without using the --batch switch) is also requesting members and other details beforehand to provide the user with a detailed display of what exactly is going to be deleted. The error might as well already happen at this stages. Please provide more details, otherwise I won't be able to help. Thanks in advance and HTH.
from synadm.
Alright, I just tried the single quotes and was able to delete the test room I created. Synadm is the latest and I have it installed via "git installation" from the README.
Odd that I still have the initially reported 404 issue whey trying to "delete" the "GrapheneOS Off Topic" room [!tgbPIxPlvGiwpsGJuu:matrix.org]
Then I tried to "delete" the "GrapheneOS" room and got the following error:
$ synadm room delete '!SayHlEYXdrpSerhLMC:matrix.org'
room_id !SayHlEYXdrpSerhLMC:matrix.org
name
canonical_alias
joined_members 0
joined_local_members 0
version 6
creator @strcat:matrix.org
encryption
federatable True
public False
join_rules
guest_access
history_visibility
state_events 12725
avatar
topic
joined_local_devices 0
Total members in room: 0
Are you sure you want to delete this room? (y/N): y
ERROR ReadTimeout while querying Synapse: HTTPConnectionPool(host='localhost', port=8008): Read timed out. (read timeout=7)
Room not deleted.
To summarize, I was able to use the single quotes to delete the test room but the two "problem rooms" I can't seem to be rid of them using synadm. Is there another way to remove these rooms?
from synadm.
try increasing the timeout via synadm config
from synadm.
Hi @jahway603 did that work out for you?
from synadm.
Thank you for the changes you've made to synadm. It appears the issue I was having was caused by something client-related, as once I cleared the cache of both the Element Android & Desktop apps the rooms were not there anymore. Now I also do not see them on my server anymore with synadm room list
. Thank you again for creating and maintaining this great tool.
from synadm.
Related Issues (20)
- User modify API requires a redesign HOT 10
- User modify command doesn't show difference in non-interactive output mode
- synadm doesn't work after v0.38 with Click 7.0 HOT 8
- regtok delete is broken HOT 8
- Prepare for Read the Docs Configuration v2
- Add a way to see synadm version HOT 6
- 0.42 not on PyPi HOT 2
- Command line reference in docs is empty HOT 3
- Account (un)locking HOT 1
- Admin user filter in user list API
- User list function breaking change HOT 1
- Streamlining of "Admin API" wording HOT 2
- GitHub Actions pipeline "release" throwing deprecations/warnings HOT 1
- invalid token generated with synadm login HOT 2
- Removing of threepid is not supported HOT 2
- M_NOT_JSON error when trying to delete room HOT 2
- Links to synapse documentation is old
- Cannot do a login without first configuring synadm HOT 1
- Synapse returned status code 400 - Can only delete local media HOT 8
- synadm media delete uses deprecated API endpoint
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synadm.