Bottelet / DaybydayCRM

DaybydayCRM an open-source CRM, to help you keep track of your daily workflow.
https://daybydaycrm.com
2.24k stars 753 forks source link

Install issue #319

Open ptaylor2 opened 1 year ago

ptaylor2 commented 1 year ago

Hello

I am trying to install Bottelet and on Ubuntu 20.x and I am having this issue. How can I fix it please?

php artisan migrate --seed Migration table created successfully. Migrating: 2014_10_12_000000_create_users_table Migrated: 2014_10_12_000000_create_users_table (1.53 seconds) Migrating: 2014_10_12_100000_create_password_resets_table Migrated: 2014_10_12_100000_create_password_resets_table (1.26 seconds) Migrating: 2015_06_04_124835_create_industries_table Migrated: 2015_06_04_124835_create_industries_table (0.45 seconds) Migrating: 2015_10_15_143830_create_status_table Migrated: 2015_10_15_143830_create_status_table (0.46 seconds) Migrating: 2015_12_28_163028_create_clients_table Migrated: 2015_12_28_163028_create_clients_table (3.19 seconds) Migrating: 2015_12_29_154026_create_invocies_table Migrated: 2015_12_29_154026_create_invocies_table (1.81 seconds) Migrating: 2015_12_29_204031_projects_table Migrated: 2015_12_29_204031_projects_table (8.1 seconds) Migrating: 2015_12_29_204031_tasks_table Migrated: 2015_12_29_204031_tasks_table (10.08 seconds) Migrating: 2016_01_10_204413_create_comments_table Migrated: 2016_01_10_204413_create_comments_table (2.19 seconds) Migrating: 2016_01_18_113656_create_leads_table Migrated: 2016_01_18_113656_create_leads_table (7.61 seconds) Migrating: 2016_01_23_144854_settings Migrated: 2016_01_23_144854_settings (0.79 seconds) Migrating: 2016_01_26_003903_documents Migrated: 2016_01_26_003903_documents (1.14 seconds) Migrating: 2016_01_31_211926_invoice_lines_table Migrated: 2016_01_31_211926_invoice_lines_table (2.33 seconds) Migrating: 2016_03_21_171847_create_department_table Migrated: 2016_03_21_171847_create_department_table (0.72 seconds) Migrating: 2016_03_21_172416_create_department_user_table Migrated: 2016_03_21_172416_create_department_user_table (3.25 seconds) Migrating: 2016_04_06_230504_integrations Migrated: 2016_04_06_230504_integrations (0.78 seconds) Migrating: 2016_05_21_205532_create_activities_table Migrated: 2016_05_21_205532_create_activities_table (0.63 seconds) Migrating: 2016_08_26_205017_entrust_setup_tables Migrated: 2016_08_26_205017_entrust_setup_tables (11.41 seconds) Migrating: 2016_11_04_200855_create_notifications_table Migrated: 2016_11_04_200855_create_notifications_table (2.29 seconds) Migrating: 2017_10_28_131549_create_contacts_table Migrated: 2017_10_28_131549_create_contacts_table (2.18 seconds) Migrating: 2019_05_03_000001_create_customer_columns Migrated: 2019_05_03_000001_create_customer_columns (1.13 seconds) Migrating: 2019_05_03_000002_create_subscriptions_table Migrated: 2019_05_03_000002_create_subscriptions_table (1.15 seconds) Migrating: 2019_11_29_092917_add_vat_and_currency Migrated: 2019_11_29_092917_add_vat_and_currency (0.33 seconds) Migrating: 2019_11_29_111929_add_invoice_number_to_invoice Migrated: 2019_11_29_111929_add_invoice_number_to_invoice (0.85 seconds) Migrating: 2019_12_09_201950_create_mails_table Migrated: 2019_12_09_201950_create_mails_table (2.26 seconds) Migrating: 2019_12_19_200049_add_billing_integration_id_to_invoices Migrated: 2019_12_19_200049_add_billing_integration_id_to_invoices (0.54 seconds) Migrating: 2020_01_06_203615_create_payments_table Migrated: 2020_01_06_203615_create_payments_table (2.88 seconds) Migrating: 2020_01_10_120239_create_credit_notes_table Migrated: 2020_01_10_120239_create_credit_notes_table (0 seconds) Migrating: 2020_01_10_121248_create_credit_lines_table Migrated: 2020_01_10_121248_create_credit_lines_table (0 seconds) Migrating: 2020_01_28_195156_add_language_options Migrated: 2020_01_28_195156_add_language_options (3.55 seconds) Migrating: 2020_02_20_192015_alter_leads_table_support_qualified Migrated: 2020_02_20_192015_alter_leads_table_support_qualified (2.66 seconds) Migrating: 2020_03_30_163030_create_appointments_table Migrated: 2020_03_30_163030_create_appointments_table (5.06 seconds) Migrating: 2020_04_06_075838_create_business_hours_table Migrated: 2020_04_06_075838_create_business_hours_table (2.18 seconds) Migrating: 2020_04_08_070242_create_absences_table Migrated: 2020_04_08_070242_create_absences_table (2.49 seconds) Migrating: 2020_05_09_113503_add_cascading_for_tables Migrated: 2020_05_09_113503_add_cascading_for_tables (8.85 seconds) Migrating: 2020_09_29_173256_add_soft_delete_to_tables Migrated: 2020_09_29_173256_add_soft_delete_to_tables (0.67 seconds) Migrating: 2021_01_09_102659_add_cascading_for_appointments Migrated: 2021_01_09_102659_add_cascading_for_appointments (2.17 seconds) Migrating: 2021_02_10_153102_create_offers_table Migrated: 2021_02_10_153102_create_offers_table (2.47 seconds) Migrating: 2021_02_11_161257_alter_invoices_table_add_source Migrated: 2021_02_11_161257_alter_invoices_table_add_source (12 seconds) Migrating: 2021_02_11_162602_create_products_table Migrated: 2021_02_11_162602_create_products_table (0.98 seconds) Migrating: 2021_03_02_132033_alter_comments_table_add_long_text Migrated: 2021_03_02_132033_alter_comments_table_add_long_text (1.69 seconds) Seeding: StatusTableSeeder Seeded: StatusTableSeeder (1.6 seconds) Seeding: UsersTableSeeder Seeded: UsersTableSeeder (0.15 seconds) Seeding: IndustriesTableSeeder Seeded: IndustriesTableSeeder (0.08 seconds) Seeding: DepartmentsTableSeeder Seeded: DepartmentsTableSeeder (0.19 seconds) Seeding: SettingsTableSeeder Seeded: SettingsTableSeeder (0.97 seconds) Seeding: PermissionsTableSeeder Seeded: PermissionsTableSeeder (3 seconds) Seeding: RolesTablesSeeder Seeded: RolesTablesSeeder (0.53 seconds) Seeding: RolePermissionTableSeeder Seeded: RolePermissionTableSeeder (8.1 seconds) Seeding: UserRoleTableSeeder Seeded: UserRoleTableSeeder (0.09 seconds) Database seeding completed successfully. apps:/var/www/apps.professionalsoftwaredevelopment.com/projectmanager# php artisan key:generate Application key set successfully. apps:/var/www/apps.professionalsoftwaredevelopment.com/projectmanager# npm install npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x. npm WARN deprecated stable@0.1.8: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated source-map-url@0.4.0: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated debug@3.2.6: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated chokidar@2.1.8: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN deprecated uuid@3.3.3: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated source-map-resolve@0.5.2: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated mkdirp@0.5.1: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated axios@0.18.1: Critical security vulnerability fixed in v0.21.1. For more information, see https://github.com/axios/axios/pull/3410 npm WARN deprecated buffer@4.9.1: This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer npm WARN deprecated svgo@1.3.0: This SVGO version is no longer supported. Upgrade to v2.x.x. npm WARN deprecated core-js@2.6.10: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.

