Cant edit user or setting after upgrade

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Active8
    Junior Member
    • Mar 2021
    • 8

    Cant edit user or setting after upgrade

    Hi just updated to the latest version of EsproCRM (6.1.5.) upgrade by CLI went smooth and everything seemed to work but it didn't.

    I just realized that i can not alter any data e.g.user information or other setting don't save
    As soon as I make any changes I see "Save" (or similar in English) on top of the page but its stuck there, it tries to save but no luck

    I have looked in the EsproCRM logs and apache logs but there are no any errors recorded !
    I have tried to add new record /user that works delete also works but when i try to alter any data like active/inactive or email address the problem described happens

    I have tried to rebuild/clear the cache but it didn't help.

    Thanks

  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello,
    What EspoCRM version did you use before the upgrade?
    If the logs are empty try to press the F12 button (dev tools panel) and make some data change in EspoCRM (reproduce the issue). After, check the 'Network' and the 'Console' tabs for possible error.

    Comment

    • Active8
      Junior Member
      • Mar 2021
      • 8

      #3
      Hi , I had before 6.0.9 then updated to 6.0.10 and later from CLI made the update to 6.1.5, I will try your suggestion

      Comment

      • Active8
        Junior Member
        • Mar 2021
        • 8

        #4
        I Console I see this:

        Resource Allocation Error: Error: Request failed with status 404 Source URL: Source mapping URL: purify.min.js.map

        Comment

        • Maximus
          Senior Member
          • Nov 2018
          • 2731

          #5
          Could you provide a screenshot of this 404 error?
          Try to reproduce the issue in an incognito window. If it won't be reproduced then you need to clear a browser cache.

          Comment

          • Active8
            Junior Member
            • Mar 2021
            • 8

            #6
            There some other problems too, see screenshot
            Attached Files

            Comment


            • esforim
              esforim commented
              Editing a comment
              Purify and those other favicon, font error is normal and won't affect the system, from my experience. That espo.min.js error though, that might be an issue
          • Active8
            Junior Member
            • Mar 2021
            • 8

            #7
            Ok what can i do to fix this problem with espo.min.js ?

            Comment

            • item
              Active Community Member
              • Mar 2017
              • 1476

              #8
              Maximus
              Yuri have make some change in User entity in +- these release.. (new field or change some field i think )
              certainly need a rebuild... try edit and save and then see log file.

              you can create a blank file at path/name purify.min.js.map and you will see there are no change in espoCrm
              If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

              Comment


              • Maximus
                Maximus commented
                Editing a comment
                Thanks,
                Nor me neither Yuri didn't encounter this issue. We didn't even hear about it either, except this topic.
            • Active8
              Junior Member
              • Mar 2021
              • 8

              #9
              item so should i wait for update by Yuri then ?

              Comment


              • item
                item commented
                Editing a comment
                Hello,
                you need look and post "log file" content.
                try so :
                edit user (not inline) .. change something.. save..
                normaly a error must appaer as you say .. then post here log file.

                second try : inline edit .. same post log file here.

                and for other information : php version, mysql version, ..
            • Active8
              Junior Member
              • Mar 2021
              • 8

              #10
              item Hi , on my first post already said that there are no any lines in the errolog, nor in the espo or apache, its completely blank !

              System : PHP 7.3.27 MariaDB Db 10.4.18
              Thank you

              Comment

              • item
                Active Community Member
                • Mar 2017
                • 1476

                #11
                Hello,
                it's not possible to not have any info in log file.
                when you upgrade, there are some log ?
                cron have many log..
                have you nothing in log ?
                If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

                Comment

                • Active8
                  Junior Member
                  • Mar 2021
                  • 8

                  #12
                  This is the only error and this is because there are wrong password used for the mail (is for years now) and I dont think this has nothing do with my problem, here the log:

                  [2021-04-04 23:59:05] ERROR: CronManager: Failed job running, job [606a528b25128d22e]. Error Details: Job CheckEmailAccounts 5de67c49aafe6c1b5: [0] cannot login, user or password wrong at /home/user/domains/user.nl/public_html/crm/application/Espo/Modules/Crm/Jobs/CheckEmailAccounts.php:74 [] []


                  [2021-04-04 23:59:09] ERROR: CronManager: Failed job running, job [606a528b2b0889469]. Error Details: Job CheckEmailAccounts 5e28a47e8e5e5a45e: [500] at /home/user/domains/user.nl/public_html/crm/application/Espo/Modules/Crm/Jobs/CheckEmailAccounts.php:74 [] []

                  Comment

                  • item
                    Active Community Member
                    • Mar 2017
                    • 1476

                    #13
                    Hello,
                    really hard to find so (yes your log above is other think).. without log or print-screen of error.
                    maybe mysql log ? but these kind of log are in espocrm.log file.
                    clear cache of your browser ?

                    look a sample error log :
                    [2021-04-07 21:38:01] Espo.ERROR: (42S22) SQLSTATE[42S22]: Column not found: 1054 Unknown column 'user.first_name' in 'where clause'; GET /api/v1/AuthToken?select=userId%2CuserName%2CisActive%2Cip Address%2CcreatedAt%2ClastAccess&maxSize=25&offset =0&orderBy=lastAccess&order=desc&where%5B0%5D%5Bty pe%5D=textFilter&where%5B0%5D%5Bvalue%5D=ma; line: 165, file: /home/crm/public_html/application/Espo/ORM/DB/Mapper.ph

                    And it's for AuthToken for my case (ps : it's old version )
                    If you could give the project a star on GitHub. EspoCrm believe our work truly deserves more recognition. Thanks.​

                    Comment

                    Working...