New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No save in any settings thus unable to make changes to Company, Invoice, etc #2790
Comments
Hi Amon, Please make sure the upgrade is done correctly. Because this issue reason your permissions. Have a good day. |
How do I check that the upgrade is done correctly? How do I change the permissions? multiple people are having this exact issue.https://akaunting.com/forum/discussion/general/settings-company-missing-savecancel-buttons-on |
@cuneytsenturk Good day, can we get some more guidance on this? What permissions is needed. Who do the files need to be owned by? are we taking about the DB files or the akaunting files? I am running my instance trough a docker container. Any help would ge greatly appreciated |
All db files are owned by 911 (MariaDB user) and all akaunting files are owned by (www-data) |
Looking at the cloud version of akaunting and the self hosted one, When I inspect element on the self hosted one there is no code about the save button... |
I have tried creating a new company on my self hosted one after the upgrade and I am unable to make any changes. There are permissions missing I suspect it was something that happened between the changes made to the database between 2.x version and 3.x version. |
@Amon-X So looking at other tickets its related to the user permissions. But im not able to access that page as I get a 500 error. Investigating that now. |
The save button only appears if the user has permissions. If you inspect the files themselves they have a code block for displaying a save button. |
enabled APP_DEBUG=true getting some errors now seems like there is missing content in the database |
Here is where im at. Seems like there's an issue in the database.
I also have the same issue with another table
|
@Amon-X Can you get yo your user page? or of you get an error 500? Click on profile or users |
Yes I am able to get to my user page and my account is admin but there is no way to edit permissions without the roles page which you have to buy and last I checked does not work with the self hosted version. The roles and permission app only works with the cloud version I just checked. |
Would you be willing to share the contents of your |
I can. How would I go about doing that though? |
How are you running your instance? Docker containers or standard services? |
Self hosted on a web server. I am not good with database stuff and just followed a tutorial to get it running. It was manually set up. Something along the lines of this https://computingforgeeks.com/install-akaunting-accounting-software-on-ubuntu/ |
Try the following
|
It took me a while because the names were different Show wasnt working for me. As I said I am not good with database stuff |
in the database migration php files Akaunting_3.0.11-Stable/database/migrations/2022_05_10_000000_core_v300.php In 3.0.4 company id was dropped. |
Akaunting version
3.0.10
PHP version
8.1.2
Operating system
Ubuntu 22.04.1 LTS x86_64
Steps to reproduce
Go to Settings -> Select Company
No save or cancel buttons are displayed
Go to Settings -> Select Localisation
No save or cancel buttons are displayed
Go to Settings -> Select Invoice
No save or cancel buttons are displayed
Go to Settings -> Select Email Service
No save or cancel buttons are displayed
Go to Settings -> Select Scheduling
No save or cancel buttons are displayed
Go to Settings -> Select Categories
No save or cancel buttons are displayed
Go to Settings -> Select Currencies
No save or cancel buttons are displayed
Go to Settings -> Select % Taxes
No save or cancel buttons are displayed
Expected result
Expecting a save button to be able to save any changes
Actual result
Unable to save any changes to company, invoices or any settings.
Additional comments
Running the self hosted version. Upgraded from version 2 to 3 and no longer had save buttons show up after the upgrade. I am using an admin account and there are no options for user permissions for save and cancel buttons on the self hosted version.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: