Comments (3)
Thats actually a fail on my part, keeping it in the config. You notice if you "view-source" in the UI, all CSS/images etc will be prefixed with that.
It should actually be set to the 'public' folder your context root, so /public
in the default setup. Handily, all the Openseedbox CSS/Javascript assets are already uploaded there, because I use it for my personal instance.
The reason it exists is that on very early versions of Openseedbox, I was trying to get it to run on Heroku and its recommended to serve static assets from a CDN or something like Amazon S3 to take load off the Heroku instance.
from openseedbox.
I tried. But the webpage broken.
Seems like js/css/images did not showing right. I tried to access an image and got only codes and symbols displayed in my browser. But when I change to your amazon instances, the webpage back to normal.
I alias /src/openseedbox
to /res
location /res {
alias /src/openseedbox
Then I set
openseedbox.assets.prefix=http://example.com/res/public
I also noticed errors in play! log /src/openseedbox/logs/system.out
CompilerOracle: exclude jregex/Pretokenizer.next
Listening for transport dt_socket at address: 8000
19:09:12,628 INFO ~ Starting /src/openseedbox
19:09:12,638 INFO ~ Module openseedbox is available (/src/openseedbox/../openseedbox-common)
19:09:12,639 INFO ~ Module siena is available (/src/openseedbox/modules/siena-2.0.7)
19:09:14,979 WARN ~ You're running Play! in DEV mode
19:09:15,440 INFO ~ Listening for HTTP on port 9000 (Waiting a first request to start) ...
19:33:31,711 DEBUG ~ Play-Siena: enhancing EnhancedModel com.openseedbox.models.Torrent
19:33:32,090 DEBUG ~ Play-Siena: enhancing EnhancedModel com.openseedbox.models.ModelBase
19:33:33,106 DEBUG ~ Play-Siena: enhancing EnhancedModel com.openseedbox.models.Node
19:33:33,962 DEBUG ~ Play-Siena: enhancing EnhancedModel com.openseedbox.models.EventBase
19:33:34,066 DEBUG ~ Play-Siena: enhancing EnhancedModel com.openseedbox.models.UserMessage
19:33:34,188 DEBUG ~ Play-Siena: enhancing EnhancedModel com.openseedbox.models.UserTorrent
19:33:34,389 DEBUG ~ Play-Siena: enhancing EnhancedModel com.openseedbox.models.NodeGroup
19:33:34,548 DEBUG ~ Play-Siena: enhancing EnhancedModel com.openseedbox.models.TorrentEvent
19:33:36,016 DEBUG ~ Play-Siena: enhancing EnhancedModel com.openseedbox.models.InvoiceLine
19:33:36,119 DEBUG ~ Play-Siena: enhancing EnhancedModel com.openseedbox.models.JobEvent
19:33:37,956 DEBUG ~ Play-Siena: enhancing EnhancedModel com.openseedbox.models.Invoice
19:33:38,757 DEBUG ~ Play-Siena: enhancing EnhancedModel com.openseedbox.models.EmailError
19:33:38,828 DEBUG ~ Play-Siena: enhancing EnhancedModel com.openseedbox.models.User
19:33:38,876 DEBUG ~ Play-Siena: enhancing EnhancedModel com.openseedbox.models.Plan
19:33:55,088 INFO ~ Connected to jdbc:mysql://localhost/openseedbox
19:33:55,381 INFO ~ Siena DB Type: sql:mysql
19:33:55,459 DEBUG ~ Siena DDL Type: mysql
19:33:56,731 DEBUG ~ Siena DDL dev mode: update
19:33:58,910 DEBUG ~ Siena DDL Generator SQL:
19:33:58,964 INFO ~ Executed 0 SQL command(s) with 0 error(s)
19:33:59,049 INFO ~ Application 'openseedbox' is now started !
19:33:59,510 ERROR ~
@6m414po68
POST_ip_port.php.index action not found
Action not found
Action POST_ip_port.php.index could not be found. Error raised is Controller controllers.POST_ip_port.php not found
play.exceptions.ActionNotFoundException: Action POST_ip_port.php.index not found
at play.mvc.ActionInvoker.getActionMethod(ActionInvoker.java:599)
at play.mvc.ActionInvoker.resolve(ActionInvoker.java:85)
at Invocation.HTTP Request(Play!)
Caused by: java.lang.Exception: Controller controllers.POST_ip_port.php not found
... 3 more
from openseedbox.
Sorry, it should be /public, not /
Just take out the %prod.openseedbox.assets.prefix
line from the config file, and remove your nginx alias
from openseedbox.
Related Issues (20)
- Job improvements: raw use of the parameterized class 'LoggedJob'
- Job improvements: maintenance job HOT 1
- Job improvements: `java.lang.IllegalAccessException` prevents Node Poller job from scheduling HOT 14
- Show the torrent backend's version in the Nodes view HOT 2
- OpenSeedbox backend thinks the torrent backend is up, even it is not installed: "/bin/sh: 1: transmission-daemon: not found" HOT 2
- GitHub: manage `pr-${{github.event.pull_request.number}}` tagged docker images at GHCR on Pull Request events
- GitHub: reusable workflows
- Play! Framework: rewrite OpenSeedbox to use another MVC framework HOT 4
- views: fix and improve size checks on Lists HOT 1
- Transmission, Play! (RePlay! also) vs UTF-8: Unexpected Error, Your file does not exists HOT 8
- Backend: multiparch Docker build fails to restart torrent backend on non `amd64` platforms HOT 3
- Docker is sunsetting Free Team organizations on April 14, 2023 HOT 3
- Add download tests
- Long torrent names and download URLs could fail the poller job: `ERROR: value too long for type character varying(255)`
- Show active torrents in the client view
- Show peer's progress at the peers tab of the Torrent Info modal view HOT 1
- Siena's DDL generator doesn't restore the table's primary key sequence value after database model update
- Try OpenJDK with Eclipse OpenJ9 (aka IBM Semeru) instead the default OpenJDK HotSpot (aka Eclipse Temurin) HOT 7
- GitHub: push `latest` images to Docker Hub automatically (on master branch change) HOT 4
- GitHub: update `openseedbox/{client,server}` images on `openseedbox/{base,tomcat}` push
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 openseedbox.