Closed Thatguy553 closed 4 years ago
Did you run the php artisan mangapie:init
command?
If it doesn't work then try creating it manually.
php artisan vendor:publish --provider "Intervention\\Image\\ImageServiceProviderLaravel5"
Maybe the double backslashes are causing a problem on Windows? It might also work with single forward slashes.
Also, looks like the gd extension on Windows might be available. https://stackoverflow.com/questions/7851011/how-do-i-install-gd-on-my-windows-server-version-of-php
Yes but I believe I got a bunch of errors, I'll get on later today and try again
On Tue, Mar 31, 2020, 11:46 AM pierobot notifications@github.com wrote:
Did you run the php artisan mangapie:init command? That's what creates the file.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pierobot/mangapie/issues/142#issuecomment-606709047, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDL65RFVHBIS3D7D5W6TS3RKIF6JANCNFSM4LWHLX2A .
this is the error i get when i try, im using windows btw so im trying to figure out all the commands in the installation guide in windows.
I havent set up the nginx web server though, i skipped that step thinking it could just run from xampp? if i have to set that up then im a little stuck, as i cant figure out those commands in windows
i got as far as sudo mkdir /etc/nginx/certs but i couldnt figure out the next command in windows, sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/certs/mangapie.key -out /etc/nginx/certs/mangapie.crt
6379 is the default redis port.
This project is not officially ready for Windows or Apache but the amount of code I will need to change is not much. I will start to make these changes tomorrow and also write a setup guide for Windows. Stay tuned.
Ah alright thx, can't wait to see how it works!
On Thu, Apr 2, 2020, 1:12 AM pierobot notifications@github.com wrote:
6379 is the default redis port.
This project is not officially ready for Windows or Apache but the amount of code I will need to change is not much. I will start to make these changes tomorrow and also write a setup guide for Windows. Stay tuned.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pierobot/mangapie/issues/142#issuecomment-607625128, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDL65VP4TCGXTARSFD2JETRKQNEZANCNFSM4LWHLX2A .
Sorry for the wait, I've got it working on Windows. All that's left is to add in support for Apache's mod_xsendfile for avatars, covers, previews,and images.
Hopefully the guide will be up by tomorrow.
Awesome I'll keep an eye out for it
On Mon, Apr 6, 2020, 8:11 PM pierobot notifications@github.com wrote:
Sorry for the wait, I've got it working on Windows. All that's left is to add in support for Apache's mod_xsendfile for avatars, covers, previews,and images.
Hopefully the guide will be up by tomorrow.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pierobot/mangapie/issues/142#issuecomment-610101137, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDL65VJK745DN4DBAWIHOLRLJVS3ANCNFSM4LWHLX2A .
Hi, I've pushed changes onto the feature/windows-support
branch. Please try it out.
Here are the installation instructions.
Let me know if you have any problems.
Hey!
You said:
The latest supported version is 7.2 due to the lack of php-rar modules for >= 7.3
When i tried to install mangapie on debian 10 with php 7.3 i was unable to install php-rar that's why i switched to ubuntu server where the latest php version is 7.2 and i was able to install php-rar.
is this incompatibility the same on linux? because if it is, you should update your wiki page on LAMP.
It's likely the case but I can't say for sure since I have built php-rar since 7.1 using some of my own patches that were causing corruptions in some files. IIRC they had merged the 7.3 changes into php-rar but the binaries on PECL have not been updated.
I'll add in instructions on how to do so for Linux. I haven't yet figured out the build environment on Windows which is why I put the notice.
sorry for taking forever, the guide says but there doesnt seem to be a server.crt file in there, only a server.csr file. for now ill assume that was the intended file and copy it, ill update as to what happens
in this section the php and etc files didnt exist, if your supposed to create them you should probably specify so, if your not did i install wamp wrong? xD you should also specify what versions to install
sorry for all the messages, just want to inform you of everything that doesnt exactly match up with the guide incase of future errors after i do everything.
There is more than one php.ini file, for now ill add the code to both
ran composer install --no-dev and got this dont know if it failed or succeeded, im gonna move on to the next commands in the guide
alright ill be stopping here till i get a response, seems it does not work after that error, also when you tell me either what i did wrong or if theirs bugs how to fix it directly, if its a simple fix cause it would be annoying to redo all the previous steps lol
Hello there!
since i have a lot of time i tried installing on windows server. It was quite time consuming but i didn't encounter any issue in the process. i have the same issue as @Thatguy553
On another note:
alright ill be stopping here till i get a response, seems it does not work after that error, also when you tell me either what i did wrong or if theirs bugs how to fix it directly, if its a simple fix cause it would be annoying to redo all the previous steps lol
I think you should install the same version as mine (wampstack-7.2.29-2) because yours is packaged with php 7.3.
Hello there!
since i have a lot of time i tried installing on windows server. It was quite time consuming but i didn't encounter any issue in the process. i have the same issue as @Thatguy553
So you didn't have any issue up until the picture above? Or did you not have that either?
I think you should install the same version as mine (wampstack-7.2.29-2) because yours is packaged with php 7.3.
And alright I'll do so, it didn't seem to specify a version for anything so I just installed the latest of everything
You need to use the feature/windows-support
branch. I should have been more specific. I haven't merged the changes into the master branch because I wanted to make sure everything went smoothly for others.
You want to edit php.ini. the development and production ini files are templates to build php.ini from. I don't remember if wampstack came with php.ini already created or not but if it did not then just copy php.ini-production to php.ini.
As for the php/ext
folder it should be inside C:/Bitnami/wampstack/
. I didn't put the right path. I've corrected it.
you wrote:
In C:/Bitnami/wampstack/apache2/conf/bitnami/bitnami-apps-prefix.conf add the following line
Include "C:/Bitnami/wampstack/apps/mangapie/conf/httpd-prefix.conf"
you need to add:
In C:/Bitnami/wampstack/apache2/conf/bitnami/bitnami-apps-vhosts.conf add the following line
Include "C:/Bitnami/wampstack/apps/mangapie/conf/httpd-vhosts.conf"
hmmmmm it does not seem to work... i'm pretty sure the server part is set-up correctly but:
Ah I forgot you mentioned that part, I'll use the windows branch in a bit
On Wed, Apr 15, 2020, 1:50 PM pierobot notifications@github.com wrote:
I haven't merged the changes into the master branch because I wanted to make sure everything went smoothly for others.
You need to use the feature/windows-support branch.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/pierobot/mangapie/issues/142#issuecomment-614185780, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANDL65TUZJ36LE44LOTM5HDRMXXX5ANCNFSM4LWHLX2A .
@donotos Thanks I corrected the vhosts error.
The error should also be in in your latest log file in storage/logs/
. If you want it visually and pretty then set APP_DEBUG
in your .env
file to true
and install dev packages. php artisan config:cache && composer install
.
That should give more information on what's wrong. If you do go for the APP_DEBUG route then don't forget to set it back to false as it will slow down the app.
The [2020-04-15 19:05:08] local.ERROR: No application encryption key has been specified.
error happens when APP_KEY is missing from the cached config. You just need to do php artisan config:cache
. That's why the debug mode works 😛
I'll add that line to both guides. Just as an FYI, Apache seems to cache some web pages so you might have to restart the server if you make changes to the config.
ok now i do not seem to be able to add a librarie. i tried: Z:\eBooks\Mangas\Completed\ "Z:\eBooks\Mangas\Completed\" Z:/eBooks/Mangas/Completed/ "Z:/eBooks/Mangas/Completed/"
i always get the same error:
'Z:/eBooks/Mangas/Completed/' does not exist
How do you have the Z drive setup? Is it a local drive or network?
network drive. i created a symbolic link but it is the same:
C:\Bitnami\wampstack-7.2.29-2\apps\mangapie>mklink /D libraries Z:\eBooks\Mangas\ Lien symbolique créé pour libraries <<===>> Z:\eBooks\Mangas\
C:\Bitnami\wampstack-7.2.29-2\apps\mangapie\libraries\Completed
Can you make a new issue for this? What backend are you using? Samba, S3, B2, GDrive?
Can you make a new issue for this? What backend are you using? Samba, S3, B2, GDrive?
Answered in the new issue.
Alright finally got wamp reinstalled and starting over again, but for this bit i want to confirm should it be server.csr or will that work atleast?
no. you should do as said in the instructions. copy server.crt an server.key from the apache2 folder to your mangapie/conf/certs folder
Thoses files are called in httpd-vhosts.conf
they are only for testing purpose. You will have to generate new ones with letsencrypt when you go from testing to production.
I dont have the server.crt file though, only server.csr
Ohhhh i see i do have it
One last thing, i assume im supposed to past the files from the windows branch repository inside the mangapie folder created in the guide correct?
or do i do like the guide says and just copy the repository into apps C:/Bitnami/wampstack/apps/
in the zip file you have a folder named "mangapie-feature-windows-support" and inside it you have a lot of folders and files. you need to select everything and put it in C:/Bitnami/wampstack/apps/mangapie
Thought so
Alright so ive followed the guide up till the very last bit the cmd just sits like this and the page does not load, i restarted the wamp server as well.
This is the bit in the env APP_ENV=local APP_KEY= APP_DEBUG=true APP_LOG_LEVEL=debug APP_URL=https://mangapie APP_IMAGE_EXTRACT=false APP_WEB_SERVER=apache
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=mangapie DB_USERNAME=mangapie DB_PASSWORD=mangapie
BROADCAST_DRIVER=log CACHE_DRIVER=redis SESSION_DRIVER=redis QUEUE_DRIVER=redis
everything should be correct its just not loading, im not getting errors or anything
The queue worker won't output anything until it starts working on a job. In your case it will be refreshing the library once you add it.
What exactly is not loading? The web page? Is it timing out? Make sure Apache is running and did not fail on startup due to config errors. The error log will be in C:\Bitnami\wampstack-7.2.29-2\apache2\logs\error.log
error.log This is the error log, and the web page isnt loading, The server is running it just says the IP address cant be found
[Wed Apr 15 19:06:13.203547 2020] [core:error] [pid 12944:tid 492] (OS 11001)No such host is known. : AH00547: Could not resolve host name mangapie -- ignoring!
Did you add mangapie to your hosts file?
PHP Warning: PHP Startup: Unable to load dynamic library 'rar' (tried: C:/Bitnami/wampstack/php/ext\\rar (The specified module could not be found.), C:/Bitnami/wampstack/php/ext\\php_rar.dll (The specified procedure could not be found.)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'redis' (tried: C:/Bitnami/wampstack/php/ext\\redis (The specified module could not be found.), C:/Bitnami/wampstack/php/ext\\php_redis.dll (The specified procedure could not be found.)) in Unknown on line 0
Did you install the rar and redis modules? I see there's an extra slash in the path. Not sure if that matters.
They are installed, does it matter what version?
and it seems the hosts file reverted on restart(?) or just didnt save last night, but now that ive added it, and restarted the apache server i get this
You're getting the same error donotos got.
Just do php artisan config:cache
Yes, your modules should be for 7.2.
did so and its the same thing, oh my modules
Both modules should support 7.2 i grabbed the latest and both say either 5.3.0 or 7.0.0 or newer, does it matter what version of wamp? i have 7.3 for php
Yes the guide says 7.2.
Ah i missed that then, Alright ill go cry as i reinstall wamp for the next hour
Alright well finally got back to the previous step with wamp 7.2 and its the same i did all of the steps, cache, init and all the before
I also get this in the dev tools
Did you restart the web server? The page likely got cached. Show what your network tab looks like in the dev tools.
Here where it says to change gd to imagick the i attempt to do so because gd isnt compatible with windows i guess, but there is no image.php file