causefx / Organizr

HTPC/Homelab Services Organizer - Written in PHP
GNU General Public License v3.0
5.18k stars 291 forks source link

FATAL ERROR After Update #1845

Closed Nexxus-LMT closed 2 years ago

Nexxus-LMT commented 2 years ago

Version: 2.1.2320

Branch: v2-master

Server OS: *nix

PHP: 7.4.28

Install Type: Official Docker

Auth Type: internal

Auth Backend:

Installed Plugins:

Installed Themes:

Aquamarine:

name: Aquamarine

path: data/themes/Aquamarine_theme

repo: https://github.com/Organizr/Organizr-Themes

version: 2.0.2

Theme: Aquamarine Local: false oAuth: false Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0


Using with mariadb database docker.

Problem Description:

FATAL ERROR POPUP Account Settings area says 'Content Not Found' Dashboard seems to work alright otherwise. Not sure where to find logs for the error.


Reproduction Steps:

Once Logged in or refresh browser.


Errors on screen? If so paste here:

via organizr
FATAL ERROR

via Browsers

Source map error: Error: request failed with status 404
Resource URL: https://domain.tld/dashboard/js/tinycolor.min.js

TypeError: v.created.indexOf is not a function
.....
....
causefx commented 2 years ago

can you clear out the tokens table?

Sent from my iPhone

On May 28, 2022, at 9:05 PM, WaitukuNexx @.***> wrote:



Version: 2.1.2320

Branch: v2-master

Server OS: *nix

PHP: 7.4.28

Install Type: Official Docker

Auth Type: internal

Auth Backend:

Installed Plugins:

Installed Themes:

Aquamarine:

name: Aquamarine

path: data/themes/Aquamarine_theme

repo: https://github.com/Organizr/Organizr-Themes

version: 2.0.2

Theme: Aquamarine Local: false oAuth: false Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0

Using with mariadb database docker.

Problem Description:

FATAL ERROR POPUP Account Settings area says 'Content Not Found' Dashboard seems to work alright otherwise. Not sure where to find logs for the error.

Reproduction Steps:

Once Logged in or refresh browser.

Errors on screen? If so paste here:

via organizr FATAL ERROR

via Browsers

Source map error: Error: request failed with status 404 Resource URL: https://domain.tld/dashboard/js/tinycolor.min.js

TypeError: v.created.indexOf is not a function ..... .... — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

Nexxus-LMT commented 2 years ago

cleared out my tokens table but no luck. ERROR and settings issue persist

Also backed up both containers & volumes ... deleted them. then recreated two instances of the same version as follows

organizr (organizr/organizr:latest)

-using mariaDB (linuxserver/mariadb:latest) FATAL ERROR on LOGIN account settings "content not found'

performed same on seperate machine and results were similar as initial diagnosis.

can you clear out the tokens table? Sent from my iPhone On May 28, 2022, at 9:05 PM, WaitukuNexx @.**> wrote:  ####Version: 2.1.2320 ####Branch: v2-master ####Server OS: nix ####PHP: 7.4.28 ####Install Type: Official Docker ####Auth Type: internal ####Auth Backend: ####Installed Plugins: ####Installed Themes: ####Aquamarine: ####name: Aquamarine ####path: data/themes/Aquamarine_theme ####repo: https://github.com/Organizr/Organizr-Themes ####version: 2.0.2 Theme: Aquamarine Local: false oAuth: false Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0 Using with mariadb database docker. Problem Description: FATAL ERROR POPUP Account Settings area says 'Content Not Found' Dashboard seems to work alright otherwise. Not sure where to find logs for the error. Reproduction Steps: Once Logged in or refresh browser. Errors on screen? If so paste here: via organizr FATAL ERROR via Browsers Source map error: Error: request failed with status 404 Resource URL: https://domain.tld/dashboard/js/tinycolor.min.js TypeError: v.created.indexOf is not a function ..... .... — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

Nexxus-LMT commented 2 years ago

not very particular about what db connections i will have to use but just wanted to alert you of the issue and provide information according to my usage. I have a question... it's always been my preference but is there a noticeable advantage of using external db as most configs i see online don't bother to mention it?

causefx commented 2 years ago

i believe mariadb would be the way to go with concurrent use. I will try and dig into this today.

Sent from my iPhone

On May 29, 2022, at 4:16 AM, WaitukuNexx @.***> wrote:

 not very particular about what db connections i will have to use but just wanted to alert you of the issue and provide information according to my usage. I have a question... it's always been my preference but is there a noticeable advantage of using external db as most configs i see online don't bother to mention it.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

CollinChaffin commented 2 years ago

I think I'm almost done using this app - every time I restart my container and it updates - it friggin breaks. Now, no tabs "contact your administrator". Does anyone actually TEST these dev builds before pushing them?!? So what do we do when there's now not even a "settings"? Just this screen chrome_BDw9MNW8R7

causefx commented 2 years ago

I believe this goes back to sqlite limitiations. Especially if the db is mounted on a network share. I can add in another check as i think the DB's are locking in those instances. For now since you are logged in goto these URL's.

http://org-url/api/v2/update/reset/groupmax
http://org-url/api/v2/update/migrate/2.1.2200
causefx commented 2 years ago

Also @CollinChaffin I would love your logs to see if it that is the issue. And if it isn't, i need to dig in further.

CollinChaffin commented 2 years ago

Thanks for the quick reply! So, posting screenshots to help others. 1st url execution looked bad, with failure, BUT 2nd was success. Then, after that, reverting to homepage url restored tabs chrome_5uo1pZ1F4d chrome_bNPf7pxqND .

causefx commented 2 years ago

perfect, were you able to check the logs? should be some errors from before on updating the DB.

github-actions[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

causefx commented 2 years ago

@Nexxus-LMT this was fixed in last release.