Skip to content
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

Can't add anything in the app #51

Open
Schenthomas opened this issue Sep 2, 2023 · 8 comments
Open

Can't add anything in the app #51

Schenthomas opened this issue Sep 2, 2023 · 8 comments

Comments

@Schenthomas
Copy link

Describe the bug
I cannot add anything: nor assets, nor liabilities. Same for Income and Expenses. When I click on the + button, nothing happens.

Nextcloud information (please complete the following information):

  • NextCloud version: 27.0.2 (docker set up)
  • Money version : 0.20.0
  • PHP version:
  • Database type and version:

Desktop (please complete the following information):

  • OS: Window 10
  • Browser: Opera (but same issue with Chrome & Firefox)
  • Version [e.g. 22]
@powerpaul17
Copy link
Owner

Hello, do you happen to use a SQLite database?

@Schenthomas
Copy link
Author

Hi! Yes, I did, when I try to re install NextCloud, I create a database in phpmyadmin, then I try to use this database, but I doesn't work. I put the right user, password, etc. But when I click Install, the page just reloads.

@powerpaul17
Copy link
Owner

SQLite is not supported, I'll add it to the app info soon.

But when I click Install, the page just reloads.

Can you give a bit more information please? Does it show an error in the browser console? Which page reloads, the app configuration page of NC? It doesn't sound to be related with this app..

@drpresq
Copy link

drpresq commented Oct 26, 2023

SQLite is not supported, I'll add it to the app info soon.

But when I click Install, the page just reloads.

Can you give a bit more information please? Does it show an error in the browser console? Which page reloads, the app configuration page of NC? It doesn't sound to be related with this app..

I too am having the same issue. I am using the lscr.io/linuxserver/nextcloud:latest docker image (Sqlite instance within same container as per default nextcloud).

This is what showed in the multiprocessor view of the firefox browser console when clicking the plus sign to add a new account record:

Uncaught (in promise) 
Object { message: "Request failed with status code 500", name: "AxiosError", code: "ERR_BAD_RESPONSE", config: {…}, request: XMLHttpRequest, response: {…}, stack: "" }
​
code: "ERR_BAD_RESPONSE"
​
config: Object { timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", … }
​​
adapter: function fE()
​​​
arguments: null
​​​
caller: null
​​​
length: 1
​​​
name: "fE"
​​​
prototype: Object { … }
​​​
<prototype>: function ()
​​
data: '{"name":"New Account","description":"","currency":"","type":1}'
​​
env: Object { FormData: null }
​​​
FormData: null
​​​
<prototype>: Object { … }
​​
headers: Object { Accept: "application/json, text/plain, */*", "Content-Type": "application/json", requesttoken: "cDIy05YaVggJ+qv5Yk8VqU/peb1hdnl26mYnA8wnOc4=:JEha5tFcEDpArp6OCjxYnz+sDMs1Ex5dnCASRI9UcaQ=" }
​​
maxBodyLength: -1
​​
maxContentLength: -1
​​
method: "post"
​​
timeout: 0
​​
transformRequest: Array [ transformRequest() ]
​​​
0: function transformRequest()
​​​
length: 1
​​​
<prototype>: Array []
​​
transformResponse: Array [ transformResponse() ]
​​​
0: function transformResponse()
​​​
length: 1
​​​
<prototype>: Array []
​​
transitional: Object { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }
​​​
clarifyTimeoutError: false
​​​
forcedJSONParsing: true
​​​
silentJSONParsing: true
​​​
<prototype>: Object { … }
​​​​
__defineGetter__: function __defineGetter__()
​​​​
__defineSetter__: function __defineSetter__()
​​​​
__lookupGetter__: function __lookupGetter__()
​​​​
__lookupSetter__: function __lookupSetter__()
​​​​
__proto__: 
​​​​
constructor: function Object()
​​​​
hasOwnProperty: function hasOwnProperty()
​​​​​
length: 1
​​​​​
name: "hasOwnProperty"
​​​​​
<prototype>: function ()
​​​​
isPrototypeOf: function isPrototypeOf()
​​​​​
length: 1
​​​​​
name: "isPrototypeOf"
​​​​​
<prototype>: function ()
​​​​
propertyIsEnumerable: function propertyIsEnumerable()
​​​​
toLocaleString: function toLocaleString()
​​​​​
length: 0
​​​​​
name: "toLocaleString"
​​​​​
<prototype>: function ()
​​​​
toString: function toString()
​​​​
valueOf: function valueOf()
​​​​
<get __proto__()>: function __proto__()
​​​​
<set __proto__()>: function __proto__()
​​
url: "/apps/money/accounts"
​​
validateStatus: function validateStatus()
​​
xsrfCookieName: "XSRF-TOKEN"
​​
xsrfHeaderName: "X-XSRF-TOKEN"
​​
<prototype>: Object { … }
​
message: "Request failed with status code 500"
​
name: "AxiosError"

@powerpaul17
Copy link
Owner

As I said, SQLite is NOT supported. I just haven't figured out how to prevent the app from being installed when using it.

@drpresq
Copy link

drpresq commented Oct 27, 2023

I understand that SQLite is not supported. You were clear in your original response. However, you asked for more information like console error logs.

No worries. What databases are supported?

@powerpaul17
Copy link
Owner

Ah, ok. I thought because you said, the database for your type of installation is SQLite.. 😅 sorry.

Thanks for the logs, that error seems to be unrelated to the issue here but I'll have a look at it later..

@github-project-automation github-project-automation bot moved this to Idea / Needs Concept in Money Oct 27, 2023
@powerpaul17 powerpaul17 moved this from Idea / Needs Concept to Planned in Money Oct 27, 2023
@powerpaul17
Copy link
Owner

@drpresq do you have access to the nextcloud log of the server? There should be an entry regarding the 500 status code.. thanks!

@powerpaul17 powerpaul17 added this to the v1 milestone May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Planned
Development

No branches or pull requests

3 participants