Closed josecelano closed 1 month ago
@josecelano either there was a error or warning during installer or this was a race condition. I'm not able to replicate. However can you confirm the table is actually there in MySQL or simply by trying to view torrents page and trying to upload a torrent. If that all works then this error can be ignored and was simply a race condition during install.
@josecelano either there was a error or warning during installer or this was a race condition. I'm not able to replicate. However can you confirm the table is actually there in MySQL or simply by trying to view torrents page and trying to upload a torrent. If that all works then this error can be ignored and was simply a race condition during install.
The table is there:
mysql> desc torrents;
+------------------+-------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+------------------+-------------------+------+-----+---------+----------------+
| id | int unsigned | NO | PRI | NULL | auto_increment |
| name | varchar(255) | NO | MUL | NULL | |
| description | text | NO | | NULL | |
| mediainfo | text | YES | | NULL | |
| bdinfo | longtext | YES | | NULL | |
| file_name | varchar(255) | NO | | NULL | |
| num_file | int | NO | | NULL | |
| folder | varchar(255) | YES | | NULL | |
| size | double | NO | | NULL | |
| nfo | blob | YES | | NULL | |
| leechers | int | NO | MUL | 0 | |
| seeders | int | NO | MUL | 0 | |
| times_completed | int | NO | | 0 | |
| category_id | int | YES | MUL | NULL | |
| user_id | int unsigned | NO | MUL | NULL | |
| imdb | int unsigned | NO | MUL | 0 | |
| tvdb | int unsigned | NO | MUL | 0 | |
| tmdb | int unsigned | NO | MUL | 0 | |
| mal | int unsigned | NO | MUL | 0 | |
| igdb | varchar(255) | NO | MUL | 0 | |
| season_number | int | YES | MUL | NULL | |
| episode_number | int | YES | MUL | NULL | |
| stream | tinyint(1) | NO | | 0 | |
| free | smallint | NO | | 0 | |
| doubleup | tinyint(1) | NO | | 0 | |
| refundable | tinyint(1) | NO | | 0 | |
| highspeed | tinyint(1) | NO | | 0 | |
| featured | tinyint(1) | NO | | 0 | |
| status | smallint | NO | MUL | 0 | |
| moderated_at | datetime | YES | | NULL | |
| moderated_by | int | YES | MUL | NULL | |
| anon | smallint | NO | | 0 | |
| sticky | smallint | NO | MUL | 0 | |
| sd | tinyint(1) | NO | | 0 | |
| internal | tinyint(1) | NO | | 0 | |
| created_at | timestamp | YES | MUL | NULL | |
| updated_at | timestamp | YES | | NULL | |
| bumped_at | datetime | YES | MUL | NULL | |
| fl_until | datetime | YES | MUL | NULL | |
| du_until | datetime | YES | | NULL | |
| release_year | smallint unsigned | YES | MUL | NULL | |
| type_id | int | NO | MUL | NULL | |
| resolution_id | int | YES | MUL | NULL | |
| distributor_id | int | YES | MUL | NULL | |
| region_id | int | YES | MUL | NULL | |
| personal_release | int | NO | MUL | 0 | |
| balance | bigint | YES | | NULL | |
| balance_offset | bigint | YES | | NULL | |
| info_hash | binary(20) | NO | MUL | NULL | |
+------------------+-------------------+------+-----+---------+----------------+
49 rows in set (0.00 sec)
And I was able to upload a torrent. If you want more logs, just let me know.
UNIT3D Version
8.1.3
PHP & Platform
8.3.10 - Ubuntu 22.04
Laravel verion
11.5.0
Have you done this?
Expectation
I would expect the logs to be clean.
Description
I've just installed the application with a clean installation in a new server from scratch using the installer: https://github.com/HDInnovations/UNIT3D-Installer
OS: Linux PHP: 8.3.10 Database: 8.0.39-0ubuntu0.22.04.1 Laravel: 11.5.0 UNIT3D Community Edition: v8.1.3
The Laravel log contains this error:
Stack trace & logs
Upvote & Fund