Document upload error

Hi Jerry, thought I’d wait a couple days and have just installed v6. But somethings wrong …

  1. Is this the login screen - https://emr.clinicalthermography.co.nz/openemr It just looks messy compared to the previous?
  2. When I login, all I get is a blank screen with the circle-shaped logo top left - the only thing I can think of is a must have changed the permissions of openemr/sites/default/ (I’m not experienced with unix) - I did chmod ugo+w to allow me to ftp the sqlconf.php from 5.0.2, and then did chmod ugo-w
    If thats wrong, what chmod should I apply now please?

Thanks, ALan

Hi Jerry, just checking you noticed this? If you’re just busy just let me know :slight_smile:

this is most likely a permission issue on your server. Or windows has the block property set.

I’m on centos 7.9
I agree as per my point 2 above it might be permissions, are you able to tell me what the permissions for openemr/sites/default/ should be please?

directories 2775
files 664

ensure your owner permissions allow read on directory

Thanks Jerry, yes those were wrong as expected, now fixed.
BUT - nothings changed.

  1. Please try https://emr.clinicalthermography.co.nz/openemr and confirm if that looks as expected?
  2. Here is a test login (no real data in the system yet), so you can see what happens:
    testDoc, testDoc123*

you probably still have permission issue with vendor directory.

Checked, it’s correct. Also I am certain the only permissions I changed at all was the default folder. I’ve also browsed through the folders and files and all permissions look correct.

I checked console:
Login screen has these msgs: (and after that some errors after logging in)

Loading failed for the with source “https://emr.clinicalthermography.co.nz/openemr/public/assets/jquery/dist/jquery.min.js?v=61”. login.php:11:1

Loading failed for the with source “https://emr.clinicalthermography.co.nz/openemr/public/assets/bootstrap/dist/js/bootstrap.bundle.min.js?v=61”. login.php:12:1

Loading failed for the with source “https://emr.clinicalthermography.co.nz/openemr/library/js/utility.js?v=61”. login.php:13:1

Loading failed for the with source “https://emr.clinicalthermography.co.nz/openemr/library/textformat.js?v=61”. login.php:14:1

Loading failed for the with source “https://emr.clinicalthermography.co.nz/openemr/library/dialog.js?v=61”. login.php:15:1

Loading failed for the with source “https://emr.clinicalthermography.co.nz/openemr/interface/product_registration/product_registration_service.js?v=61”. login.php:26:1

Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. inject.js:2:16356

Loading failed for the with source “https://emr.clinicalthermography.co.nz/openemr/interface/product_registration/product_registration_controller.js?v=61”. login.php:27:1

Uncaught ReferenceError: $ is not defined

https://emr.clinicalthermography.co.nz/openemr/interface/login/login.php?site=default:30

login.php:30:9

Ruleset ignored due to bad selector.

… and AFTER LOGGING IN there are some errors:

Uncaught ReferenceError: jsText is not defined
transmit_form https://emr.clinicalthermography.co.nz/openemr/interface/login/login.php?site=default:51
onclick https://emr.clinicalthermography.co.nz/openemr/interface/login/login.php?site=default:1

Uncaught ReferenceError: app_view_model is not defined

https://emr.clinicalthermography.co.nz/openemr/interface/main/tabs/main.php?token_main=k5qHa3QgsBVxlSa2846agJniINWCMYuxyrBtArqp:601

main.php:601:5

Uncaught ReferenceError: app_view_model is not defined

https://emr.clinicalthermography.co.nz/openemr/interface/main/tabs/main.php?token_main=k5qHa3QgsBVxlSa2846agJniINWCMYuxyrBtArqp:611

main.php:611:9

Uncaught ReferenceError: ko is not defined

https://emr.clinicalthermography.co.nz/openemr/interface/main/tabs/main.php?token_main=k5qHa3QgsBVxlSa2846agJniINWCMYuxyrBtArqp:661

Where did you get the upgrade from? Not master download I hope!

Got an email announcement - OpenEMR 6.0.0 has just been released!

Then took the linux download - https://sourceforge.net/projects/openemr/files/OpenEMR%20Current/6.0.0/openemr-6.0.0.tar.gz/download

Happy to reinstall if there is a better download?

Otherwise I have backups, I could roll back to before the latest patches?

Hi Jerry, just wondering what I should be doing?

Thanks
Alan

OK, there’s probably a lot of pressure on your time - in the meantime I will use a backup to go back to before I patched emr, and also switch to php 7.2 … but please get back to me if the situation changes re: v6?

Try a different download of version 6. It does work.
I have been using it for one week. Be sure to check the checksum first yourself. In the distant past I have spent weeks on problems which turned out to be a bad downloaded zip (tgz) file.

I had an idea - Can someone tell me what the ownership of all folders should be? As in Owner/Group

OK - Owner of folders was set to root root, must be from when I unpacked the compressed file. I have v6 working now, so this is resolved.

Are you referring to the actual directories in your server?

Mine are www:www

I am using version 6

Yeah, mine are now set to the account username. I gather www www works, so I still wonder what they are supposed to be?

They are not supposed to be root
they need to be your web server user
for example “www-data:www-data” on Ubuntu, there is out there also “_www:_www”
this is a combination of user name and group (what follows the : colon is group)
Hmm I forget what are the comon linux webserver user and groups there are out there.
I use freebsd