Comments (7)
Sure I'll create a release soon so that Etherpad can be used with the APIKEY again.
from etherpad-lite.
You normally navigate to /admin/ and then you should see the new admin console. If it says something like 404. You first need to build the admin panel by going to admin folder and doing pnpm build and copying the dist folder to template/admin
from etherpad-lite.
I just had pnpm build inside admin. I guess with template/admin you mean src/templates/admin as there is no template directory in etherpads root directory. But which dist folder is supposed to be copied there? The only folders called dist are in /node_modules/.pnpm/. And there are 151 folders with that name.
from etherpad-lite.
There was also nothing for me at /admin, /src/templates/admin was missing.
Just a
"Sorry, something bad happened"
Running "pnpm build" in the /admin subdirectory of the EP install made those files. But now got an empty page.
The problem is with paths in admin's index.html
I changed
<script type="module" crossorigin src="/admin/assets/index-6MWu4lkJ.js"></script>
<link rel="stylesheet" crossorigin href="/admin/assets/index-E-lmtrZj.css">
to
<script type="module" crossorigin src="assets/index-6MWu4lkJ.js"></script>
<link rel="stylesheet" crossorigin href="assets/index-E-lmtrZj.css">
This made it work at http://localhost:9001/admin, but not https://localhost/pad/admin (how I usually access EP, via a proxypass), as there's more absolute paths in the .js files.
from etherpad-lite.
There was also nothing for me at /admin, /src/templates/admin was missing. Just a
"Sorry, something bad happened"
Running "pnpm build" in the /admin subdirectory of the EP install made those files. But now got an empty page.
The problem is with paths in admin's index.html I changed
<script type="module" crossorigin src="/admin/assets/index-6MWu4lkJ.js"></script> <link rel="stylesheet" crossorigin href="/admin/assets/index-E-lmtrZj.css">
to
<script type="module" crossorigin src="assets/index-6MWu4lkJ.js"></script> <link rel="stylesheet" crossorigin href="assets/index-E-lmtrZj.css">
This made it work at http://localhost:9001/admin, but not https://localhost/pad/admin (how I usually access EP, via a proxypass), as there's more absolute paths in the .js files.
This is also fixed and I also updated the wiki for it.
from etherpad-lite.
I just had pnpm build inside admin. I guess with template/admin you mean src/templates/admin as there is no template directory in etherpads root directory. But which dist folder is supposed to be copied there? The only folders called dist are in /node_modules/.pnpm/. And there are 151 folders with that name.
I added a new command in the admin directory. If you run pnpm run build-copy . It should also copy the assets in the correct directory.
from etherpad-lite.
I added a new command in the admin directory. If you run pnpm run build-copy . It should also copy the assets in the correct directory.
I guess that will be available in 2.0.4? Let's hope I can use that version then. Right now I had to go back to 2.0.1 as using the APIKEY in 2.0.3 is broken.
from etherpad-lite.
Related Issues (20)
- Issue starting official docker container with Podman HOT 3
- "ep_openid_connect" plugin work with v2.0.x? HOT 15
- admin webinterface not usable if plugins cannot be fetched HOT 3
- stats doesn't report totalUsers on version 2.0.2 HOT 1
- Unable to load any pads and fails to load admin HOT 8
- Script error on Ecosia iOS HOT 2
- APIKEY.txt is not being generated HOT 6
- Etherpad Docker w/ PostgreSQL can't be configured to require SSL transport (DB_URL ignored?) HOT 4
- Can't retrive admin panel behind Nginx reverse proxy under subdirectory (possible upstream experimental) HOT 9
- Remember guests' author names and colours between sessions HOT 3
- 2.0.2 lost --apikey configuration and the abbility to specify an APIKEY via a file HOT 6
- Incorrect documentation on using MySQL with Unix socket HOT 1
- importSqlFile and other tools don't build by default, docs not helpful HOT 1
- Where can I find the Etherpad SVG logo? HOT 3
- Pagination not working correctly on admin/pads HOT 3
- customLocaleStrings appears to be ignored HOT 1
- typo in nginx reverse proxy config HOT 1
- Settings aren't saved in admin UI HOT 13
- Docker image build fails with ETHERPAD_PLUGINS in GitHub Actions workflow 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 etherpad-lite.