How to change the admin user (was: Unable to disable currencies)
-
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?
-
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?
@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_OWNERvariable in/app/data/envto your email address ? -
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_OWNERvariable 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_OWNERonly changes the message it shows. -
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_OWNERvariable 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_OWNERonly changes the message it shows.@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
-
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_OWNERvariable 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_OWNERonly changes the message it shows.@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"
) -
@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"
)@nottheend thanks for the update! fixed the title as well.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login