monicahq / monica

Personal CRM. Remember everything about your friends, family and business relationships.
https://beta.monicahq.com
GNU Affero General Public License v3.0
21.72k stars 2.18k forks source link

People.pets_undefined problem after upgrade to 2.12.0 #2433

Closed Nerothos closed 5 years ago

Nerothos commented 5 years ago

Describe the bug After upgrading to Version: 2.12.0 from the 2.11.2 I've got a weird problem with the pet list. It continue until my browser got unresponsive.

Screenshots image

Additional context I have upgraded with the following commands (with the console log) :

sudo -u www-data git pull origin master
From https://github.com/monicahq/monica
 * branch              master     -> FETCH_HEAD
Updating b329affb..52f8c67d
Fast-forward
 CHANGELOG                                                                  |   3 +-
 app/Http/Controllers/ActivitiesController.php                              |   2 +-
 app/Http/Controllers/Contacts/RelationshipsController.php                  |  12 ++---
 app/Http/Controllers/ContactsController.php                                |  12 ++---
 app/Models/Contact/Contact.php                                             |  10 ++--
 composer.json                                                              |   2 +-
 composer.lock                                                              | 411 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------
 database/migrations/2019_01_05_202748_add_foreign_key_to_reminder_rule.php |   2 +
 package.json                                                               |   2 +-
 psalm.xml                                                                  |  23 +++++++++
 public/js/app.js                                                           |   2 +-
 public/js/vendor.js                                                        |   2 +-
 public/mix-manifest.json                                                   |   4 +-
 resources/assets/js/search.js                                              |   3 +-
 yarn.lock                                                                  |   8 +--
 15 files changed, 449 insertions(+), 49 deletions(-)

monica$ sudo -u www-data  composer install --no-interaction --no-suggest --no-dev
Cannot create cache directory /var/www/.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /var/www/.composer/cache/files/, or directory is not writable. Proceeding without cache
> App\Helpers\ComposerScripts::preInstall
Loading composer repositories with package information
Installing dependencies from lock file
Package operations: 0 installs, 22 updates, 0 removals
  - Updating giggsey/libphonenumber-for-php (8.10.3 => 8.10.4): Downloading (100%)
  - Updating symfony/http-foundation (v4.2.2 => v4.2.3): Downloading (100%)
  - Updating vlucas/phpdotenv (v2.5.2 => v2.6.1): Downloading (100%)
  - Updating symfony/var-dumper (v4.2.2 => v4.2.3): Downloading (100%)
  - Updating symfony/routing (v4.2.2 => v4.2.3): Downloading (100%)
  - Updating symfony/process (v4.2.2 => v4.2.3): Downloading (100%)
  - Updating symfony/event-dispatcher (v4.2.2 => v4.2.3): Downloading (100%)
  - Updating symfony/debug (v4.2.2 => v4.2.3): Downloading (100%)
  - Updating symfony/http-kernel (v4.2.2 => v4.2.3): Downloading (100%)
  - Updating symfony/finder (v4.2.2 => v4.2.3): Downloading (100%)
  - Updating symfony/console (v4.2.2 => v4.2.3): Downloading (100%)
  - Updating opis/closure (3.1.3 => 3.1.5): Downloading (100%)
  - Updating symfony/translation (v4.2.2 => v4.2.3): Downloading (100%)
  - Updating league/flysystem (1.0.49 => 1.0.50): Downloading (100%)
  - Updating nexmo/client (1.6.0 => 1.6.2): Downloading (100%)
  - Updating laravel/framework (v5.7.20 => v5.7.26): Downloading (100%)
  - Updating laravel/passport (v7.0.5 => v7.1.0): Downloading (100%)
  - Updating laravel/socialite (v4.0.1 => v4.0.3): Downloading (100%)
  - Updating aws/aws-sdk-php (3.85.1 => 3.87.4): Downloading (100%)
  - Updating league/flysystem-aws-s3-v3 (1.0.21 => 1.0.22): Downloading (100%)
  - Updating moneyphp/money (v3.2.0 => v3.2.1): Downloading (100%)
  - Updating stripe/stripe-php (v6.28.0 => v6.29.0): Downloading (100%)
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: creativeorange/gravatar
Discovered Package: fideloper/proxy
Discovered Package: intervention/image
Discovered Package: jenssegers/date
Discovered Package: laravel/cashier
Discovered Package: laravel/nexmo-notification-channel
Discovered Package: laravel/passport
Discovered Package: laravel/slack-notification-channel
Discovered Package: laravel/socialite
Discovered Package: laravel/tinker
Discovered Package: mariuzzo/laravel-js-localization
Discovered Package: monicahq/laravel-cloudflare
Discovered Package: nesbot/carbon
Discovered Package: pragmarx/countries-laravel
Discovered Package: pragmarx/google2fa-laravel
Discovered Package: sentry/sentry-laravel
Discovered Package: stevebauman/location
Discovered Package: vinkla/hashids
Package manifest generated successfully.
> Illuminate\Foundation\ComposerScripts::postInstall

monica$ sudo -u www-data php artisan monica:update --force
✓ Maintenance mode: on
✓ Resetting application cache
✓ Clear config cache
✓ Resetting route cache
²✓ Resetting view cache
✓ Performing migrations
✓ Ping for new version
✓ Cache configuraton
✓ Maintenance mode: off
Monica v2.12.0 is set up, enjoy.

I may have the same problem with addresses (I've seen it but since it's below pet it was "pushed" below fast or it may be a display bug due to pet).

To be sure I ran the sudo -u www-data php artisan migrate but there was none to do.

asbiin commented 5 years ago

Not enough information to reproduce this.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.