Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Context Sensitive Group
freedombone
Commits
8803eb6e
Commit
8803eb6e
authored
7 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Missing slash
parent
581cb74e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/freedombone-app-nextcloud
+9
-2
9 additions, 2 deletions
src/freedombone-app-nextcloud
src/freedombone-utils-web
+1
-1
1 addition, 1 deletion
src/freedombone-utils-web
with
10 additions
and
3 deletions
src/freedombone-app-nextcloud
+
9
−
2
View file @
8803eb6e
...
...
@@ -601,10 +601,17 @@ function install_nextcloud_main {
${
PROJECT_NAME
}
-pass
-u
$MY_USERNAME
-a
nextcloud
-p
"
$NEXTCLOUD_ADMIN_PASSWORD
"
cd
/var/www/
${
NEXTCLOUD_DOMAIN_NAME
}
/htdocs
chown
-R
www-data:www-data config
chown
-R
www-data:www-data data
if
[
-d
config
]
;
then
chown
-R
www-data:www-data config
fi
if
[
-d
data
]
;
then
chown
-R
www-data:www-data data
fi
chmod
+x occ
./occ maintenance:install
--database-name
nextcloud
--admin-user
${
MY_USERNAME
}
--admin-pass
"
${
NEXTCLOUD_ADMIN_PASSWORD
}
"
--database
mysql
--database-user
root
--database-pass
"
${
MARIADB_PASSWORD
}
"
chown
-R
www-data:www-data config
chown
-R
www-data:www-data data
./occ check
./occ status
./occ app:list
...
...
This diff is collapsed.
Click to expand it.
src/freedombone-utils-web
+
1
−
1
View file @
8803eb6e
...
...
@@ -403,7 +403,7 @@ function letsencrypt_renewals {
function
configure_php
{
sed
-i
"s/memory_limit = 128M/memory_limit =
${
MAX_PHP_MEMORY
}
M/g"
/etc/php/7.0/fpm/php.ini
sed
-i
's/;cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g'
/etc/php/7.0/fpm/php.ini
sed
-i
"s/memory_limit = -1/memory_limit =
${
MAX_PHP_MEMORY
}
M/g"
/etc/php7.0/cli/php.ini
sed
-i
"s/memory_limit = -1/memory_limit =
${
MAX_PHP_MEMORY
}
M/g"
/etc/php
/
7.0/cli/php.ini
sed
-i
"s/upload_max_filesize = 2M/upload_max_filesize = 50M/g"
/etc/php/7.0/fpm/php.ini
sed
-i
"s/post_max_size = 8M/post_max_size = 50M/g"
/etc/php/7.0/fpm/php.ini
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment