Comments (6)
Others have reported issues getting the plugin running, although I don't know if that was Redmine 4 specific, in #94.
You might have better luck if you run the migrations as well:
Run migrations:
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
from redmine_github_hook.
Thanks for replying.
I tried migration on both but not getting any luck.
After running migration it says it is using redmine_github_hook 3.0.1 on both.
Again no complain about that from the production.log.
I guess this will be one of the things that will have to wait then.
Thanks again for helping.
from redmine_github_hook.
If you issue a POST request to /github_hook, what happens? Does it show up in the logfile?
from redmine_github_hook.
The log from Github comes back with:
Headers
Content-Length: 196
Content-Type: text/html; charset=iso-8859-1
Date: Fri, 15 Apr 2022 05:15:36 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
Body
<title>404 Not Found</title>Not Found
The requested URL was not found on this server.
The apache2 log gives:
140.82.115.144 - - [15/Apr/2022:01:12:32 -0400] "POST /github_hook?project_ID=12 HTTP/1.1" 404 196
140.82.115.145 - - [15/Apr/2022:01:15:36 -0400] "POST /github_hook HTTP/1.1" 404 196
140.82.115.148 - - [15/Apr/2022:01:18:16 -0400] "POST /github_hook HTTP/1.1" 404 196
I am new to Redmine and I am not quite sure how to debug the problem.
The application(s) are installed on Windows VMs.
Judging by the above maybe apache doesn't know how to respond to the POST request?
from redmine_github_hook.
It's been a while since I debugged anything with Redmine, so bear with me here...
- If the plugin is installed correctly, sending a GET request to /github_hook (just using your browser), should render an installation confirmation.
- When POSTing from GitHub, the URL should include the identifier of your project, which is likely a string (IIRC the same string as is seen in the URL of your Redmine installation). In other words, I'd suspect something like
my-project
instead of12
in the first request. - The parameter for the project identifier is
project_id
, notproject_ID
- the case of the characters matter.
Outside of that I don't know what you could do, and it's likely that Redmine 4 just isn't compatible, sorry.
from redmine_github_hook.
Hi thanks for the suggestion.
I've tried the above and it still comes back with the 404 error.
I guess it is just not able to work with Redmine 4 then.
Thanks for your time help me out.
from redmine_github_hook.
Related Issues (20)
- support redmine 5.x ? HOT 3
- I implement this plugin but got an error HOT 1
- Host key verification failed. fatal: Could not read from remote repository. Please make sure you have the correct access rights. HOT 2
- Redmine 3.1.0 issues
- RoutingError with sub-uri HOT 4
- Bi-directional issue tracker sync? HOT 1
- "Could not create directory '/home/SYSTEM/.ssh" Error on request HOT 6
- Refusing to fetch into current branch refs/heads/master of non-bare repository HOT 2
- 500 Internal Server Error HOT 1
- Use Github hook with daemon running Redmine HOT 2
- ActiveRecord::RecordNotUnique when git has hash-collision(?) HOT 1
- Please provide a tag for the latest version... HOT 1
- Error: undefined method `skip_before_filter' for GithubHookController:Class HOT 4
- Commits are not getting reflected on redmine portal HOT 2
- Github redirects to login page HOT 3
- The release tag is not set after Ver.2.2.0. HOT 2
- Tags deleted in the remote repository are not deleted from the local repository HOT 4
- Maintainers wanted HOT 2
- Cannot run rake command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redmine_github_hook.