Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic Aurora Files

 AfterLogic Forum : AfterLogic Aurora Files
Subject Topic: Manual installation Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
bnoeafk
Newbie
Newbie
Avatar

Joined: 23 February 2022
Location: United States
Online Status: Offline
Posts: 9
Posted: 17 March 2022 at 6:44am | IP Logged Quote bnoeafk

Based on a couple of experiences I'm encountering, I wanted to ensure that I had a clean version of Aurora Files, so am installing a VM from scratch. Using the installation page I'm following the notes precisely, but there appears to be a couple of errors/omissions that I'd like clarification upon.


1. In #4 the "vue" subfolder doesn't exist (modules/AdminPanelWebclient/vue) so I've just run the npm install commands in the AdminPanelWebclient folder. Is this OK?

2. In #5 (noting in #4 the "vue" folder in non-existant) npm install build-production fails as the script itself is missing. How do I get past this stage?

The log file is as follows:
0 verbose cli [
0 verbose cli   '/home/vroot/.nvm/versions/node/v16.14.1/bin/node',
0 verbose cli   '/home/vroot/.nvm/versions/node/v16.14.1/bin/npm',
0 verbose cli   'run',
0 verbose cli   'build-production'
0 verbose cli ]
1 info using npm@8.5.0
2 info using node@v16.14.1
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 2ms
5 timing config:load:file:/home/vroot/.nvm/versions/node/v16.14.1/lib/node_modules/npm/npmrc Completed in 14ms
6 timing config:load:builtin Completed in 14ms
7 timing config:load:cli Completed in 1ms
8 timing config:load:env Completed in 0ms
9 timing config:load:file:/opt/aurora-files/aurora-files-latest/.npmrc Completed in 0ms
10 timing config:load:project Completed in 11ms
11 timing config:load:file:/home/vroot/.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:/home/vroot/.nvm/versions/node/v16.14.1/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 1ms
16 timing config:load:credentials Completed in 1ms
17 timing config:load:setEnvs Completed in 1ms
18 timing config:load Completed in 33ms
19 timing npm:load:configload Completed in 33ms
20 timing npm:load:setTitle Completed in 0ms
21 timing config:load:flatten Completed in 3ms
22 timing npm:load:display Completed in 6ms
23 verbose logfile /home/vroot/.npm/_logs/2022-03-17T13_10_44_059Z-debug-0.log
24 timing npm:load:logFile Completed in 5ms
25 timing npm:load:timers Completed in 0ms
26 timing npm:load:configScope Completed in 0ms
27 timing npm:load Completed in 45ms
28 timing command:run Completed in 11ms
29 verbose stack Error: Missing script: "build-production"
29 verbose stack
29 verbose stack To see a list of scripts, run:
29 verbose stack   npm run
29 verbose stack     at RunScript.run (/home/vroot/.nvm/versions/node/v16.14.1/lib/node_modules/npm/lib/commands/run-script.js:95:13)
29 verbose stack     at async module.exports (/home/vroot/.nvm/versions/node/v16.14.1/lib/node_modules/npm/lib/cli.js:66:5)
30 verbose cwd /opt/aurora-files/aurora-files-latest/modules/AdminPanelWebclient
31 verbose Linux 4.15.0-171-generic
32 verbose argv "/home/vroot/.nvm/versions/node/v16.14.1/bin/node" "/home/vroot/.nvm/versions/node/v16.14.1/bin/npm" "run" "build-pro
duction"
33 verbose node v16.14.1
34 verbose npm v8.5.0
35 error Missing script: "build-production"
35 error
35 error To see a list of scripts, run:
35 error   npm run
36 verbose exit 1
37 timing npm Completed in 594ms
38 verbose code 1
39 error A complete log of this run can be found in:
39 error     /home/vroot/.npm/_logs/2022-03-17T13_10_44_059Z-debug-0.log


My entire build script is as follows:
sudo apt install -y php8.0-mysql php8.0-curl php8.0-dom
sudo apt install -y git unzip
sudo mkdir -p /opt/aurora-files
sudo chown -R $USER /opt/aurora-files
cd /opt/aurora-files
curl -L https://github.com/afterlogic/aurora-files/archive/latest.zip -o latest.zip
unzip latest.zip
cd aurora-files-latest
curl -L https://getcomposer.org/composer.phar -o composer.phar
php composer.phar update
php composer.phar install
#Install Node and npm
cd
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
#logout and then login again
nvm install 16
nvm use 16 #(not actually required unless other versions of Node have been installed)
cd /opt/aurora-files/aurora-files-latest
npm install
If an update is available, consider using it (npm install -g npm@8.5.4)
npm install --global gulp-cli
cd modules/AdminPanelWebclient
npm install
npm install -g @quasar/cli
cd /opt/aurora-files/aurora-files-latest
gulp styles --themes Default,Funny,DeepForest,Sand
gulp js:min
cd modules/AdminPanelWebclient
npm run build-production #ERROR


I also note that within the README.md, the npm run build-production isn't even listed
Back to Top View bnoeafk's Profile Search for other posts by bnoeafk
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 17 March 2022 at 7:05am | IP Logged Quote Igor

Hello,

I've checked this and found out where the issue came from. The instructions refer to https://github.com/afterlogic/aurora-files/archive/latest.zip file which wasn't updated for some time. I've just updated the tag, the package should be up-to-date now.

Note that the latest complete build of the product package is always available at:

https://afterlogic.org/download/aurora-files.zip

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
jaenab
Newbie
Newbie
Avatar

Joined: 01 April 2022
Location: Indonesia
Online Status: Offline
Posts: 2
Posted: 02 April 2022 at 5:44am | IP Logged Quote jaenab

Igor wrote:
Hello,

I've checked this and found out where the issue came from. The instructions refer to https://github.com/afterlogic/aurora-files/archive/latest.zip file which wasn't updated for some time. I've just updated the tag, the package should be up-to-date now.

Note that the latest complete build of the product package is always available at:

https://afterlogic.org/download/aurora-files.zip

--
Regards,
Igor, Afterlogic Support




for windows user after extract https://afterlogic.org/download/aurora-files.zip
what else we must to do for installation ?
Back to Top View jaenab's Profile Search for other posts by jaenab
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 04 April 2022 at 12:06am | IP Logged Quote Igor

If you install the product from a standard package, you can find the installation instructions here. Basically, you just need to login with superadmin user and empty password, configure database access and you should be good to go.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide