Problem Uploading Themes

I have a problem when I want to upload the theme. Here are the details:


Likewise, when I’m writing a post, there’s always a notification like this:

Check your logs, and file and folder permissions using ghost doctor.

1 Like

this my logs check:

This is the output from ghost doctor. Please stop Ghost and re-run, and also check the logs, which are located in the Ghost folder.

1 Like

I am sorry. Is this what you mean?

[ghost-anwarsafii (14)] [beritawa@champagne ghost-anwarsafii]$ ghost stop

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org


✔ Stopping Ghost: ghost-local
[ghost-anwarsafii (14)] [beritawa@champagne ghost-anwarsafii]$ ghost run

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org

The `ghost run` command is used by the configured Ghost process manager and for debugging. If you're not running this to debug something, you should run `ghost start` instead.
[2023-03-17 10:24:23] INFO Ghost is running in development...
[2023-03-17 10:24:23] INFO Listening on: 127.0.0.1:2368
[2023-03-17 10:24:23] INFO Url configured as: https://anwarsafii.dev/
[2023-03-17 10:24:23] INFO Ctrl+C to shut down
[2023-03-17 10:24:23] INFO Ghost server started in 4.655s
[2023-03-17 10:24:24] INFO Database is in a ready state.
[2023-03-17 10:24:24] INFO Ghost database ready in 5.692s
[2023-03-17 10:24:34] INFO Ghost URL Service Ready in 15.512s
[2023-03-17 10:24:34] INFO Adding offloaded job to the queue
[2023-03-17 10:24:34] INFO Scheduling job clean-expired-comped at 11 45 3 * * *. Next run on: Sat Mar 18 2023 03:45:11 GMT+0000 (Greenwich Mean Time)
[2023-03-17 10:24:34] INFO Adding offloaded job to the queue
[2023-03-17 10:24:34] INFO Scheduling job clean-tokens at 20 9 13 * * *. Next run on: Fri Mar 17 2023 13:09:20 GMT+0000 (Greenwich Mean Time)
[2023-03-17 10:24:34] INFO Ghost booted in 15.674s
[2023-03-17 10:24:34] INFO Adding offloaded job to the queue
[2023-03-17 10:24:34] INFO Scheduling job update-check at 26 2 8 * * *. Next run on: Sat Mar 18 2023 08:02:26 GMT+0000 (Greenwich Mean Time)
[2023-03-17 10:24:34] INFO Running milestone emails job on Sat Mar 18 2023 10:24:34 GMT+0000 (Greenwich MeanTime)

The logs are located in the content folder.

Please run ghost doctor with Ghost stopped.

Incidentally, you’re using development mode. Is this intentional?

1 Like

for development mode, i just followed a tutorial. Do I have to change it to production mode?

[ghost-anwarsafii (14)] [beritawa@champagne ghost-anwarsafii]$ cd content
[ghost-anwarsafii (14)] [beritawa@champagne content]$ ghost doctor

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org


Working directory is not a recognisable Ghost installation.
Run `ghost doctor` again within a folder where Ghost was installed with Ghost-CLI.
[ghost-anwarsafii (14)] [beritawa@champagne content]$ ghost stop

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org



Ghost is already stopped! For more information, run:

    ghost ls

[ghost-anwarsafii (14)] [beritawa@champagne content]$ ghost ls

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org


┌─────────────┬────────────────────┬─────────┬─────────┬─────┬──────┬─────────────────┐
│ Name        │ Location           │ Version │ Status  │ URL │ Port │ Process Manager │
├─────────────┼────────────────────┼─────────┼─────────┼─────┼──────┼─────────────────┤
│ ghost-local │ ~/ghost-anwarsafii │ 5.38.0  │ stopped │ n/a │ n/a  │ n/a             │
└─────────────┴────────────────────┴─────────┴─────────┴─────┴──────┴─────────────────┘
[ghost-anwarsafii (14)] [beritawa@champagne content]$ ghost doctor

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org


Working directory is not a recognisable Ghost installation.
Run `ghost doctor` again within a folder where Ghost was installed with Ghost-CLI.
[ghost-anwarsafii (14)] [beritawa@champagne content]$ cd ..
[ghost-anwarsafii (14)] [beritawa@champagne ghost-anwarsafii]$ ghost doctor

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org


✔ Checking system Node.js version - found v14.20.1
ℹ Ensuring user is not logged in as ghost user [skipped]
ℹ Checking if logged in user is directory owner [skipped]
✔ Checking current folder permissions
✔ Validating config
✔ Checking memory availability
✔ Checking binary dependencies
✔ Checking free space
[ghost-anwarsafii (14)] [beritawa@champagne ghost-anwarsafii]$

Only you can answer this. I don’t know the purpose of the installation.

You need to run ghost doctor in the folder Ghost is installed.

[ghost-anwarsafii (14)] [beritawa@champagne ghost-anwarsafii]$ ghost doctor

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org


✔ Checking system Node.js version - found v14.20.1
ℹ Ensuring user is not logged in as ghost user [skipped]
ℹ Checking if logged in user is directory owner [skipped]
✔ Checking current folder permissions
✖ Validating config
✔ Checking memory availability
✔ Checking binary dependencies
✔ Checking free space
One or more errors occurred.

1) Validating config

Error detected in the development configuration.

Message: Port '2368' is in use.
Configuration Key(s): server.port
Current Value(s): 2368

Help: Run `ghost config <key> <new value>` for each key to fix the issue.


Debug Information:
    OS: unknown, vunknown
    Node Version: v14.20.1
    Ghost Version: 5.38.0
    Ghost-CLI Version: 1.24.0
    Environment: development
    Command: 'ghost doctor'

Try running ghost doctor to check your system for known issues.

You can always refer to https://ghost.org/docs/ghost-cli/ for troubleshooting.

Well, there you have it! Your configuration is broken. Please share config.development.json, and if you’re using Nginx, the config for that, too.

still not working. Even after the config checklist

[ghost-anwarsafii (14)] [beritawa@champagne ghost-anwarsafii]$ ghost doctor

Love open source? We’re hiring JavaScript Engineers to work on Ghost full-time.
https://careers.ghost.org


✔ Checking system Node.js version - found v14.21.2
ℹ Ensuring user is not logged in as ghost user [skipped]
ℹ Checking if logged in user is directory owner [skipped]
✔ Checking current folder permissions
✔ Validating config
✔ Checking memory availability
✔ Checking binary dependencies
✔ Checking free space

Please provide the information I requested. Thanks.

1 Like

Thanks for all the replies. The solution is resolved by reinstalling ghost.