Closed calgara12 closed 7 years ago
Yes you are correct that it should be cd php-rar
.
Also the ./config
should be ./configure
The PECL module was outdated like a month ago but it looks like it's been updated so now you can also install using sudo pecl install rar
.
Thanks for pointing these out. I've updated the wiki. Hopefully everything else is fine.
Thanks for your fast reply :) Ive now managed to install everything.
Unfortunately when i open the app in my browser i get:
Do you have any idea? Thank you!
Is that all it says? Usually it has some text that says what went wrong.
No unfortunately there is no additional info. The whole site is blank except for the "Whoops, looks like..." message.
Looks like it's not creating the .env file with composer install
Try
cp .env.example .env
php artisan key:generate
What does your .env and nginx/apache file look like?
I just tried a separate installation and I now updated the wiki. https://github.com/pierobot/mangapie/wiki/1.-Installation-(Ubuntu-17.04,-PHP-7.0)#grant-privileges-to-storage https://github.com/pierobot/mangapie/wiki/2.-Configuration-(MySQL,-Nginx)#dbms
Thanks, that helped. I now followed the 2. Configuration (MySQL, Nginx) of the Wiki.
now when i access 'http://localhost/mangapie' i get:
I'm new to using ngix so i think i might have a problem there. Can i also use apache2 instead of ngix?
This is my `/etc/nginx/sites-available/mangapie:
server {
# change this IP or add another
listen 127.0.0.1:8089;
server_name localhost;
location /mangapie/ {
proxy_pass http://127.0.0.1:8000/;
}
}
server {
listen 127.0.0.1:8000;
server_name mangapie;
root /var/www/html/mangapie/;
#access_log /home/pierobot/github/mangapie/nginx-log/access.log;
#error_log /home/pierobot/github/mangapie/nginx-log/error.log;
index index.php;
location / {
try_files $uri $uri/ /index.php$args;
}
location ~ \.php$ {
try_files $uri =404;
include fastcgi.conf;
fastcgi_index index.php;
fastcgi_pass unix:/run/php/php7.0-fpm.sock;
}
}
Yes, you can use Apache as well but I do not have a config for that yet.
The error you get is because
http://localhost:8089/mangapie
or/etc/nginx/sites-available/mangapie
in /etc/nginx/sites-enabled
.Hmmm... I executed the command from the documentation:
This created this file here:
I also set the permissions to 777 here:
This is my sites-available folder:
How would i access the site? would i go to: http://localhost/mangapie or http://localhost:8000 or http://localhost:8089
Sorry if i have a lot of questions. As i said, im new to this. But thank you so much for helping me! :)
Do you plan on creating a config for Apache?
Looks like the symbolic link is faulty since it's red. (My fault) From /etc/nginx/sites-available
sudo rm ../sites-enabled/mangapie
sudo ln -s ../sites-available/mangapie ../sites-enabled/mangapie
You should be visiting the url in the first server - so http://localhost:8089/mangapie
.
In the future, if you add SSL/TLS then you would also edit the first server.
Feel free to ask any questions, I do not mind. :)
Alright i changed it, and the symbolic link now looks right. although when i visit http://localhost:8089/mangapie I get:
Just so you know, to run apache2 and nginx at the same time i changed the port from 80 to 81 this file: /etc/nginx/sites-available/default
Not quite sure what the problem is.
Again, Thank you for your amazing support :)
Why is it going to 192.168.0.100? If you want to access the site from LAN you need to add another listen to the first server
listen 192.168.0.100:8089; # or whatever LAN IP your computer is on
192.168.0.100 is the static ip of my ubuntu server 192.168.0.1 is the gateway of my router
If i set the first server to 192.168.0.1:8089 i get this error:
When i change it to "listen 192.168.0.1:8089;" like so:
I get :
When i visit: 192.168.0.100:8089/mangapie
How can i get it to start the application?
Your proxy_pass
inside /mangapie/
needs to point to the second server.
So it needs to be http://127.0.0.1:8000/
because that's where the second server is listening on.
Now it works, Awesome thank you so much!
keep up the good work
You're welcome. If you have any other questions or features make another issue.
I'll be adding the automatic thumbnails feature soon. Keep an eye out for that :smiley:
Hello, first of all thanks for your application. Unfortunately im not able to get it to work.
I encounter problems when installing php-rar. In your documentation you have the command:
git clone https://github.com/cataphract/php-rar && php-rar
im guessing you meant:git clone https://github.com/cataphract/php-rar && cd php-rar
and then when i do:
phpize && ./config && make && sudo make install
i get:
Configuring for: PHP Api Version: 20151012 Zend Module Api No: 20151012 Zend Extension Api No: 320151012 -bash: ./config: No such file or directory
not sure what to do here. I'm trying to install it to ubuntu server 16.04.
Thanks in advance and have a nice day :)