added 1070 packages, and audited 1071 packages in 20s

1 package is looking for funding run npm fund for details

62 vulnerabilities (23 moderate, 32 high, 7 critical)

To address issues that do not require attention, run: npm audit fix

To address all issues (including breaking changes), run: npm audit fix --force

Run npm audit for details.

npm audit fix --force

npm audit fix --force

Run npm audit for details. apps:/var/www/apps.professionalsoftwaredevelopment.com/projectmanager# npm audit fix --force npm WARN using --force Recommended protections disabled. npm WARN audit fix minimatch@3.0.4 node_modules/fsevents/node_modules/minimatch npm WARN audit fix minimatch@3.0.4 is a bundled dependency of npm WARN audit fix minimatch@3.0.4 fsevents@1.2.9 at node_modules/fsevents npm WARN audit fix minimatch@3.0.4 It cannot be fixed automatically. npm WARN audit fix minimatch@3.0.4 Check for updates to the fsevents package. npm WARN audit fix minimist@1.2.0 node_modules/fsevents/node_modules/rc/node_modules/minimist npm WARN audit fix minimist@1.2.0 is a bundled dependency of npm WARN audit fix minimist@1.2.0 fsevents@1.2.9 at node_modules/fsevents npm WARN audit fix minimist@1.2.0 It cannot be fixed automatically. npm WARN audit fix minimist@1.2.0 Check for updates to the fsevents package. npm WARN audit fix minimist@0.0.8 node_modules/fsevents/node_modules/minimist npm WARN audit fix minimist@0.0.8 is a bundled dependency of npm WARN audit fix minimist@0.0.8 fsevents@1.2.9 at node_modules/fsevents npm WARN audit fix minimist@0.0.8 It cannot be fixed automatically. npm WARN audit fix minimist@0.0.8 Check for updates to the fsevents package. npm WARN audit fix tar@4.4.8 node_modules/fsevents/node_modules/tar npm WARN audit fix tar@4.4.8 is a bundled dependency of npm WARN audit fix tar@4.4.8 fsevents@1.2.9 at node_modules/fsevents npm WARN audit fix tar@4.4.8 It cannot be fixed automatically. npm WARN audit fix tar@4.4.8 Check for updates to the fsevents package. npm WARN audit fix mkdirp@0.5.1 node_modules/fsevents/node_modules/mkdirp npm WARN audit fix mkdirp@0.5.1 is a bundled dependency of npm WARN audit fix mkdirp@0.5.1 fsevents@1.2.9 at node_modules/fsevents npm WARN audit fix mkdirp@0.5.1 It cannot be fixed automatically. npm WARN audit fix mkdirp@0.5.1 Check for updates to the fsevents package. npm WARN audit Updating axios to 1.1.3, which is a SemVer major change. npm WARN audit Updating laravel-mix to 6.0.49, which is a SemVer major change.

