This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| computing:pix3lfed [2026/03/01 19:13] – oemb1905 | computing:pix3lfed [2026/03/02 02:17] (current) – oemb1905 | ||
|---|---|---|---|
| Line 160: | Line 160: | ||
| sudo -u www-data php artisan view:cache | sudo -u www-data php artisan view:cache | ||
| sudo -u www-data php artisan optimize | sudo -u www-data php artisan optimize | ||
| + | sudo -u www-data php artisan instance: | ||
| + | sudo -u www-data php artisan import: | ||
| === Step 4: Additional Apache Tweaks === | === Step 4: Additional Apache Tweaks === | ||
| Line 180: | Line 182: | ||
| < | < | ||
| Options Indexes FollowSymLinks | Options Indexes FollowSymLinks | ||
| - | AllowOverride | + | AllowOverride All ### NOTE " |
| Require all granted | Require all granted | ||
| </ | </ | ||
| Line 240: | Line 242: | ||
| === Step 6: User Creation & Instance Management === | === Step 6: User Creation & Instance Management === | ||
| + | |||
| + | Let's create the admin user: | ||
| cd / | cd / | ||
| Line 293: | Line 297: | ||
| This little script just helps me refresh everything if/when changes or adjustments need to be made. Once the instance gets approved and/or I have resolved the well-known federation and/or discovery stuff, I will post an update. Thanks all and happy hacking !! | This little script just helps me refresh everything if/when changes or adjustments need to be made. Once the instance gets approved and/or I have resolved the well-known federation and/or discovery stuff, I will post an update. Thanks all and happy hacking !! | ||
| - | --- // | + | ------------------------------------------- |
| + | |||
| + | === Debugging, Miscellaneous, | ||
| + | From here forward, I post miscellaneous debugging. To fix images in DMs failing, as per github #5217, #5365, #5496, I edited the db to accept wrongly submitted null values from the bad DM code: | ||
| + | |||
| + | mysql -u root -p | ||
| + | USE pixel; | ||
| + | ALTER TABLE statuses MODIFY COLUMN caption TEXT NULL; | ||
| + | EXIT; | ||
| + | |||
| + | This solves the issue and allows users to upload images inside their DMS. Here are the issues that helped me fix this: | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | I'm having an issue where the sql of the instance wrongly uses 19 for the re-issuance of the new client registration. Since this conflicts with 19 being used by the default personal client, it fails. After repeatedly messing with auto-increment according to github iALTER TABLE oauth_clients DROP PRIMARY KEY;ssues and seeing it fail once the keys and passport were re-initialized, | ||
| + | |||
| + | ALTER TABLE oauth_clients MODIFY id INT NOT NULL; | ||
| + | ALTER TABLE oauth_clients DROP PRIMARY KEY; | ||
| + | ALTER TABLE oauth_clients MODIFY id VARCHAR(255) NOT NULL; | ||
| + | ALTER TABLE oauth_clients ADD PRIMARY KEY (id); | ||
| + | DESCRIBE oauth_clients; | ||
| + | EXIT; | ||
| + | cd / | ||
| + | sudo -u www-data php artisan passport: | ||
| + | sudo -u www-data php artisan passport: | ||
| + | sudo / | ||
| + | |||
| + | Once I did this, the '' | ||
| + | |||
| + | --- // | ||