AtoMiC-ToolKit icon indicating copy to clipboard operation
AtoMiC-ToolKit copied to clipboard

organizr returning 404 fresh install

Open ghost opened this issue 7 years ago • 12 comments

New features

Please visit http://feathub.com/htpcBeginner/AtoMiC-ToolKit

The problem

done a fresh install of organizr with latest atk in a lxc container and when i go to lxcIP/organizr i just get 404 welcome to nginx

My Linux distribution and version is:

  • Ubuntu Server 16.04.3

I'm seeing this behaviour on:

  • A fresh install

ghost avatar May 30 '18 02:05 ghost

I'm having the same issue.

Linux Distro's I've Tried:

  • Ubuntu Server 16.04
  • Ubuntu Server 18.04
  • Debian 9.4

I'm seeing this behavior on:

  • Fresh Installs

Blackl1st avatar May 30 '18 15:05 Blackl1st

Oh looks like root /var/www; needs to be added to server.atomic.conf in /etc/nginx/sites-available

Blackl1st avatar May 30 '18 19:05 Blackl1st

@Blackl1st that's great if that worked for you, but it shouldn't be required because it's in the location config for org https://github.com/htpcBeginner/AtoMiC-ToolKit/blob/master/utils/nginx/locations-available/organizr.atomic.conf#L4

nemchik avatar May 30 '18 21:05 nemchik

I am encountering this, along with a subsequent PHP/SQL Error after a fresh install of Ubuntu 18.04 LTS. This error occurred after resolving the 404 error, using @Blackl1st's suggestion above. Fatal error: Uncaught PDOException: SQLSTATE[HY000] [14] unable to open database file in /var/www/organizr/user.php:206 Stack trace: #0 /var/www/organizr/user.php(206): PDO->__construct('sqlite:/home/ra...') #1 /var/www/organizr/index.php(68): User->__construct('registration_ca...') #2 {main} thrown in /var/www/organizr/user.php on line 206

rhammons avatar Jun 07 '18 12:06 rhammons

404 too with Organizr or maximux.

marintap avatar Jun 13 '18 13:06 marintap

Sorry for the silence on this, can anyone having this issue post the output from ls -lah /etc/nginx/locations-enabled/

nemchik avatar Jun 13 '18 15:06 nemchik

ls -lah /etc/nginx/locations-enabled/ total 8.0K drwxr-xr-x 2 root root 4.0K Jun 15 07:52 . drwxr-xr-x 10 root root 4.0K Jun 13 15:02 .. lrwxrwxrwx 1 root root 51 Jun 15 07:52 organizr.atomic.conf -> /etc/nginx/locations-available/organizr.atomic.conf

marintap avatar Jun 15 '18 05:06 marintap

Ok, how about cat /etc/nginx/locations-available/organizr.atomic.conf

nemchik avatar Jun 15 '18 10:06 nemchik

I removed Nginx, i saw errors during install and it doesn't start anymore.

marintap avatar Jun 20 '18 14:06 marintap

From organizr.atomic.conf

Version=1.1

location /organizr/ { root /var/www; index index.html index.php; try_files $uri $uri/ /index.php?$args; include /etc/nginx/snippets/php.atomic.conf; }

I am completely new to this so hopefully that was the output you needed. I get the 404 error too. Ubuntu Desktop 18.04.

EarlCrest avatar Jun 24 '18 02:06 EarlCrest

Still broken (months later)

user01010111 avatar Nov 19 '18 03:11 user01010111

As posted in #280 you may be interested in https://dockstarter.com/

nemchik avatar Nov 19 '18 04:11 nemchik