Mastodon invalid argument error
Solved
App Packaging & Development
-
Hi, I've been trying to install a Mastodon instance (because I want to have Hometown), but I'm receiving this error at the moment of running
cloudron build
.I tried with other apps with not an issue, except of mastodon. Any thoughts on what can I do? Thanks!
13:24:50 ❯ cloudron build Building locally as /chetbaker/mastodon:20221202-162454-142f2a6eb invalid argument "/chetbaker/mastodon:20221202-162454-142f2a6eb" for "-t, --tag" flag: invalid reference format See 'docker build --help'. node:internal/errors:863 const err = new Error(message); ^ Error: Command failed: docker build -t /chetbaker/mastodon:20221202-162454-142f2a6eb -f Dockerfile /Users/chetbaker/dev/mastodon-app at checkExecSyncError (node:child_process:871:11) at execSync (node:child_process:943:15) at buildLocal (/opt/homebrew/lib/node_modules/cloudron/src/build-actions.js:187:5) at Command.build (/opt/homebrew/lib/node_modules/cloudron/src/build-actions.js:347:9) at Command.listener [as _actionHandler] (/opt/homebrew/lib/node_modules/cloudron/node_modules/commander/lib/command.js:482:17) at /opt/homebrew/lib/node_modules/cloudron/node_modules/commander/lib/command.js:1264:65 at Command._chainOrCall (/opt/homebrew/lib/node_modules/cloudron/node_modules/commander/lib/command.js:1158:12) at Command._parseCommand (/opt/homebrew/lib/node_modules/cloudron/node_modules/commander/lib/command.js:1264:27) at /opt/homebrew/lib/node_modules/cloudron/node_modules/commander/lib/command.js:1062:27 { status: 125, signal: null, output: [ null, null, null ], pid: 10793, stdout: null, stderr: null } Node.js v18.9.1
-
@chetbaker said in Mastodon invalid argument error:
/chetbaker/mastodon:20221202-162454-142f2a6eb
the
/
at the beginning looks a little sus to me.I am not sure if there is a way to do this with the cli directly, but it stores its configuration in
~/.cloudron.json
. There i would adjust therepository
anddockerimage
values to remove the slash. -
-