Compare commits
5
Commits
ansible
...
2076557875
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2076557875 | ||
|
|
00c1bb8b20 | ||
|
|
8d6025bcf3 | ||
|
|
491ba60d3c | ||
|
|
8e44f56f95 |
@@ -18,29 +18,13 @@ VMID: 119
|
|||||||
`/var/discourse_docker/discourse_doctor`
|
`/var/discourse_docker/discourse_doctor`
|
||||||
|
|
||||||
|
|
||||||
## Docker rebuild errors
|
Latest update:
|
||||||
|
|
||||||
`/var/discourse_docker/launcher rebuild web_only`
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
Plugin name is 'ldap', but plugin directory is named 'discourse-ldap-auth'
|
|
||||||
rake aborted!
|
|
||||||
ActiveRecord::NoDatabaseError: We could not find your database: discoursedb. Available database configurations can be found in config/database.yml. (ActiveRecord::NoDatabaseError)
|
|
||||||
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
```
|
|
||||||
FAILED
|
|
||||||
--------------------
|
|
||||||
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 593 exit 1>
|
|
||||||
Location of failure: /usr/local/lib/ruby/gems/3.3.0/gems/pups-1.3.0/lib/pups/exec_command.rb:131:in `spawn'
|
|
||||||
exec failed with the params {"cd"=>"$home", "tag"=>"migrate", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
|
|
||||||
bootstrap failed with exit code 1
|
|
||||||
** 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.
|
|
||||||
a9a704b1ee166487d8cd2acd5bd9bcc050ed0ec93fc065f58440e4ae208e1937
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
|
- The forum has been restored; images should load when clicked but may not display immediately.
|
||||||
|
- Resolved several problems sequentially: admin panel and updates were failing, Docker builds failed due to PostgreSQL 13, upgraded to 15.
|
||||||
|
- Restored from backup and created a new backup from the old SQL server, transferring data via PostgreSQL 15.
|
||||||
|
- Manually enabled the required vector extension on the new database because Discourse could not do it automatically.
|
||||||
|
- Docker container rebuild succeeded only after disabling the SSL template in the Docker configuration.
|
||||||
|
- After rebuild, the forum returned with new posts but login failed and media/files were missing.
|
||||||
|
- Uploaded files after May 1 were lost; database and uploads backups were found in the shared folder.
|
||||||
|
- Login issue was caused by a missing SSL template; resolved by setting up an Nginx reverse‑proxy with a self‑signed certificate on the forum VM, allowing SSL access through the main HTTP VM.
|
||||||
|
|||||||
@@ -0,0 +1,35 @@
|
|||||||
|
# Service Catalog: sumadijamoxx
|
||||||
|
|
||||||
|
## 🛠️ Overview
|
||||||
|
|
||||||
|
IP addresses follow the container ID pattern:
|
||||||
|
`101 ssh12` -> `192.168.7.101`
|
||||||
|
|
||||||
|
|
||||||
|
| VMID | Name | OS | Notes |
|
||||||
|
| :--- | :--- | :--- | :--- |
|
||||||
|
| [101](./ssh12/) | [ssh12](./ssh12/) | 12 | SSH Jump host |
|
||||||
|
| [102](./nginxproxymanager12/) | [nginxproxymanager12](./nginxproxymanager12/) | 12 | Proxy |
|
||||||
|
| [103](./searxng12/) | [searxng12](./searxng12/) | 12 | Search |
|
||||||
|
| [104](./homepage12/) | [homepage12](./homepage12/) | 12 | Dashboard |
|
||||||
|
| [105](./pastebin13/) | [pastebin13](./pastebin13/) | 13 | Pastebin |
|
||||||
|
| [106](./librespeed-rust12/) | [librespeed-rust12](./librespeed-rust12/) | 12 | Speedtest |
|
||||||
|
| [107](./tor13/) | [tor13](./tor13/) | 13 | Tor Onion Service |
|
||||||
|
| [200](./wireguard12/) | [wireguard12](./wireguard12/) | 12 | VPN |
|
||||||
|
|
||||||
|
|
||||||
|
##### Legend
|
||||||
|
|
||||||
|
- `12` -> Debian 12
|
||||||
|
- `13` -> Debian 13
|
||||||
|
|
||||||
|
## 🌐 Forwarded Ports
|
||||||
|
|
||||||
|
- `192.168.7.243:443` -> `80`
|
||||||
|
- `192.168.7.101:22` -> `22`
|
||||||
|
|
||||||
|
## 🌐 Public URLs
|
||||||
|
|
||||||
|
- Website: https://sumadija.dmz.rs
|
||||||
|
- Pastebin: https://pastebin.dmz.rs
|
||||||
|
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
VMID: 109
|
||||||
|
---
|
||||||
|
# Nginx
|
||||||
|
|
||||||
|
**VMID:** 102
|
||||||
|
**OS/Version:** Debian 13
|
||||||
|
|
||||||
|
## 🌐 Connectivity
|
||||||
|
- **Local IP:** `192.168.7.109`
|
||||||
|
- **Internal Port:** `80`
|
||||||
|
- **External/Proxy URL:** `https://sumadija.dmz.rs`
|
||||||
|
- **Access Type:** Local / Public (via proxy)
|
||||||
|
|
||||||
|
## 🛠️ Details
|
||||||
|
- **Dependencies:** None
|
||||||
|
|
||||||
|
## 📝 Notes
|
||||||
|
- Forwarded to port 80 and 443.
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
VMID: 105
|
||||||
|
---
|
||||||
|
# PrivateBin
|
||||||
|
|
||||||
|
**VMID:** 105
|
||||||
|
**OS/Version:** Debian 13
|
||||||
|
|
||||||
|
## 🌐 Connectivity
|
||||||
|
- **Local IP:** `192.168.7.105`
|
||||||
|
- **Internal Port:** `[N/A]`
|
||||||
|
- **External/Proxy URL:** `https://pastebin.dmz.rs`
|
||||||
|
- **Access Type:** Forwarded
|
||||||
|
|
||||||
|
## 🛠️ Details
|
||||||
|
- **Built with:** [PrivateBin Proxmox Script](https://community-scripts.github.io/ProxmoxVE/scripts?id=privatebin)
|
||||||
|
- **Dependencies:** None
|
||||||
|
|
||||||
|
## 📝 Notes
|
||||||
|
- Not yet public/forwarded.
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
# Router
|
||||||
|
|
||||||
|
**VMID:** [N/A]
|
||||||
|
**OS/Version:** TPLink (Hopefully OpenWRT in future)
|
||||||
|
|
||||||
|
## 🌐 Connectivity
|
||||||
|
- **Local IP:** 192.168.7.1
|
||||||
|
- **Internal Port:** `[N/A]`
|
||||||
|
- **External/Proxy URL:** `[N/A]`
|
||||||
|
- **Access Type:** Local
|
||||||
|
|
||||||
|
## 🛠️ Details
|
||||||
|
- **Built with:** N/A
|
||||||
|
|
||||||
|
## 📝 Notes
|
||||||
|
- Router is inside the existing network for further forwarding.
|
||||||
|
- Contact coja (best on xmpp) for access/info.
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
VMID: 102
|
||||||
|
---
|
||||||
|
# SearXNG
|
||||||
|
|
||||||
|
**VMID:** 103
|
||||||
|
**OS/Version:** Debian 12
|
||||||
|
|
||||||
|
## 🌐 Connectivity
|
||||||
|
- **Local IP:** `192.168.7.103`
|
||||||
|
- **Internal Port:** `[N/A]`
|
||||||
|
- **External/Proxy URL:** `https://search.dmz.rs`
|
||||||
|
- **Access Type:** Local (Not yet public/forwarded)
|
||||||
|
|
||||||
|
## 🛠️ Details
|
||||||
|
- **Built with:** [SearXNG Proxmox Script](https://community-scripts.github.io/ProxmoxVE/scripts?id=searxng)
|
||||||
|
- **Dependencies:** None
|
||||||
|
|
||||||
|
## 📝 Notes
|
||||||
|
- Not yet public/forwarded.
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
VMID: 101
|
||||||
|
---
|
||||||
|
# SSH Gateway
|
||||||
|
|
||||||
|
**VMID:** 101
|
||||||
|
**OS/Version:** Debian 12
|
||||||
|
|
||||||
|
## 🌐 Connectivity
|
||||||
|
- **Local IP:** `192.168.7.101`
|
||||||
|
- **Internal Port:** `22`
|
||||||
|
- **External/Proxy URL:** `https://sumadija.dmz.rs`
|
||||||
|
- **Access Type:** Public (via SSH forwarding)
|
||||||
|
|
||||||
|
## 🛠️ Details
|
||||||
|
- **Built with:** N/A
|
||||||
|
- **Dependencies:** None
|
||||||
|
|
||||||
|
## 📝 Notes
|
||||||
|
- SSH port from this container should be forwarded to `sumadija.dmz.rs`.
|
||||||
|
- SSH access to other containers is done through this one with SSH jump.
|
||||||
|
- **Security:** Passwords are disabled; only key verification is used.
|
||||||
|
- [Wiki Guide](https://wiki.dmz.rs/en/sysadmin/ssh)
|
||||||
|
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
VMID: 107
|
||||||
|
---
|
||||||
|
# Tor Onion Service
|
||||||
|
|
||||||
|
**VMID:** 107
|
||||||
|
**OS/Version:** Debian 13
|
||||||
|
|
||||||
|
## 🌐 Connectivity
|
||||||
|
- **Local IP:** `192.168.7.107`
|
||||||
|
- **Internal Port:** `[N/A]`
|
||||||
|
- **External/Proxy URL:** `[Tor Onion Address]`
|
||||||
|
- **Access Type:** Public (via Tor)
|
||||||
|
|
||||||
|
## 🛠️ Details
|
||||||
|
- **Built with:** N/A
|
||||||
|
- **Dependencies:** None
|
||||||
|
|
||||||
|
## 📝 Notes
|
||||||
|
- This container hosts the Tor onion service, used for remote access to Proxmox through Tor.
|
||||||
|
- **Credentials:** Stored in **dmzadmin** (password manager).
|
||||||
|
- **Remote access targets:**
|
||||||
|
- `ssh12` -> port 22
|
||||||
|
- `smoxx` -> port 8006
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
VMID: 200
|
||||||
|
---
|
||||||
|
|
||||||
|
Wireguard server for VPN access to sumadija network
|
||||||
Reference in New Issue
Block a user