Installing Organizr

Summary

blah

Docker

Installing via CLI

1
docker create \
2
--name=organizr \
3
-v <path to data>:/config \
4
-e PGID=<gid> -e PUID=<uid> \
5
-p 80:80 \
6
-e fpm="false" \ # optional
7
-e branch="v2-master" \ # optional
8
organizr/organizr
Copied!

Installing via Compose File

1
version: "3.6"
2
services:
3
organizr:
4
container_name: organizr
5
hostname: organizr
6
image: organizr/organizr:latest
7
restart: unless-stopped
8
ports:
9
- 80:80
10
volumes:
11
- <path to data>:/config
12
environment:
13
- PUID=<uid>
14
- PGID=<gid>
15
- TZ=<timezone>
Copied!

More Information

Head over to https://github.com/Organizr/docker-organizr to see more information.

Windows

Pre-Check

Make sure you have setup Nginx and PHP
Make sure you have enabled php_pdo_sqlite.dll & php_openssl.dll PHP extensions.

Download Organizr

    1.
    ​Download the latest release of Organizr.
    2.
    Open the downloaded organizr zip file and copy all files and paste them in the web root folder c:\nginx\html\
      1.
      OR If you prefer you can create sub-directory called organizr under c:\nginx\html and paste the copied organizr files in that folder.
    3.
    Go to http(s)://localhost/index.php
You may use this Nginx config file if you would like
1
#user nobody;
2
worker_processes 1;
3
​
4
events {
5
worker_connections 1024;
6
}
7
​
8
http {
9
include mime.types;
10
default_type application/octet-stream;
11
sendfile on;
12
keepalive_timeout 65;
13
​
14
server {
15
listen 80;
16
#CHANGE THESE LINES##########
17
server_name localhost;
18
root html/Organizr;
19
#############################
20
index index.php index.html index.htm;
21
error_page 400 401 403 404 405 408 500 502 503 504 /?error=$status;
22
location / { }
23
location ~ \.php$ {
24
fastcgi_pass 127.0.0.1:9000;
25
fastcgi_index index.php;
26
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
27
include fastcgi_params;
28
}
29
location /api/v2 {
30
try_files $uri /api/v2/index.php$is_args$args;
31
}
32
}
33
}
Copied!

Ubuntu & Debian

Navigate to Webserver Directory

    1.
    Navigate to your website path with cd /var/www/websites/roxinsocks.com
      1.
      Replace the domain path in the webserver path with the correct path
    2.
    Using one of the following two methods, grab the most recent Organizr build from github:
Git
Zip
Copy this command and paste into your terminal
1
git clone https://github.com/causefx/Organizr /var/www/websites/roxinsocks.com
Copied!
You may need to install git if you don't have it installed: apt-get install git
Copy this command and paste into your terminal
1
wget https://github.com/causefx/Organizr/archive/v2-master.zip
Copied!
You may need to install wget if you don't have it installed: apt-get install wget
Unzip the file with the following command while replacing the file path with the location to your servers domain files
1
unzip v2-master.zip -d /var/www/websites/roxinsocks.com
Copied!
All your Organizr files are now installed at /var/www/websites/roxinsocks.com/

Permissions & Access

    1.
    Set the permission to your path, so that Organizr can write to it by running chown -R www-data:www-data /var/www/websites/roxinsocks.com/
    2.
    For external access and functionality, edit your nginx sites-enabled config file for your domain (nano /etc/nginx/sites-enabled/roxinsocks.com), and be sure the root is set correctly in the server block. This will tell nginx where to look for organizr, when you navigate to your domain:
1
server{
2
root /var/www/websites/roxinsocks.com;
3
index index.php index.html index.htm index.nginx-debian.html;
4
server_name roxinsocks.com;
5
location / { try_files $uri $uri/ =404; }
6
location ~ \.php$ {
7
include snippets/fastcgi-php.conf;
8
fastcgi_pass unix:/run/php/php7-fpm.sock;
9
}
10
location /api/v2 {
11
try_files $uri /api/v2/index.php$is_args$args;
12
}
13
}
Copied!
You may need to change the path to the socket depending on what version of PHP you installed
3. Navigate to that path locally using your web browser and the host's local ip address. http://localhost or http://192.168.1.### You should be able to login and establish your admin account.

Helm

Our helm chart is maintained by the guys over at [email protected] This uses the official docker container.
Repo
Link
Chart Github Repository
Chart Helm Repository
​k8s-at-home​
Artifacthub

TL;DR

1
helm repo add k8s-at-home https://k8s-at-home.com/charts
2
helm install organizr k8s-at-home/organizr --values values.yaml # User supplied
Copied!

Installing

    1.
    Add the helm repository for k8s-at-home
    2.
    Read through the values.yaml file either in the github repository or via helm commands
    3.
    Deploy a named release with your override values.yaml file

Example Commands

1
helm repo add k8s-at-home https://k8s-at-home.com/charts
2
# these next 2 lines are convenience lines to build a full values file for modification.
3
# You can construct your own overrides as you see fit.
4
helm show values k8s-at-home/organizr | \
5
sed '1,2d;/service/,+1d' > values.yaml
6
helm show values k8s-at-home/media-common | \
7
sed '1d;/image:/,+5d;s/port: ""/port: 80/;s/^/ /' >> values.yaml
8
vi values.yaml # modify as needed
9
helm install organizr k8s-at-home/organizr --values values.yaml
Copied!

Example values.yaml override

1
organizr:
2
imagePullSecrets: []
3
fullnameOverride: organizr
4
5
env:
6
TZ: UTC
7
8
ingress:
9
enabled: true
10
annotations:
11
kubernetes.io/ingress.class: traefik
12
traefik.ingress.kubernetes.io/router.entrypoints: websecure
13
traefik.ingress.kubernetes.io/router.priority: "10"
14
cert-manager.io/cluster-issuer: letsencrypt-prod
15
hosts:
16
- host: organizr.domain.tld
17
paths:
18
- /
19
tls:
20
- secretName: organizr-domain-tld
21
hosts:
22
- organizr.domain.tld
23
24
persistence:
25
# type: options are statefulset or deployment
26
type: statefulset
27
config:
28
enabled: true
29
30
resources:
31
requests:
32
cpu: 100m
33
memory: 128Mi
Copied!
Last modified 1mo ago