Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

organizr returning 404 fresh install #287

Open
ghost opened this issue May 30, 2018 · 12 comments
Open

organizr returning 404 fresh install #287

ghost opened this issue May 30, 2018 · 12 comments

Comments

@ghost
Copy link

ghost commented May 30, 2018

New features

Please visit http:https://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
@Blackl1st
Copy link

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
Copy link

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

@nemchik
Copy link
Collaborator

nemchik commented May 30, 2018

@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

@rhammons
Copy link

rhammons commented Jun 7, 2018

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

@marintap
Copy link

marintap commented Jun 13, 2018

404 too with Organizr or maximux.

@nemchik
Copy link
Collaborator

nemchik commented Jun 13, 2018

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

@marintap
Copy link

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

@nemchik
Copy link
Collaborator

nemchik commented Jun 15, 2018

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

@marintap
Copy link

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

@EarlCrest
Copy link

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.

@user01010111
Copy link

Still broken (months later)

@nemchik
Copy link
Collaborator

nemchik commented Nov 19, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants