ContentBox installation issue

已查看 69 次
跳至第一个未读帖子

Don Li

未读,
2020年10月4日 16:51:582020/10/4
收件人 ContentBox Modular CMS

Downloaded from
https://contentbox.ortusbooks.com/intro/introduction

Installation started per the above doc (Commandbox installed).

Current environment, Windows 10, running Lucee 5.3.x

1) CommandBox started the server and launched a web  browser,
2) I went to Lucee admin to create a datasource named "contentbox"
3) Fed the create datasource option with "contentbox", however, it complained such ds does not exist.

At one point mysteriously, it found the ds, however, it bombed at "Continue to install" process, with error like /index.cfm/cbinstaller

How to fix it?

Luis Majano

未读,
2020年10月5日 11:55:592020/10/5
收件人 ContentBox Modular CMS
Few questions? Are you trying to install the bleeding edge or stable version?

Also, what steps did you follow with CommandBox?
--
--
For News, visit https://www.ortussolutions.com/blog/category/contentbox-cms
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/CONTENTBOX
---
You received this message because you are subscribed to the Google Groups "ContentBox Modular CMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to contentbox+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/contentbox/c6caaa06-2134-4377-a4f4-ea3ba14c9851n%40googlegroups.com.

Don Li

未读,
2020年10月5日 12:18:162020/10/5
收件人 conte...@googlegroups.com

1)
CommandBox:commandbox-win-5.1.1> server list
Processing (1) servers, please wait...

commandbox-win-5.1.1 (stopped)
  http://127.0.0.1:56821
  CF Engine: lucee 5.3.6+61
  Webroot: C:\Users\dli\Downloads\commandbox-win-5.1.1\
  Last Started: 02-Oct-2020 17:05:52

2) dir
Oct 03,2020  16:10:50              <DIR>   cbsite/
Sep 23,2020  18:09:49              <DIR>   coldbox/
Oct 02,2020  17:10:33              <DIR>   config/
Oct 02,2020  17:10:33              <DIR>   handlers/
Sep 23,2020  18:09:44              <DIR>   includes/
Sep 23,2020  18:09:44              <DIR>   interceptors/
Oct 02,2020  17:10:33              <DIR>   layouts/
Oct 02,2020  17:10:33              <DIR>   lib/
Sep 23,2020  18:09:44              <DIR>   models/
Oct 03,2020  12:10:08              <DIR>   myapp/
Oct 02,2020  17:10:02              <DIR>   SimpleBlog/
Sep 23,2020  18:09:55              <DIR>   testbox/
Oct 02,2020  17:10:33              <DIR>   tests/
Oct 02,2020  17:10:33              <DIR>   views/
Sep 25,2019  14:09:22             0.9 KB   .cfconfig.json
May 05,2020  11:05:50             2.4 KB   .cfformat.json
Jul 31,2018  15:07:42             1.6 KB   .cflintrc
Jul 31,2018  15:07:42             0.3 KB   .editorconfig
May 27,2020  17:05:40             0.5 KB   .env
May 27,2020  17:05:40             0.5 KB   .env.example
Jul 21,2020  17:07:38             1.9 KB   Application.cfc
Jun 01,2020  13:06:14            89.0 MB   box.exe
Sep 23,2020  18:09:02             0.7 KB   box.json
May 27,2020  17:05:40             0.5 KB   env.example
Oct 01,2018  15:10:28             1.1 KB   favicon.ico
Sep 24,2019  08:09:32             0.4 KB   index.cfm
Sep 24,2019  16:09:04             0.7 KB   readme.md
Sep 24,2019  08:09:32             0.5 KB   robots.txt
Oct 03,2020  15:10:24             0.1 KB   server.json

// note "cbsite"
// was created by me yesterday via "mkdir cbsite" and contentbox was installed there

3) CommandBox:commandbox-win-5.1.1> cd cbsite
C:\Users\dli\Downloads\commandbox-win-5.1.1\cbsite\

4) server start

5) see screenshot
for datasource created tab, it bombed out. fyi, "contentbox" ds has already been created via lucee admin. 
err msg: see screenshot

image.png

Thanks.

Don

(Don) Chunshen Li
Roanoke, Virginia




Luis Majano

未读,
2020年10月5日 12:37:132020/10/5
收件人 conte...@googlegroups.com
This doesn’t tell me which command you use to install ContentBox still?
err msg: see screenshot

Don Li

未读,
2020年10月5日 12:47:402020/10/5
收件人 conte...@googlegroups.com
" install contentbox-installer" per https://contentbox.ortusbooks.com/getting-started/installation/commandbox-installation
I did it yesterday after the command of creating a new folder named "cbsite" and cd to that folder, "mkdir cbsite --cd"
  



