powerpaul17 / nc_money

Nextcloud app for finance management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't add anything in the app

Schenthomas opened this issue · comments

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]

Hello, do you happen to use a SQLite database?

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.

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..

commented

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"

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

commented

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?

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..

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