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. Firefly III
  3. How to change the admin user (was: Unable to disable currencies)

How to change the admin user (was: Unable to disable currencies)

Scheduled Pinned Locked Moved Firefly III
6 Posts 2 Posters 1.1k 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.
  • nottheendN Offline
    nottheendN Offline
    nottheend
    wrote on last edited by girish
    #1

    Hi All,

    I am able to enable new currencies in the Options menu. I am logged in as a 'Superadmin' (configured in Cloudron).

    Trying to disable another currency I get the error message:
    'Error! Please ask mail@example.com to add, remove or edit currencies.'

    I haven't enter that example mail address anywhere according to my knowledge.

    Did anyone else experience this issue?

    girishG 1 Reply Last reply
    0
    • nottheendN nottheend

      Hi All,

      I am able to enable new currencies in the Options menu. I am logged in as a 'Superadmin' (configured in Cloudron).

      Trying to disable another currency I get the error message:
      'Error! Please ask mail@example.com to add, remove or edit currencies.'

      I haven't enter that example mail address anywhere according to my knowledge.

      Did anyone else experience this issue?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @nottheend Seems like there are a couple of reports upstream about this like https://github.com/firefly-iii/firefly-iii/issues/4121 and https://github.com/firefly-iii/firefly-iii/issues/943 .

      Can you set the SITE_OWNER variable in /app/data/env to your email address ?

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #3

        So, just to be clear(er): The first user is indeed the site admin (was fixed in https://github.com/firefly-iii/firefly-iii/issues/6150) . If you are trying to login as any other user and add a currency, it probably shows the above message. The message is using the SITE_OWNER variable in the env file.

        To add the currency itself, you have to login as the site admin i.e the first user that you logged in as in firefly-iii . Fixing SITE_OWNER only changes the message it shows.

        nottheendN 2 Replies Last reply
        2
        • girishG girish

          So, just to be clear(er): The first user is indeed the site admin (was fixed in https://github.com/firefly-iii/firefly-iii/issues/6150) . If you are trying to login as any other user and add a currency, it probably shows the above message. The message is using the SITE_OWNER variable in the env file.

          To add the currency itself, you have to login as the site admin i.e the first user that you logged in as in firefly-iii . Fixing SITE_OWNER only changes the message it shows.

          nottheendN Offline
          nottheendN Offline
          nottheend
          wrote on last edited by
          #4

          @girish Thank you for the detailed and helpful answer! Indeed, it looks like https://github.com/firefly-iii/firefly-iii/issues/6150
          This is fixed in the version which is installed in my cloudron. It seems that I have deleted the user which I used for the first login in Firefly-III.

          So probably a solution would be to manually backup the apps data, reinstall firefly and impirt the data again. But somehow I would need to exclude the user.

          But I hope for a simpler solution. Hence I added a comment in the discussion section.

          https://github.com/orgs/firefly-iii/discussions/6145#discussioncomment-3945347

          1 Reply Last reply
          1
          • girishG girish

            So, just to be clear(er): The first user is indeed the site admin (was fixed in https://github.com/firefly-iii/firefly-iii/issues/6150) . If you are trying to login as any other user and add a currency, it probably shows the above message. The message is using the SITE_OWNER variable in the env file.

            To add the currency itself, you have to login as the site admin i.e the first user that you logged in as in firefly-iii . Fixing SITE_OWNER only changes the message it shows.

            nottheendN Offline
            nottheendN Offline
            nottheend
            wrote on last edited by
            #5

            @girish More update on this: I found a discussion how to change the Admin in the DB directly. Seems to be the solution with less pain.

            Role = 1 should to do the trick in the user table

            https://github.com/firefly-iii/firefly-iii/discussions/5295

            (Maybe the title of this thread is more about "How to change the admin user"🤔)

            girishG 1 Reply Last reply
            2
            • nottheendN nottheend

              @girish More update on this: I found a discussion how to change the Admin in the DB directly. Seems to be the solution with less pain.

              Role = 1 should to do the trick in the user table

              https://github.com/firefly-iii/firefly-iii/discussions/5295

              (Maybe the title of this thread is more about "How to change the admin user"🤔)

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @nottheend thanks for the update! fixed the title as well.

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