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. Immich
  3. CLI/Server commands

CLI/Server commands

Scheduled Pinned Locked Moved Solved Immich
7 Posts 3 Posters 1.2k Views 3 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.
  • luckowL Offline
    luckowL Offline
    luckow
    translator
    wrote on last edited by
    #1

    It seems I have lost my mind and forgotten the admin user credentials. After reading this https://immich.app/docs/administration/server-commands, I tried immich list-users but there is no immich command available. Does anyone have any ideas?

    Pronouns: he/him | Primary language: German

    1 Reply Last reply
    0
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by
      #2

      It asks for an admin account when you first install it..

      look in /app/code/server/bin/ for admin-cli.sh

      Conscious tech

      1 Reply Last reply
      1
      • nebulonN Away
        nebulonN Away
        nebulon
        Staff
        wrote on last edited by
        #3

        I think the cli would be node /app/code/server/dist/cli/immich.js however that requires all env vars set the main server also needs, those are only defined in start.sh for the moment. You would have to manually export those from start.sh until we have reworked the package there.

        1 Reply Last reply
        0
        • nebulonN nebulon marked this topic as a question on
        • nebulonN Away
          nebulonN Away
          nebulon
          Staff
          wrote on last edited by
          #4

          I have enabled the admin-cli for immich in the latest package. Simply run admin-cli --help via the webterminal to see all available commands.

          1 Reply Last reply
          1
          • nebulonN nebulon has marked this topic as solved on
          • luckowL Offline
            luckowL Offline
            luckow
            translator
            wrote on last edited by
            #5

            top.
            but running admin-cli --help is answered with
            bash: admin-cli: command not found
            Is there a path to add?

            Pronouns: he/him | Primary language: German

            1 Reply Last reply
            0
            • nebulonN Away
              nebulonN Away
              nebulon
              Staff
              wrote on last edited by
              #6

              is the app updated to the very last package version?

              1 Reply Last reply
              0
              • luckowL Offline
                luckowL Offline
                luckow
                translator
                wrote on last edited by
                #7

                Shame on me. admin-cli --help is working

                Pronouns: he/him | Primary language: German

                1 Reply Last reply
                0
                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