sourceryltd / makerhub-releases

1 stars 1 forks source link

[BUG] Can't Delete Unused Workspaces #8

Open cgarwood82 opened 5 months ago

cgarwood82 commented 5 months ago

I can't delete all of the unused workspaces for makerhub that I don't have a machine for. I have an XL frame and attempted to remove all of the unused ones and after awhile, it would respawn them after I deleted them. Currently, I've got 3 including the one I want to keep. Can't delete the others.

Perhaps just allow users to hide them instead would be more ideal?

Relevant logs:

2024-06-14T23:36:29.542Z - info init Loading configuration from "/home/trans/.makerhub"
127.0.0.1
2024-06-14T23:36:29.693Z - info init Starting the server at http://127.0.0.1:35457
2024-06-14T23:36:43.374Z - warn api:users Login Error getaddrinfo ENOTFOUND openwork.shop openwork.shop:443
(node:37699) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:767:10)
    at ServerResponse.send (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:170:12)
    at ServerResponse.json (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:267:15)
    at ServerResponse.send (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:158:21)
    at /tmp/.mount_MakerHgVhSmT/resources/app/server/index.js:3886:9
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:37699) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:37699) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2024-06-14T23:36:50.546Z - warn api:users Login Error getaddrinfo ENOTFOUND openwork.shop openwork.shop:443
(node:37699) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:767:10)
    at ServerResponse.send (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:170:12)
    at ServerResponse.json (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:267:15)
    at ServerResponse.send (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:158:21)
    at /tmp/.mount_MakerHgVhSmT/resources/app/server/index.js:3886:9
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:37699) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
2024-06-14T23:38:07.516Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:38:07.727Z - warn api:users Login Error getaddrinfo ENOTFOUND openwork.shop openwork.shop:443
(node:37699) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:767:10)
    at ServerResponse.send (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:170:12)
    at ServerResponse.json (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:267:15)
    at ServerResponse.send (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:158:21)
    at /tmp/.mount_MakerHgVhSmT/resources/app/server/index.js:3886:9
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:37699) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
2024-06-14T23:38:08.293Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:38:15.006Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:38:15.354Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:38:15.354Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:38:15.495Z - warn api:users Login Error getaddrinfo ENOTFOUND openwork.shop openwork.shop:443
(node:37699) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:767:10)
    at ServerResponse.send (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:170:12)
    at ServerResponse.json (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:267:15)
    at ServerResponse.send (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:158:21)
    at /tmp/.mount_MakerHgVhSmT/resources/app/server/index.js:3886:9
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:37699) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
2024-06-14T23:38:15.969Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:38:15.969Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:38:20.684Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:38:20.684Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:38:21.029Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:38:21.210Z - warn api:users Login Error getaddrinfo ENOTFOUND openwork.shop openwork.shop:443
(node:37699) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:767:10)
    at ServerResponse.send (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:170:12)
    at ServerResponse.json (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:267:15)
    at ServerResponse.send (/tmp/.mount_MakerHgVhSmT/resources/app/node_modules/express/lib/response.js:158:21)
    at /tmp/.mount_MakerHgVhSmT/resources/app/server/index.js:3886:9
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:37699) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)
2024-06-14T23:38:21.809Z - error api:workspaces Duplicate workspace ID: m2-standard
[trans@archtop Downloads]$ ./MakerHub-1.3.1-beta1.AppImage 
Current directory: /tmp/.mount_MakerHfO3ZLE/resources/app
Linux OS Detected
patch already detected...skipping patch.
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
2024-06-14T23:38:40.977Z - info init Loading configuration from "/home/trans/.makerhub"
127.0.0.1
2024-06-14T23:38:41.137Z - info init Starting the server at http://127.0.0.1:39193
2024-06-14T23:38:42.162Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:38:42.348Z - warn api:users Login Error getaddrinfo ENOTFOUND openwork.shop openwork.shop:443
(node:38688) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:767:10)
    at ServerResponse.send (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:170:12)
    at ServerResponse.json (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:267:15)
    at ServerResponse.send (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:158:21)
    at /tmp/.mount_MakerHfO3ZLE/resources/app/server/index.js:3886:9
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:38688) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:38688) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2024-06-14T23:38:48.017Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:38:53.219Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:38:53.941Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:38:53.941Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:38:54.113Z - warn api:users Login Error getaddrinfo ENOTFOUND openwork.shop openwork.shop:443
(node:38688) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:767:10)
    at ServerResponse.send (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:170:12)
    at ServerResponse.json (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:267:15)
    at ServerResponse.send (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:158:21)
    at /tmp/.mount_MakerHfO3ZLE/resources/app/server/index.js:3886:9
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:38688) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
2024-06-14T23:38:54.520Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:38:54.520Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:39:01.174Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:39:01.174Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:39:01.509Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:39:01.656Z - warn api:users Login Error getaddrinfo ENOTFOUND openwork.shop openwork.shop:443
(node:38688) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:767:10)
    at ServerResponse.send (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:170:12)
    at ServerResponse.json (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:267:15)
    at ServerResponse.send (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:158:21)
    at /tmp/.mount_MakerHfO3ZLE/resources/app/server/index.js:3886:9
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:38688) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
2024-06-14T23:39:02.280Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:39:55.854Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:40:00.382Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:40:00.724Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:40:00.724Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:40:00.877Z - warn api:users Login Error getaddrinfo ENOTFOUND openwork.shop openwork.shop:443
(node:38688) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:767:10)
    at ServerResponse.send (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:170:12)
    at ServerResponse.json (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:267:15)
    at ServerResponse.send (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:158:21)
    at /tmp/.mount_MakerHfO3ZLE/resources/app/server/index.js:3886:9
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:38688) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
2024-06-14T23:40:01.310Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:40:01.310Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:40:34.646Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:40:34.646Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:40:41.363Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:40:41.363Z - error api:workspaces Duplicate workspace ID: m2-4
2024-06-14T23:40:41.710Z - error api:workspaces Duplicate workspace ID: m2-standard
2024-06-14T23:40:41.861Z - warn api:users Login Error getaddrinfo ENOTFOUND openwork.shop openwork.shop:443
(node:38688) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:470:11)
    at ServerResponse.header (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:767:10)
    at ServerResponse.send (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:170:12)
    at ServerResponse.json (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:267:15)
    at ServerResponse.send (/tmp/.mount_MakerHfO3ZLE/resources/app/node_modules/express/lib/response.js:158:21)
    at /tmp/.mount_MakerHfO3ZLE/resources/app/server/index.js:3886:9
    at process._tickCallback (internal/process/next_tick.js:68:7)
(node:38688) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 5)
2024-06-14T23:40:42.509Z - error api:workspaces Duplicate workspace ID: m2-standard