Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Packaging & Development
  3. Mastodon invalid argument error

Mastodon invalid argument error

Scheduled Pinned Locked Moved Solved App Packaging & Development
3 Posts 2 Posters 596 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • chetbakerC Offline
    chetbakerC Offline
    chetbaker
    wrote on last edited by
    #1

    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
    
    fbartelsF 1 Reply Last reply
    1
    • chetbakerC chetbaker

      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
      
      fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote on last edited by
      #2

      @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 the repository and dockerimage values to remove the slash.

      chetbakerC 1 Reply Last reply
      2
      • fbartelsF fbartels

        @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 the repository and dockerimage values to remove the slash.

        chetbakerC Offline
        chetbakerC Offline
        chetbaker
        wrote on last edited by
        #3

        @fbartels that fixed the issue! I have no idea what it added up that /

        thanks!

        1 Reply Last reply
        3
        • nebulonN nebulon marked this topic as a question on
        • nebulonN nebulon has marked this topic as solved on
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search