Closed bitappend closed 6 months ago
The site was working working at launch but each progressive day the site started to feel more glitchy. still experiencing the chatbox issue i commented on the other day.
was hoping the update for php and unti3d would help php update seemed ok wihtout issue. however
7.2.0 update did this:
Upgrading to version 2.6.6 (stable channel).
composer install --prefer-dist --no-dev -o [============================] (Done!)
INFO Discovering packages.
assada/laravel-achievements ........................................... DONE hdvinnie/laravel-html-purifier ........................................ DONE hdvinnie/laravel-joypixel-emojis ...................................... DONE hdvinnie/laravel-security-headers ..................................... DONE intervention/image .................................................... DONE laravel/fortify ....................................................... DONE laravel/tinker ........................................................ DONE livewire/livewire ..................................................... DONE marcreichel/igdb-laravel .............................................. DONE nesbot/carbon ......................................................... DONE nunomaduro/termwind ................................................... DONE spatie/laravel-backup ................................................. DONE spatie/laravel-cookie-consent ......................................... DONE spatie/laravel-image-optimizer ........................................ DONE spatie/laravel-signal-aware-command ................................... DONE
INFO Publishing [livewire:assets] assets.
Copying directory [vendor/livewire/livewire/dist] to [public/vendor/livewire] DONE
INFO Publishing [public] assets.
Copying directory [vendor/joypixels/assets/png] to [public/vendor/joypixels/png] DONE
Setting Cache==================================================
INFO Caching the framework bootstrap files.
config ...................................................................................... 11ms FAIL PHP Fatal error: Uncaught ErrorException: include(/var/www/html/vendor/composer/../nunomaduro/collision/src/Adapters/Laravel/IgnitionSolutionsRepository.php): Failed to open stream: No such file or directory in /var/www/html/vendor/composer/ClassLoader.php:576 Stack trace:
thrown in /var/www/html/vendor/composer/ClassLoader.php on line 576 PHP Fatal error: Uncaught ErrorException: include(/var/www/html/vendor/composer/../nunomaduro/collision/src/Adapters/Laravel/IgnitionSolutionsRepository.php): Failed to open stream: No such file or directory in /var/www/html/vendor/composer/ClassLoader.php:576 Stack trace:
thrown in /var/www/html/vendor/composer/ClassLoader.php on line 576
my gut says something is broken for some reason and this is just one symptom.
would love a suggestions on how to get hte site back up and running. all the torrents stopped working (before we tried doing the upgrade)
Run
php artisan migrate && sudo rm -rf node_modules && sudo npm cache clean --force && sudo npm install && sudo npx mix -p && php artisan optimize:clear && composer self-update && composer install && composer dump-autoload -o && php artisan optimize && sudo chown -R www-data: storage bootstrap public config && sudo find . -type d -exec chmod 0775 '{}' + -or -type f -exec chmod 0644 '{}' + && php artisan queue:restart && sudo supervisorctl reread && sudo supervisorctl update && sudo supervisorctl reload && sudo systemctl restart php8.3-fpm
To make sure everything is good after you updated.
sudo php artisan migrate && sudo rm -rf node_modules && sudo npm cache clean --force && sudo npm install && sudo npx mix -p && php artisan optimize:clear && composer self-update && composer install && composer dump-autoload -o && php artisan optimize && sudo chown -R www-data: storage bootstrap public config && sudo find . -type d -exec chmod 0775 '{}' + -or -type f -exec chmod 0644 '{}' + && php artisan queue:restart && sudo supervisorctl reread && sudo supervisorctl update && sudo supervisorctl reload && sudo systemctl restart php8.3-fpm
INFO Nothing to migrate.
npm WARN using --force Recommended protections disabled. 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 har-validator@5.1.5: this library is no longer supported npm WARN deprecated consolidate@0.15.1: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog npm WARN deprecated @babel/plugin-proposal-object-rest-spread@7.20.7: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-object-rest-spread instead. 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 uuid@3.4.0: 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 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 request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 939 packages, and audited 940 packages in 22s
95 packages are looking for funding
run npm fund
for details
12 vulnerabilities (1 low, 11 moderate)
To address issues that do not require attention, run: npm audit fix
To address all issues possible (including breaking changes), run: npm audit fix --force
Some issues need review, and may require choosing a different dependency.
Run npm audit
for details.
● Mix █████████████████████████ done (99%) plugins BuildCallbackPlugin
Laravel Mix v6.0.49
✔ Compiled Successfully in 35948ms ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬───────────┐ │ File │ Size │ ├─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼───────────┤ │ /fonts/font-awesome/fa-brands-400.eot │ 134 KiB │ │ /fonts/font-awesome/fa-brands-400.svg │ 724 KiB │ │ /fonts/font-awesome/fa-brands-400.ttf │ 185 KiB │ │ /fonts/font-awesome/fa-brands-400.woff │ 90 KiB │ │ /fonts/font-awesome/fa-brands-400.woff2 │ 106 KiB │ │ /fonts/font-awesome/fa-duotone-900.eot │ 554 KiB │ │ /fonts/font-awesome/fa-duotone-900.svg │ 2.49 MiB │
● Mix █████████████████████████ done (99%) plugins WebpackBar:done
Laravel Mix v6.0.49
✔ Compiled Successfully in 35948ms ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬───────────┐ │ File │ Size │ ├─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼───────────┤ │ /fonts/font-awesome/fa-brands-400.eot │ 134 KiB │ │ /fonts/font-awesome/fa-brands-400.svg │ 724 KiB │ │ /fonts/font-awesome/fa-brands-400.ttf │ 185 KiB │ │ /fonts/font-awesome/fa-brands-400.woff │ 90 KiB │ │ /fonts/font-awesome/fa-brands-400.woff2 │ 106 KiB │ │ /fonts/font-awesome/fa-duotone-900.eot │ 554 KiB │ │ /fonts/font-awesome/fa-duotone-900.svg │ 2.49 MiB │
✔ Mix Compiled successfully in 40.94s
Laravel Mix v6.0.49
✔ Compiled Successfully in 35948ms ┌─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬───────────┐ │ File │ Size │ ├─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼───────────┤ │ /fonts/font-awesome/fa-brands-400.eot │ 134 KiB │ │ /fonts/font-awesome/fa-brands-400.svg │ 724 KiB │ │ /fonts/font-awesome/fa-brands-400.ttf │ 185 KiB │ │ /fonts/font-awesome/fa-brands-400.woff │ 90 KiB │ │ /fonts/font-awesome/fa-brands-400.woff2 │ 106 KiB │ │ /fonts/font-awesome/fa-duotone-900.eot │ 554 KiB │ │ /fonts/font-awesome/fa-duotone-900.svg │ 2.49 MiB │ │ /fonts/font-awesome/fa-duotone-900.ttf │ 1.2 MiB │ │ /fonts/font-awesome/fa-duotone-900.woff │ 259 KiB │ │ /fonts/font-awesome/fa-duotone-900.woff2 │ 405 KiB │ │ /fonts/font-awesome/fa-light-300.eot │ 482 KiB │ │ /fonts/font-awesome/fa-light-300.svg │ 2.31 MiB │ │ /fonts/font-awesome/fa-light-300.ttf │ 1.1 MiB │ │ /fonts/font-awesome/fa-light-300.woff │ 246 KiB │ │ /fonts/font-awesome/fa-light-300.woff2 │ 420 KiB │ │ /fonts/font-awesome/fa-regular-400.eot │ 444 KiB │ │ /fonts/font-awesome/fa-regular-400.svg │ 2.06 MiB │ │ /fonts/font-awesome/fa-regular-400.ttf │ 1010 KiB │ │ /fonts/font-awesome/fa-regular-400.woff │ 225 KiB │ │ /fonts/font-awesome/fa-regular-400.woff2 │ 388 KiB │ │ /fonts/font-awesome/fa-solid-900.eot │ 379 KiB │ │ /fonts/font-awesome/fa-solid-900.svg │ 1.68 MiB │ │ /fonts/font-awesome/fa-solid-900.ttf │ 882 KiB │ │ /fonts/font-awesome/fa-solid-900.woff │ 184 KiB │ │ /fonts/font-awesome/fa-solid-900.woff2 │ 318 KiB │ │ /fonts/font-awesome/fa-thin-100.ttf │ 1.21 MiB │ │ /fonts/font-awesome/fa-thin-100.woff2 │ 454 KiB │ │ /fonts/font-awesome/fa-v4compatibility.ttf │ 9.93 KiB │ │ /fonts/font-awesome/fa-v4compatibility.woff2 │ 4.46 KiB │ │ /js/alpine.js │ 41.9 KiB │ │ /js/app.js │ 311 KiB │ │ /js/app.js.LICENSE.txt │ 424 bytes │ │ /js/chat.js │ 101 KiB │ │ /js/chat.js.LICENSE.txt │ 274 bytes │ │ /js/imgbb.js │ 12.1 KiB │ │ /js/unit3d.js │ 54.2 KiB │ │ /js/virtual-select.js │ 66.8 KiB │ │ /js/virtual-select.js.LICENSE.txt │ 168 bytes │ │ css/app.css │ 666 KiB │ │ css/main/login.css │ 4.08 KiB │ │ css/themes/cosmic-void.css │ 10.5 KiB │ │ css/themes/dark-blue.css │ 2.28 KiB │ │ css/themes/dark-green.css │ 2.28 KiB │ │ css/themes/dark-pink.css │ 2.28 KiB │ │ css/themes/dark-purple.css │ 2.28 KiB │ │ css/themes/dark-red.css │ 2.28 KiB │ │ css/themes/dark-teal.css │ 2.28 KiB │ │ css/themes/dark-yellow.css │ 2.28 KiB │ │ css/themes/galactic.css │ 14.7 KiB │ │ css/themes/material-design-v3-amoled.css │ 13.2 KiB │ │ css/themes/material-design-v3-dark.css │ 13.1 KiB │ │ css/themes/material-design-v3-light.css │ 12.6 KiB │ │ css/themes/nord.css │ 12 KiB │ │ css/themes/revel.css │ 21.1 KiB │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴───────────┘ 4 WARNINGS in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details) webpack compiled with 4 warnings Could not open input file: artisan
Error 500 still showing up. i did a artisan down and up manually too other glitches stil there. good note is i think* seeding is workign again.
The command I said to ran wasn't related to this issue. Was more just to make sure your instance was proper.
Regarding chat I already responded here and you have still yet to provide and browser console errors on home page with chat. https://github.com/HDInnovations/UNIT3D-Community-Edition/issues/2083#issuecomment-1874154455
Regarding THIS issue this would only happen if you manually deleted a user group from the database.
php artisan tinker
$users = User::whereDoesntHave('group')->count();
What does the above return.
Psy Shell v0.11.22 (PHP 8.3.1 — cli) by Justin Hileman
$users = User::whereDoesntHave('group')->count(); [!] Aliasing 'User' to 'App\Models\User' for this Tinker session. = 0
while i have not manually deleted a user group i may have manually deleted user. related?
that could do it...always best to use site functions so relations are handled properly and not meddle in db manually.
In tinker what does this return.
$auths = FailedLoginAttempt::whereDoesntHave('user')->count();
$auths = FailedLoginAttempt::whereDoesntHave('user')->count(); [!] Aliasing 'FailedLoginAttempt' to 'App\Models\FailedLoginAttempt' for this Tinker session. = 3
$auths = FailedLoginAttempt::whereDoesntHave('user')->get();
foreach($auths as $auth) { $auth->delete(); }
Should fix your error.
seems to have cleared that up. could this by why only 1 user (the owner) is able to seed torrents?
No and from what I see thats not the case. https://your-domain.com/torrents/1038
Im closing this issue as resolved.
that one is seeded by user #1 owner and by direct upload to the api.
that one is seeded by user #1 owner and by direct upload to the api.
No its clearly being seeded by 3 user accounts. Sure it was uploaded by one account but three are actively seeding it.
.https://your-domain.com/torrents/1038/peers
Anyway this is unrelated to your original issue here so please dont clutter it with other topics.
If you need other support then use the discord if sponsor for realtime support. Otherwise open a different discussion and devs will get to it when they can as sponsors take priority.
UNIT3D Version
v7.2.0
PHP & Platform
php8.3.1 8.0.35-0ubuntu0.22.04.1
Laravel verion
10.37.3
Have you done this?
Expectation
when i click on page 2 or next page i expect it to go to page 2.
possibly unrelated all torrents are no longer sharing.
Description
noticing other pages giving an internal server 500 error
Stack trace & logs
Are you a UNIT3D sponsor?
No, don't give priority to this
Upvote & Fund