Queries installation Failed with unknown error

have got unknown error during query installation. how do I find more detailed information to debug?
GSQL version: 3.4.
m1: An unknown error occurred during installation, code: 2

gsql “$(cat ./nhop.gsql | sed “s/@graph/nhop_vivianw/”)”

Using graph ‘nhop_vivianw’
Semantic Check Fails: These queries could not be found anywhere: [tg_prenumbered_partition, nhop_alveo].
Successfully created queries: [tg_prenumbered_partition].
Successfully created queries: [nhop_alveo].
Start installing queries, about 1 minute …
nhop_alveo query: curl -X GET ‘http://127.0.0.1:9000/query/nhop_vivianw/nhop_alveo?graphfile=VALUE&indexfile=VALUE&offsetfile=VALUE&netconfig=VALUE&pairfile=VALUE&num_hop=VALUE’. Add -H “Authorization: Bearer TOKEN” if authentication is enabled.
tg_prenumbered_partition query: curl -X GET ‘http://127.0.0.1:9000/query/nhop_vivianw/tg_prenumbered_partition?v_types=VALUE&e_types=VALUE&weight_attr=VALUE&nhopId_attr=VALUE&[nhop_project=VALUE]&[numPar=VALUE]’. Add -H “Authorization: Bearer TOKEN” if authentication is enabled.
Select ‘m1’ as compile server, now connecting …
Node ‘m1’ is prepared as compile server.

[=================================================================================================== ] 95% (1/2) m1: An unknown error occurred during installation, code: 2
Query installation failed during linking!
Queries installation failed!

@vivianw To help you as best resolve the issue above; can you provide more context? Are these queries that would work in the past, but don’t work now? Did you perform and upgrade and now reinstalling the queries?

TigerGraph does have a Troubleshooting Guide :: TigerGraph Server that is quite useful. If you have access to the logs you might be able to find more details on the errors occuring as werll.