Current Behavior
I tried to figure out, which files are unused and to clean up Flarum with the commands, which were mentioned here.
But the map command failed and it showed weird table names with double prefix ("flafla").
In Connection.php line 712:
SQLSTATE[42S02]: Base table or view not found: 1051 Unknown table 'flarum_forum.fla_fla_fof_upload_files' (SQL: select `fla_fla_fof_upload_files`.*, group_concat(distinct posts.id) as matched_post_ids from `
fla_fof_upload_files` left join `fla_posts` on `fla_fla_fof_upload_files`.`actor_id` = `fla_posts`.`user_id` and `fla_posts`.`content` like CONCAT('%', fla_fof_upload_files.url, '%') group by `fla_fla_fof_up
load_files`.`id` order by `fla_fla_fof_upload_files`.`id` asc limit 1000 offset 0)
In Exception.php line 18:
SQLSTATE[42S02]: Base table or view not found: 1051 Unknown table 'flarum_forum.fla_fla_fof_upload_files'
In PDOConnection.php line 82:
SQLSTATE[42S02]: Base table or view not found: 1051 Unknown table 'flarum_forum.fla_fla_fof_upload_files'
fof:upload [--map] [--cleanup] [--cleanup-before [CLEANUP-BEFORE]] [--force]
I've checked the database and flarum_forum.fla_fla_fof_upload_files doesn't exist, but flarum_forum.fla_fof_upload_files does.
I remember to set "fla_" as a database prefix while installation.
Steps to Reproduce
Navigate to the root directory of your Flarum installation (e.g. cd /var/www/flarum)
Bug Report
Current Behavior I tried to figure out, which files are unused and to clean up Flarum with the commands, which were mentioned here.
But the map command failed and it showed weird table names with double prefix ("flafla").
I've checked the database and flarum_forum.fla_fla_fof_upload_files doesn't exist, but flarum_forum.fla_fof_upload_files does.
I remember to set "fla_" as a database prefix while installation.
Steps to Reproduce
cd /var/www/flarum
)php flarum fof:upload --map
Expected Behavior Show a map of all used media.
Screenshots