added 346 packages, removed 285 packages, changed 359 packages, and audited 1131 packages in 18s

86 packages are looking for funding run npm fund for details

npm audit report

glob-parent <5.1.2 Severity: high glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex - https://github.com/advisories/GHSA-ww39-953v-wcq6 fix available via npm audit fix node_modules/glob-parent chokidar 1.0.0-rc1 - 2.1.8 Depends on vulnerable versions of glob-parent node_modules/chokidar watchpack 0.2.2 - 1.6.1 Depends on vulnerable versions of chokidar node_modules/watchpack

loader-utils <=1.4.1 Severity: critical Prototype pollution in webpack loader-utils - https://github.com/advisories/GHSA-76p3-8jx3-jpfq loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS) via url variable - https://github.com/advisories/GHSA-3rfm-jhwj-7488 loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS) - https://github.com/advisories/GHSA-hhq3-ff78-jv3g fix available via npm audit fix --force Will install resolve-url-loader@5.0.0, which is a breaking change node_modules/loader-utils resolve-url-loader 1.0.3 - 2.0.0 || 3.0.1 - 4.0.0-beta.2 Depends on vulnerable versions of loader-utils node_modules/resolve-url-loader

minimatch <3.0.5 Severity: high minimatch ReDoS vulnerability - https://github.com/advisories/GHSA-f8q6-p94x-37v3 fix available via npm audit fix node_modules/minimatch

minimist <=1.2.5 Severity: critical Prototype Pollution in minimist - https://github.com/advisories/GHSA-xvch-5gv4-984h Prototype Pollution in minimist - https://github.com/advisories/GHSA-vh95-rmgr-6w4m Prototype Pollution in minimist - https://github.com/advisories/GHSA-vh95-rmgr-6w4m fix available via npm audit fix node_modules/minimist node_modules/rc/node_modules/minimist mkdirp 0.4.1 - 0.5.1 Depends on vulnerable versions of minimist node_modules/mkdirp

tar <=4.4.17 Severity: high Arbitrary File Creation/Overwrite on Windows via insufficient relative path sanitization - https://github.com/advisories/GHSA-5955-9wpr-37jh Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links - https://github.com/advisories/GHSA-qq89-hq3f-393p Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links - https://github.com/advisories/GHSA-9r2w-394v-53qc Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization - https://github.com/advisories/GHSA-3jfq-g458-7qm9 Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning - https://github.com/advisories/GHSA-r628-mhmh-qjhw fix available via npm audit fix node_modules/tar

9 vulnerabilities (1 moderate, 5 high, 3 critical)

To address issues that do not require attention, run: npm audit fix

To address all issues (including breaking changes), run: npm audit fix --force

npm audit report

glob-parent <5.1.2 Severity: high glob-parent before 5.1.2 vulnerable to Regular Expression Denial of Service in enclosure regex - https://github.com/advisories/GHSA-ww39-953v-wcq6 fix available via npm audit fix node_modules/watchpack-chokidar2/node_modules/glob-parent chokidar 1.0.0-rc1 - 2.1.8 Depends on vulnerable versions of glob-parent node_modules/watchpack-chokidar2/node_modules/chokidar watchpack-chokidar2 * Depends on vulnerable versions of chokidar node_modules/watchpack-chokidar2 watchpack 1.7.2 - 1.7.5 Depends on vulnerable versions of watchpack-chokidar2 node_modules/watchpack

4 high severity vulnerabilities

To address all issues, run: npm audit fix

apps:/var/www/apps.professionalsoftwaredevelopment.com/projectmanager# npm run dev

dev node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

[webpack-cli] Error: Unknown option '--hide-modules' [webpack-cli] Run 'webpack --help' to see available commands and options apps:/var/www/apps.professionalsoftwaredevelopment.com/projectmanager# npm run dev

dev node node_modules/cross-env/dist/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js

[webpack-cli] Error: Unknown option '--hide-modules' [webpack-cli] Run 'webpack --help' to see available commands and options apps:/var/www/apps.professionalsoftwaredevelopment.com/projectmanager#