I was trying to install the format plugin, however I placed the code in the wrong spot and when I rebuilt and loaded the site the plugin wasn’t initializing. So I figured out the mistake, removed it…and it said there was an error on a line. So I found the error on the line and ran it through yamllint, matched up, removed the plugin…but now rebuild work. It keeps giving a persistent error, and while I can load the front page of the site I cannot load any topics, or anything else.
This is from the rebuild and the doctor
Summary
FAILED
--------------------
NoMethodError: undefined method `each' for nil:NilClass
Location of failure: /pups/lib/pups/config.rb:99:in `run_commands'
dfd33a9a3be65ddb9a1fd19c19e5034a44c39f46e330ccdf0533f4f66d7d0005
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
root:/var/discourse# ./discourse-doctor
DISCOURSE DOCTOR Thu Jul 16 07:53:05 UTC 2020
OS: Linux itsbx 4.15.0-99-generic #100-Ubuntu SMP Wed Apr 22 20:32:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
==================== SERIOUS PROBLEM!!!! ====================
app not running!
Attempting to rebuild
==================== REBUILD LOG ====================
Ensuring launcher is up to date
Fetching origin
Launcher is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 60 app
app
cd /pups && git pull && /pups/bin/pups --stdin
Already up to date.
I, [2020-07-16T07:53:23.985444 #1] INFO -- : Loading --stdin
FAILED
--------------------
NoMethodError: undefined method `each' for nil:NilClass
Location of failure: /pups/lib/pups/config.rb:99:in `run_commands'
2386f66f76d9c9ffbbcd02bfad9e0530683714d433bff8d70976cae6c4b8fc86
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.
==================== END REBUILD LOG ====================
Failed to rebuild app.
Checking your domain name . . .
Connection to yoursite succeeded.
You should probably remove any non-standard plugins and rebuild.
Attempting to restart existing container. . .
starting up existing container
+ /usr/bin/docker start app
Error response from daemon: driver failed programming external connectivity on endpoint app (39c7d5a80e10058bc952825fccd073af0f2ff12857895aa1046a6615d879a5a0): Error starting userland proxy: listen tcp 0.0.0.0:443: bind: address already in use
Error: failed to start containers: app
Failed to restart the container.
==================== PLUGINS ====================
- git clone github.com/discourse/docker_manager.git
No non-official plugins detected.
See thub.com/discourse/discourse/blob/master/lib/plugin/metadata.rb for the official list.
========================================
**Discourse version at myhost: NOT FOUND**
**Discourse version at localhost: NOT FOUND**
==================== MEMORY INFORMATION ====================
RAM (MB): 2041
total used free shared buff/cache available
Mem: 1993 144 1237 0 611 1677
Swap: 2047 76 1971
==================== DISK SPACE CHECK ====================
---------- OS Disk Space ----------
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 49G 11G 38G 22% /
==================== DISK INFORMATION ====================
Disk /dev/vda: 50 GiB, 53687091200 bytes, 104857600 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 3980448C-AF15-4833-A022-C759F0D2D80A
Device Start End Sectors Size Type
/dev/vda1 227328 104857566 104630239 49.9G Linux filesystem
/dev/vda14 2048 10239 8192 4M BIOS boot
/dev/vda15 10240 227327 217088 106M Microsoft basic data
Partition table entries are not in disk order.
==================== END DISK INFORMATION ====================
I have absolutely no idea what to do but the site is completely destroyed right now. I removed the links because I can only use 3 a post but they’re in there. The rebuilds kept working fine UNTIL I removed the plugin I put in the complete wrong spot, then everything just stopped. It had messed up a couple lines but I confirmed it was fixed. I’m at a COMPLETE loss. I just tried to rerun setup and confirm all the settings, it went fine but failed on rebuild again…