Don Li

未读,
2020年10月5日 17:33:442020/10/5
收件人 ContentBox Modular CMS
Here's the content of the "runtime.template" under "config" directory,  not sure if it stands in the way.  Also, contentbox seems failed to identify existing datasources under Lucee installation.

# Driver only used by ACF11+
DB_DRIVER=MySQL5
# Type is only used by Lucee instead of Driver
DB_TYPE=mysql

# Connection String or URL in ACF terms
# DB_CLASS=org.gjt.mm.mysql.Driver
# DB_CONNECTIONSTRING=jdbc:mysql://localhost:3306/ortussolutions?useUnicode=true&characterEncoding=UTF-8&useLegacyDatetimeCode=true

# Database Connection + Credentials
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=contentbox
DB_USERNAME=root
DB_PASSWORD=mysql

# Enable Session Storage or not: Lucee Only
DB_STORAGE=false

Luis Majano

未读,
2020年10月7日 09:36:142020/10/7
收件人 ContentBox Modular CMS
I am revising all your steps, because I cannot replicate it locally. 

So can you do me a favor, you say that it errors when you go to `/Index.cfm/cbinstaller`.  Can you paste the exception, because, I cannot see any error stack trace anywhere.

Don Li

未读,
2020年10月7日 12:13:392020/10/7
收件人 conte...@googlegroups.com
As mentioned earlier, at some point, it mysteriously continued the installation to the point of "  `/Index.cfm/cbinstaller`  " error.
But, currently, once server is started "server start" and consequently launched a web browser, it asked for datasource,  at URL,
Since a datasource of "contentbox" for both "admin" role and "web" role has been created I used the "datasourc already created" option and attempted to feed the installer with "contentbox",however, it is unable to find the Lucee datasource ( err msg has been posted earlier ).

when you say "cannot replicate it locally.", was it your local computer a windows 10 running Lucee5.3.x?
 
Don

(Don) Chunshen Li



Luis Majano

未读,
2020年10月7日 15:30:232020/10/7
收件人 conte...@googlegroups.com
Yes, on my windows 10 machine.

However, you still have not responded my question.


As mentioned earlier, at some point, it mysteriously continued the installation to the point of "  `/Index.cfm/cbinstaller`  " error.

What error? Where is the stack trace on that error? I don’t know what error means? Can you make sure you send us the full exception here, because that’s the only way I can track things :)

If the installer fails then the dns creator will repeat itself because you the installer is the one that removes the dns creator.

Don Li

未读,
2020年10月7日 15:43:052020/10/7
收件人 conte...@googlegroups.com
WHAT ARE YOU TALKING ABOUT "NOT RESPONDING TO YOUR QUESTION"?


THAT "/Index.cfm/cbinstaller`  " error." CANNOT be reproduced because it bombed out at datasource verification process ( see screenshot posted previously ) as CLEARLY indicated in previous message.  It really SUCKS with a LOUSY ATTITUDE!    


--
--
For News, visit https://www.ortussolutions.com/blog/category/contentbox-cms
For Bug Reports, visit https://ortussolutions.atlassian.net/browse/CONTENTBOX
---
You received this message because you are subscribed to the Google Groups "ContentBox Modular CMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to contentbox+...@googlegroups.com.

andreas

未读,
2020年10月7日 15:56:182020/10/7
收件人 conte...@googlegroups.com
Hi Don, if your running "server start", you are running Lucee within the inbuilt CommandBox server, not your C:/Lucee. Use the CommandBox Lucee icon in the right corner of your windows desktop task bar that will appear when CommandBox starts its Lucee instance. There you'll finde how to access the Lucee Server Administrator of your running CommandBox Lucee instance. You need to set the datasource in that Server Administrator, not in the other.

Good luck, andreas

Luis Majano

未读,
2020年10月7日 18:58:272020/10/7
收件人 conte...@googlegroups.com
Hi Don. 

First of all, Remember that this is totally free and open source support.

Second of all, text does not transmit emotions. So please don’t read into things that don’t exist.  

Thirdly, we devote all of our time to help and assist for many years now in the best of our capacity. Our team has been fully into helping and assisting developers now for more than 14 years.  So If I am asking for something, it is because I cannot replicate and cannot fully understand the issue.

So if I have no stack trace or an actual exception that can be trackable, I cannot reproduce or even figure out what went wrong with your installation.

I would suggest you start fresh and even do a screencast so I can visualize what happens.  Because, so far, I cannot address or replicate or even begin to see where the problem lies.

Happy to serve!
回复全部
回复作者
转发
0 个新帖子